Archive

Archive for the ‘Programming’ Category

Comeback

September 8, 2013 Leave a comment

Hello everybody

After a year, I will post a text again. This blog was started around a year ago to make a breakthrough to the business world. Yet I was quite busy, sometimes lazy and afterwards the priorities shifted far from this blog. In the mean time I settled nicely in Switzerland, living, working in IT, specifically electronic financial transactions (EFT). I am also trying to enjoy life. Life is good ūüôā

However, the fall is slowly coming, with it also short days, bad weather and similar. It is because of this that I want to renew the writings. The equipment ordered last year was still waiting for me, it even grew some, so I decided to start working on a project. Unfortunately only after I assembled the hardware together I decided to post the project details here. Because of this there is not steps of what but just the assembled piece. Still, I will try to catch every next step (mostly SW build), here.

Ok, let’s get down to business.

I am making a very simple remote-controlled car with a BT remote controller. The remote is going to be an android user interface on a phone. I want to also use the gyroscope and accelerator chip, to make it working. I have available 2 different car models, firs is a simple remote-controlled car with two servo motors. I am also using an Atmel atmega32L as the brain of operation (Check the post from last year). After the software on the car is done I am going to try to make a user interface application to control the car.

Image
Image

Finally I am going to transfer everything to a bigger car with a brush-less motor, more power, more speed. I am going to include to the new car its own GPS receiver its own Gyro for stability. It is going to be powered by Atmel128L or even Netduino with its ARM processor (never tried C# in embedded programming). I hope I can manage to finish the projects until new year.

Image

This week I am going to put some more effort, later on I will work on rainy, grey, cloudy days. I hope I can make it. Wish me luck, the ones that actually managed to read my texts :).

In the next post I am going to describe a detailed use of hardware + publish some software, that will be written till then.

Cheers

Advertisements

First Atmel-BT app

August 31, 2012 Leave a comment

Hello everybody
First I would like to mention I still decided for Atmel128A as I like the low level, register mashing, fuse setting style better. It seems more real, more man :).  As i stil suffer from an actual Arduino phone, I connected the atmel to the computer. Now I started to use Eclipse with AVR plugin, which I like much more than the official Atmel Studio (4 and 6).

So, the idea. Microcontroler is has a servo that needs to be controlled wirelessly. For this cause I made a a very simple application on the PC  with some help of C# and WPF :). The app establishes a connection over a  bluetooth serial port and communicates with Atmel. So when I press the button left the servo goes left and when I press right the servo goes right. I shot a simple video to demonstrate. Later I am going to skectch the circuit and post some source.

Categories: Micro, Programming

The equipment has arrived!!

August 24, 2012 Leave a comment

Finally, all the equipment that I wanted arrived. I waited much more than I expected, as it took to bring me the Atmel128 almost a month. Usually the stuff from China and HK came in a week or 10 days. But ok, its here. The list of new stuff that I have goes as follows:

  • Atmel Atmega128A¬†Micro controller¬†from LC studio (LCSsoft). Using also AVR studio 4 or 6,¬†didn’t¬†decide yet.
  • Wireless¬†Bluetooth¬†TTL¬†transceiver¬†Module (¬†RF-BT0417C)
  • USBASP programmator
  • USB to TTL converter
  • A small simple breadboard
  • A soldering machine with different irons
  • A lot of cables for assembling
  • Shrink tubes
  • Digital multimeter

Still missing, but it can wait:

  • Netduino microcontroller (www.netduino.com), bought it just because I was anxious to see how this works
  • Another 2 Wireless Bluetooth transceivers
  • Android phone like HTC Desire or similar

Goal is to make an Wireless controlled model car(boat, even plane or chopper), steered simply by   integrated magnetomer on Android phone. The micro controller programming I can do, mobile apps, not yet, but working on that too ;).  I know these stuff exist already, but sowhere I have to start, and this here is it.

Yesterday I already soldered the cables to Bluetooth, (TX and RX, as well as VCC and GND). I know it doesnt look preety, but it works. I used this solder yesterday for the first time so I will need some time to get used to that. Today, when the rest of the equipment arrived, I tested the BT over USB to TTL converter and it worked perfectly from the beginning! Yeah, the first time something like this ever happened to me.

The next step is to connect the micro-controller with the computer and try to communicate.  As I am still making the Live Casino project I have to focus some time today on this too.

Till next time!

Matija

Edit: Later today, somehow, even the Netduino came. Now I can still decide weather I want to do my project in plain C or in a higher OOP C#. As I have some (alot) of code already written in C I think this could be it. Maybe I should first do the differences between Atmel Atmega and Atmel ARM (NetDuino). And then also C and C#. Ah, I will see.

Categories: Micro, Programming