week 7: embedded programming


The assignment required to read a microcontroller datasheet and program the hello echo board made in Week6: Electronic Design and make it do something. In our case, we decided to stick to the tutorial where the LED glows always and stops glowing on pressing the button. I had to install the FTDI Drivers and the ATtiny board files before programming. I did the whole method in Windows OS. I used this tutorial for the installation on Windows: https://learn.sparkfun.com/tutorials/how-to-install-ftdi-drivers/windows---quick-and-easy

The drivers were successfully loaded.

Next, finding the attiny files was difficult, but I managed to locate them on the High-Low Tech blog. http://highlowtech.org/?p=1695

Next, the arduino was launched. Board was set to ATtiny 44 (20 Mhz) and Programmer to USBtiny

The Booloader was burnt and thankfully, it was done successfully

Now, the sample code was modified so that the pin out numbers and the Arduino code numbers matched.

The code was uploaded.

It works! The board only stops glowing when the button is now pressed.