Embedded Programming

The assignment for this week is to read a microcontroller data sheet and to program the echo hello-world board to do something, in as many different programming languages and programming environments as possible.

The Eagle design

Two weeks ago we add a button and a led to the echo hello-world board, so I connected the button to the port pin PA7 and the led with his resistor to port pin PA3.

Processors' Architecture and Atmel AVR Microcontrollers

The AVR is a modified Harvard architecture 8-bit RISC single chip microntroller. The AVR was one of the first microcontroller families to use on-chip flash memory for program storage, as opposed to one-time ROM, EPROM or EEPROM used by other microcontrollers at the time. The table below compares some AVR devices.


I programmed the echo Hello-world using Arduino IDE and AVR Studio environments, for this was very helpfull the following tutorials http://academy.cba.mit.edu/2012/labs/providence/tutorials/09.html and http://fab.cba.mit.edu/classes/MAS.863/people/prashant.patil/ep.html.

Following the tutorial for programming with Arduino, we have to:


Programming with AVR Studio

Final comments

This has been a great assignment, very useful for my final project, I"ll be waiting for the "Input devices" lesson.

I must thanks also the great work of my partners Felix, which got a lot of information about the assignment and Henry which milled several boards to test different locations for the button and the led at the microcontroller ports' pins.