WEEK 8 / Mar 15

Embedded programming

Assignment

 

read a micro-controller data sheet

program your board to do something, with as many different programming languages and programming environments as possible

 

Project description

For this project I used the board from week 6 that has an LED, a push button and an ATTINY84.

After reading the ATTINY84 data-sheet and understanding how the I/O ports work and how to connect the programmer to the board from week 6.

 

CONNECTING THE ISP PINS WITH THE PROGRAMMER

You need to identity

We need to match all the PINS

Programming with Atmel Studio

BLINKING TEST @100

Testing communication

Para subir con un compilador

Utilizaremos AVR Dude

Terminal

CD DEsktop

Avrdude -p t44 (Atiny44) -c usbasp -v

Send and is working

Sreenshot

As I have a MAC I borrowed professor Oliver’s PC :) and used the CMD for the AVRdude

Testing for errors

When I was testing I noticed that the ground of the programmer and the board were not connected to each other so that is why the first attempt failed

Avrdude -p t44 -c usbasp -U flash:w:oscar1.hex

 

Installing ATTINY84-44 on Arduino

You need to go to “preferences”  (Press CMD Space)

Go to: Additional boards Manager Url: http://drazzy.com/package_drazzy.com_index.json

ArduinoOnOtherAtmelChips: http://playground.arduino.cc/Main/ArduinoOnOtherAtmelChips

 

Programming with Arduino Desktop

C embedded Code

 

Oscar Velázquez