Description: The ATtiny45 and 85 are a couple of really cool little MCUs but did you know you can program them in Arduino? That’s right, now you can shrink your Arduino projects down to “tiny size” by moving your code straight over to these small but capable ICs. The standard method for programming the ATtiny ICs involves a breadboard, lots of jumper wires and a hardware programmer, but David Mellis over at MIT Media Lab has simplified the process by laying out this handy USB programmer.
The Tiny AVR Programmer plugs directly into your USB port and provides a programming socket for the ATTiny45 and 85. Just slot an ATtiny into the socket, plug the programmer into your USB port and start up the Arduino IDE. After installing the proper board definitions, you simply program it the same way you would any other Arduino board. The programmer even breaks out the IC pins to female headers so you can easily prototype around the ATtiny without pulling and plugging it over and over. There are two ISP headers that have also been broken out so you can use the programmer of solder in a 6-pin header for other AVR microcontrollers!
Note: You’ll need to install the USBTinyISP drivers if you don’t have them yet, you can find them in the documents below!
Based on 25 ratings:
2 of 2 found this helpful:
Super handy. Buy a chip extractor to go with it.
If you want to program an ATTiny84 with this, here are the pin connections:
ATTiny84 ---> Tiny Programmer 1 ---> + 14 ---> -- (minus sign) 4 ---> (unlabeled) 7 ---> 0 8 ---> 1 9 ---> 2
( find more info here )
1 of 1 found this helpful:
I wish this came assembled and in an enclosure. One small bump and the USB connector is likely be easily ripped off.
Hardware: Great simple programmer with plenty of options! The female headers hold jumpers quite well. Nice that other programming pin options are offered. Good form factor: won’t hog USB space from another port next to it and fairly sturdy (with no intermittent connection issues).
Software - Drivers: I know that the drivers aren’t the product, but without them the product doesn’t function. First, is anyone else using Chrome getting a security error when trying to download the drivers? I keep getting the red danger page stating “The site ahead contains harmful programs. Attackers on cdn.sparkfun.com might attempt to trick you into installing programs that harm your browsing experience (for example, by changing your homepage or showing extra ads on sites you visit).” I know Sparkfun isn’t evil, so I just used another browser to remedy this. Now my homepage is Sparkfun.com….jk. Drivers work with Arduino 1.6.1 (with Tiny add-on) and Win7.
Software - Arduino: There are frequency options for the Tiny85, but changing from the 1MHz internal clock does nothing. I tried using the 8MHz internal even when the Tiny AVR Guide warns me that things will slow down. It seems that the scaling settings for correct timing get changed but not the clock selection or prescaler. I’ve checked a few things to verify the clock not changing. Might have to dig in to figure out clock selection or directly write to the clock registers.
I had used Arduino to program the tiny one but since I used this Tiny AVR programmer, it makes my live more easier. Thanks Sparkfun for having this product
I believe the update screws up the tiny avr process.. I had my attinys working.. updated to the new one… now they dont work.. Back to the previous one and it is back on… KNowing my newbieness…it is probably just me but still the error is
Arduino: 1.6.1 (Windows 7), Board: “ATtiny85 (internal 8 MHz clock)”
Selected board depends on ‘arduino’ core (not installed).
This report would have more information with “Show verbose output during compilation” enabled in File > Preferences.
so I guess for now Ill stick with the previous version…
FIX: The links to the drivers are for an old Adafruit code base. The folk over at Adafruit have a signed Windows 8 - 10 driver on their site; https://learn.adafruit.com/usbtinyisp/download
It works and is verified with the 64 bit Windows 8 / 10
The AVR programmer is simple and easy to use. The price seems a tad high for what it is but it works and it works well.
This is a very handy programmer. Works great for general ISP programming as well. One drawback on the design are the female header pins for prototyping. They are of the machined type headers and components or wires do not hold very well in them. So they are mostly useless for prototyping. They should have been female header like they use on the Arduino boards.
Hi, Thanks for the feedback. I would like to see this revised to run standard female headers as well. I will share your feedback with the engineers for the next time this gets a revision. Thank you
This seems to work flawlessly, even when I have a hard time getting my other programmers to “play nice” with the ATTiny85.
As this was going to be my first time dabbling into AVRs, I didn’t want something that required too much wiring. This little guy does the trick. The instructions and support given here made it well worth the money over cheaper solutions.
Getting it to work with Windows 8.1 is a pain, what with having to boot windows into a non-signed driver mode, but other than that minor, infrequent annoyance, this has been a pleasure!
This tool just works!! One caveat I found relative to I2c: If you leave the ATTiny85 plugged into the board while trying to debug I2C, the board holds the SDA signal on Pin 5 HIGH during the acknowledge clock cycle which results in not being able to detect an Acknowledge (LOW) from a slave device. The SDA pin during the acknowledge clock cycle is configured as an Input. The ATTiny85 worked just fine when removed from the programmer.
Greetings from Germany. I bought this item and it arrived in Cologne in less then 2 weeks, great! I used the shipping time to prepare my Arduino IDE and alter the blink-sketch, so when the programmer arrived, I put it into the USB-Port, installed the drivers, one click and the LED startet blinking. You get what you see and it does what it should do, so there is no reason to grumble. Nevertheless I wonder why did they not solder in the pins for the ISP-headers. I think it would not rise the price that much and would prevent me from messing around with the valuable PCB. Driver-installation on win 8 is really a pain in the … Here in german language: Treiberinstallation für deutsches win 8.1: win-Taste+C: öffnet Charms-Menue (rechte Seite) - EInstellungen - PC-Einstellungen ändern - Update/Wiederherstellung - Wiederherstellung - Jetzt neu starten - Problembehandlung - Erweiterte Optionen - Starteinstellungen - Neustart dann die 7 wählen, der PC startet und endlich kann man die Treiber installieren
DIese Abfolge am besten ausdrucken, damit man sich nicht verirrt.
Tried in vain to get this thing to work on the newest release of arduino. (1.6?) Used the old arduino programmer and it worked. Wish there were better instructions for beginners.
To Member #6938: use the links to the driver on the product page, not the hookup guide (they are different for 64 bit). If that still doesn’t work, try this link (it worked for me): https://mightyohm.com/blog/2010/09/fixed-usbtinyisp-drivers-for-64-bit-windows-7/
I’ve tried to use this programmer with Arduino IDE and I get, “avrdude: verification error, first mismatch is at 0x0080.” The board is set as ATtiny 45, 1 Mhz clock. The programmer is set to USB tiny ISP. I can program the same chips just fine using an Arduino UNO as programmer. Just bought this programmer. Could it be bad out of the box?
Hi, Make sure you follow the directions in the hook up guide, there are some steps and add ons that you must follow to get this operating in the Arduino IDE - https://learn.sparkfun.com/tutorials/tiny-avr-programmer-hookup-guide/?_ga=1.214497687.1851504437.1417041706
Easily programs the attiny 85, both on board or breadboarded, but having difficulties doing a breadboarded 328 using Arduino IDE 1.6.4 following the hookup guide. Will persevere!
Win7 works great, fast easy way to program chips. See ‘comments’ for my photos on adding legs to the socket to help with breadboard and in project usability.
The Tiny AVR Programmer is an excellent device for programming and testing Atmel 8-pin MCUs. It beats Arduino boards which need leads as well as a 10 uF capacitor by lengths… Great work from Sparkfun!
Great little device, does exactly what I wanted, I am very happy with it and the on-line instructions required on getting it going initially.
Works great with my ATtiny85 bought from sparkfun.com. I’m using the Arduino IDE to program the chip. I installed the IDE following the hookup guide also on sparkfun.
This worked as expected. The windows 8 driver issue was a bit of a pain.
Very convenient and easy to use. headers make prototyping simple. The pins on the back make it simple to program other AVRs, just make sure to use right angle pins or it won’t plug into a laptop.
I’m still using Windows XP. The Tiny Programmer works fine with Arduino 1.0.6 but I could not get it to work with Arduino 1.6.1 or 1.6.3 even though I followed the Sparkfun and High Low Tech. tutorials and downloaded the files for 1.6.1.
Every time I attempted to upload a sketch I received the error message “id.exe has encountered a problem and needs to close”.
If anyone has a suggestion, I’ll try it.
Thanks SparkFun for the excellent tutorials for getting started programming attiny chips with this device. Below is a video of some music I programmed to play from the attiny. As a testament to the robustness of the tiny avr programmer, if you look closely you’ll see a crater in the middle of the chip socket. Yep, I put one in backwards and it got quite hot. The chip was toast of course, but the tiny avr programmer still works! (I later ordered a spare programmer given the price is so reasonable).
About 30 seconds long, a little Bach. A link to the C source is on the youtube page.