loading

Using Atmel's little 8 pin AtTiny85 microcontroller as a standalone is a great alternative to the larger 28 pin AtMega328 mounted on an Arduino Uno board. I have switched from one to the other by various means, but what I found easiest was using Sparkfun's Tiny AVR Programmer. Couple that with the AtTiny85 and a supplemental folder dropped into the Arduino IDE, and a no-fuss, versatile, inexpensive programming method is born.

This project was accomplished on a pc with a Windows system; a similar tutorial for Macs (though with less explanation) can be found here:

Link: AtTiny85 with Macs; short tutorial

Step 1: What You Will Need

--A computer/laptop, with knowledge whether it is 32 or 64 bit

--The Sparkfun Tiny AVR Programmer. You can purchase one for under $20 here:

Link: Tiny AVR Programmer

--An Atmel AtTiny85 microcontroller. You can purchase one for under $3 here:

Link: AtTiny85 Microcontroller

--Arduino IDE Software, the AtTiny supplement folder, and the Tiny AVR Programmerdriver, all which can be downloaded for free from the hyperlinks below

<p>Very good Instructable. I like this programmer.</p><p>If you want to run the chip at 8 MHz, after you select the programmer in the Arduino IDE select the &quot;ATtiny85 (internal 8 MHz clock)&quot; options on the Boards menu. Then select &quot;Burn Bootloader&quot; from the Tools menu. This does not actually burn a bootloader, it just sets the fuse bits to clock it at 8 MHz. From this point on you must select the 8 MHz option when programming the ATTiny.</p><p>The instructions provided by Sparkfun do not make this clear.</p>
<p>Great tips, and they are a good addition to the info in this instructable. I love the little red Tiny programmer, too!</p>
<p>Thank you for the instructable. You covered some of the tricky bits (like adding the USB driver for the SprakFun USB programmer. Like JRV31 below, I really like this programmer as well.</p><p>JRV31 also makes a couple very good points about using the &quot;Burn Bootloader&quot; command, if you want to change any of the core settings on the tiny, such as increasing the clock speed (which you must do, if you want to use NeoPixels with an ATtiny85). These were the steepest part of making a Tiny work with my neopixel projects. I wrote up one of them as an instructable, since it was so hard to find those clues in other folks write-ups. I also add many clues in comments in the sketch code, since comments do not count against on-chip memory of your sketch. If your curious, you can find my project at https://www.instructables.com/id/IKEA-Star-With-ATtiny-and-NeoPixels/</p>
<p>Awesome gadget! Thanks for sharing your knowledge, and welcome to instructables!</p>
<p>Thank you!</p>

About This Instructable

9,893views

73favorites

License:

More by attiny85etc:Programming the 'AtTiny85' with the 'Tiny AVR Programmer' and supplemented 'Arduino IDE' 
Add instructable to: