DIY TV-B-Gone SHP (And Save $45)

 by dark sponge
Featured

Step 4: Program the Chip Part 2: Code

The first thing you will want to do is connect the oscillator on the breadboard. Because it is now set to run with one, it has to have one to be programmed with one.

Download the firmware v1.1 from Ladyada.net at http://ladyada.net/media/tvbgone/tvbgone11.zip. This is for their kit, but I used it to program this and it worked. Unzip the folder and find the tvbgone.hex file. Copy this and put in C:\users\username where AVRdude can find it. Now, in AVRdude, type...

avrdude -c usbtiny -p attiny85 -U flash:w:tvbgone.hex

...and wait for it to put the code on the chip. Now let's get building!
 
Remove these adsRemove these ads by Signing Up
TobaTobias says: Mar 13, 2012. 9:43 PM
How would I do this If Im using ArduinoasISP, Do I have to install anything else. I have avrdude, a got the code for arduino as isp.
electfire in reply to TobaTobiasApr 2, 2012. 10:02 PM
Randofo posted good 'ible on how to use an Arduino to program an ATtiny in ISP mode.
http://www.instructables.com/id/Program-an-ATtiny-with-Arduino/
dark sponge (author) in reply to TobaTobiasMar 14, 2012. 2:08 PM
You should not have to install anything else. In AVRdude, use a command such as

avrdude -c avrisp -p insert_part_name -P insert_com_port -b 19200 -U flash:w:filename.hex

I just was browsing the Arduino forums, for more information try http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1277933355
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!