Step 3: Prep for Programming

DSC02774.JPG
If you have a programming board, you can skip this step. If you are using a USBtinyISP or similar, use a breadboard to wire the chip to the proper connections of the programmer. More instructions on how to do this can be found here. The pinout for the chip can be found on the datasheet here.
 
Remove these adsRemove these ads by Signing Up
TobaTobias says: Mar 13, 2012. 9:18 PM
Hi, great project. Do you think I could program the Attiny with Arudino as ISP on my mac?
Michael_Bell in reply to TobaTobiasJun 27, 2012. 10:12 AM
Nevermind I figured it out. You need to change the command abit:

avrdude -c arduino -p t85 -P COM2 -b 19200 -U flash:w:tvbgone.hex

Change the programmer to the Arduino, include the port to whatever port your arduino is on ie com port 2 would we '-P com2', make sure the p is capitalized, and change the baudrate to 19200, The baudrate was the thing that was messing me up
Michael_Bell in reply to TobaTobiasJun 25, 2012. 7:38 PM
sorry for the bump, but have you had any luck with this?
dark sponge (author) in reply to TobaTobiasMar 14, 2012. 2:03 PM
That should be able to work, but I'm not sure. I know it has been done on a PC but I am not very familiar with ISP programming on macs. You might be able to find instructions on a forum somewhere...
evanni10 says: Mar 5, 2011. 2:02 AM
ok so i have the ATtiny85 chip which has the 8kB of memory and im haveing trouble programming it i looked at the layout and was wondering why its not working. its not doing the fuses right it gives me "ifuse" memory type not defined for part "ATtiny85". I have a USBtinyISP V2.0 is it that?
dark sponge (author) in reply to evanni10Mar 12, 2011. 3:32 PM
I don't know. Have you used the USBtinyISP before and confirmed that it works? Also, did you copy the fuse code exactly from the Instructable? I'm sorry I don't have much more info, but I don't use mine very often. You might want to look into using an Arduino as an ISP programmer if you have one, a few Google searches should churn up some good instructions on that.
ericthetechguy says: Dec 30, 2010. 2:41 PM
Hi, I have ordered everything and already put together my USBtinyISP, I have my breadboard and I was wanting to do the exact thing you did, but I do not see any wiring scheme. This is my first time working with making electronics by the way so I'm learning. Please if you can direct me to where I can find the wiring scheme you are using in the picture that would be a lot of help.
dark sponge (author) in reply to ericthetechguyDec 31, 2010. 8:32 AM
Here you go! http://www.evilmadscientist.com/article.php/avrtargetboards It's a link near the end of this step, but I've noticed a lot of people have been missing my imbedded links.
ericthetechguy in reply to dark spongeDec 31, 2010. 10:04 AM
Thanks I ended up figuring it out after I looked over a few websites and looking at your breadboard.
randomnumber32 says: Dec 19, 2010. 9:16 AM
I have an attiny13-20pu microcontroller and I was wondering if I could use that one instead?
Thankyou and also nice idea
n-regen in reply to randomnumber32Dec 20, 2010. 9:45 AM
It won't work, because an ATtiny13 only has 1KB of program memory, while the TV-B-Gone-code needs 8KB.
Also, if you use any other microcontroller than an ATtiny85, you will have to re-compile the code for that particular device before programming the .hex-file into the microcontroller.
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!