Archive

Archive for August, 2012

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.

Advertisements
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

Hello gente :)

August 3, 2012 Leave a comment

Hey!
Apropriatelly, first things first, my name is Matija. I’m from a small little country of Slovenija, which lays on place where east meets west,  and north meets south. I moved recently to Switzerland, as the faith guided me there.

Why did I start to write the blog? Especially for me and myself. I would like to have a journal of my own, diary that shows me where am I, what am I doing and where am I going. This blog will be mostly dedicated to my life and work that I do in a certain moment. My life is currently on a crossroad, as I recently finished formal education and still trying to get the first (real) job.  Since June I am officially an Engineer of Computer and Information science. As I like programming more and more I decided to do some home projects. During the workflow of a certain project I will try to explain it,  document it with pictures and describe how I made it, toghether with source code. Currently I am using VS 2010 for PC applications and AVRS 6.0 for microcontroller applications (which I like more :-)). Beside that I will show you new tricks from my dog and other events from my life. I hope you would enjoy it.

Categories: General