Luis Ernesto Flores Olazo- academy 2014

Embedded Programming

For this assignment I have to program the "echo hello-world board" which I made here. So I'm going to program the board using arduino language and IDE and then using assembler language on AVR-studio.

First We have to download the arduino IDE following this steps, and then download the attiny library here.

Go to documents-arduino and create a new folder called "hardware" and then paste the attiny downloaded folder, after this restart the arduino environment and you will able to see the attiny boards.

Photo 1:Attiny boards on arduino IDE

Dowload the FTDI driver here, and the USBtiny driver for the FabISP here and install.

OK, now lets program the board, on arduino IDE .

Define your input(button)and output(LED) as shown in photo2, you have to put the corresponding pins for your board acording with your design and the equivalents for arduino.

Photo 2: Programming with arduino IDE

Write the code, then conect the FabISP and the LED board as shown in photo 3, after that select the corresponding port and programmer.

Photo 3: Connections

Photo 4:Select port and programmer

Finally enjoy!

I write the same program in assembler and it works well :)

Video

Files

Mediafire

https://www.mediafire.com/folder/t5je6q7r2wrxi/embeddedprog

Github

https://github.com/lefolindo/embeddedprog