This tutorial shows you how to program an ATtiny44A microcontroller on your Hello Button + LED board that we made during the Electronics Design week using Neil's C code to echo back keyboard input.
If you completed the electronics production assignment and programmed your FabISP during week 5 - you should ALREADY HAVE the necessary toolchain. If you missed this week - see the Electronics Production page for how to get the necessary software for your OS.
Download Neil's C code and makefile from the week 9 lessons page, under "host communication".
You will need open terminal and navigate to the location where you saved these files in order for the commands below to work. You must be in the same directory (or provide a path to the file).
sudo make -f hello.ftdi.44.echo.c.make program-usbtiny-fuses
To program your board - open terminal and navigate to where you saved the C code and makefile. Type:
sudo make -f hello.ftdi.44.echo.c.make program-usbtiny
We can use the serial monitor in the Arduino IDE to enter a single character and the hello echo program on your board will store the character and then echo (repeat it back) to the serial monitor. The program will store each character and repeat the series back to you each time.
For details on how to build a fabbed Arduino with more memory and functionality, see:
Make an Arduino for Your Final Project (seperate webpage)
Tutorial by Anna Kaziunas France - Fab Academy AS220 Providence, RI - March 2012