Thursday, 5 September 2013

Programming ATTiny45 using an Arduino Uno

Wiring of the Programmer
The Arduino is programmed using the Arduino IDE and USB with the ArduinoISP sketch from the File Menu located in examples. Remember to choose the correct board and Serial port from the Tools menu, I was using an Uno. You have to set up the Arduino software to be able to program devices like the ATTiny45, I used the http://hlt.media.mit.edu/?p=1695 site to add the support. It was then just a matter of wiring up the Arduino as shown, putting an ATTiny45 in the 8 pin socket selecting the new board ATTiny45 (Internal 1MHz Clock) and programming the device with a sketch I wrote for this particular device.

No comments:

Post a Comment

File resolv.conf changed on reboot

The file /etc/resolv.conf was being reset and losing the correct nameserver on my Raspberry Pi after a reboot. The unfriendly way of fixing ...