Step 2: Step 1: Arduino software, libraries.

1. Download Arduino v1.0
2. Download Arduino v0023
You can get both of these from Arduino.cc

3. Extract both to separate folders on your desktop.

4. Download and install the TM1638/TM1640 library from here:

5. Place it with your other arduino libraries **ON ARDUINO v1.0**
Google if you do not know how to install a Arduino library.

6. Install ATtiny45 / ATtiny85 support in **Arduino v0023**

   - Download: attiny45_85.zip

   - Locate your Arduino sketchbook folder (you can find its location in the preferences dialog in the Arduino software)
   - Create a new sub-folder called “hardware” in the sketchbook folder.
   - Copy the attiny45_85 folder from the attiny45_85.zip to the hardware folder.
   - Restart the Arduino development environment.
<p>My other Arduino projects:<br>https://www.youtube.com/playlist?list=PLD68RiPVWELWep9M_3pigXWjZBKCmtqlI</p>
<p>This looks like a great project to really use the capabilities of microcontrollers. I am a teacher planning on purchasing ATTiny45s for the classroom. Will this project also work with that microcontroller?</p><p>Best,</p><p>S&eacute;bastien</p>
I do not have an Arduino board but I have breadboarded an Atmel328 chip and use a USBtinyISP. I am using Arduino-1.0 I can download bootloader to the chip but, can not download ArduinoISP. Any ideas?
Try using Arduino v0023 to download ArduinoISP onto your chip. <br>See step 3 for more detail.<br><br>Good luck!
I went to Arduino 22 and was able to upload ArduinoISP to the Atmel328 chip. When I try to upload my program to ATTiny85 chip I get the following error: &quot;Serial: was not declared in this scope. Any ideas?
After you've got ArduinoISP on your chip, load your program using the newest version. I believe it's v1.0
I went thru the steps to DL Arduino v1.0 and added the Tiny.zip file from github, I then selected File&gt;Sketchbook&gt;My Program; Tools&gt;Board &gt;ATtiny85 ( with internal 8 MHz clock), then Programmer&gt;Arduino as ISP, then selected verify and then the following error msg appeared see Attachment. If iot doesn't appear basically it says : <br> <br>Create process=3. The system can not find path. <br> <br>What do I need to do from here? <br>
You missed this part I think.<br><br>3b.<br>Configure your ATtiny85 to run at 8Mhz!<br> -Change the board to &quot;ATtiny85 (8Mhz)&quot;<br> -Change the Programmer to &quot;Arduino As ISP&quot;<br> -Click &quot;Burn Bootloader&quot;
I went back thru and re-installed Arduino-22 and followed your steps in 3b and got the following, <br> <br>avrdude: stk500_getsync ( ) : not in sync: resp=0x00 <br> <br>avrdude: stk500_disable ( ) : protocol error, expect=0x14, resp=0x51 <br> <br>Any suggestions?
Were you able to find a solution?
Yes I did. In this case all I needed to do was select ATtiny85w/USBtinyISP and the directly upload the program. There appears to be not enough room for &quot;Bootloader&quot; on the ATtiny85. Program runs well however, I have noticed an additional thing I would like to do. My program it is basically 2 LEDs that flash in different modes with a mode select pushbutton. When I power off/on the circuit I must re-select the mode I had previously running. I can think of possible two methods to correct this: First Method - Add information in program I think in the non-volital area, Second Method - Add a memory super capacitor with a blocking diode to the circuit for the ATtiny85. In regard to the first method do you know of any examples I can view? I have no training in programming so this is a very intense activity for me. The second method is very doable for me as I have the physical room on the circuit board is to add the components. <br> <br>Regards <br>Mike
It's got to be something with that USBtinyISP.<br><br>I have no experience with that so I can't really help. Post on Arduino.cc forums and they may be able to assist.
I designed a shield to program AtTiny processors with Arduino&acute;s. It&acute;s available here: http://flytron.com/open-source-hardwares/162-tinyshield-all-in-one-avr-programmer-shield-for-arduino.html<br><br>Step 4 will be much easier with it.<br><br>It also emulates an STK-500 and can burn bootloaders on ATmega168/328 processors.
Good stuff. I've built an 8-Pin attiny programming shield myself. <br><br>If I need to program the larger chips, it's just a few wires.
Great job! I've been stuck trying to program an ATTiny for several days with no luck. I have a shield from Randofo, I tried a perf board, I used a 10uF cap, a 120 ohm resistor--no luck. I reloaded the software on a MacBook Air and a MacBook Pro--no luck. Was getting ready to try a PC when I saw your instructable. The combination of v0023 and attiny45_85.zip works!
Glad you got it working! <br><br>It took me a bit of trial and error to figure it out.<br><br>I've actually just make a shield today that lets me program any 8-Pin ATtiny. <br>It's got jumpers for the 120ohm resistor or 10uF cap, or no RESET modification at all.<br><br>Also, dip switches to disconnect the data lines from the arduino. That way they can run seperate code, the arduino can be reprogrammed with the attiny attached, and you can isolate the attiny (except for ground and power) to prototype right on top of the Arduino.
Great project! It's easy and simple what more could you ask for. In case you might be interested I have a source that has the same brand and specs on the ATtiny but almost half the cost!&nbsp;<a href="http://www.mouser.com/Semiconductors/MCU-MPU-DSP-DSC-SoC-Processors/Microcontrollers-MCU/_/N-6hpeg?P=1z0wa9b&Keyword=attiny85&FS=True" rel="nofollow">http://www.mouser.com/Semiconductors/MCU-MPU-DSP-DSC-SoC-Processors/Microcontrollers-MCU/_/N-6hpeg?P=1z0wa9b&amp;Keyword=attiny85&amp;FS=True</a>
Thanks wirenut! I've already got a few ideas to improve upon this design. Thinking of making an enclosure as well.<br><br>Mouser is great, but their shipping is $12 more then Digikey.

About This Instructable




Bio: Electrical Engineering Student. All around Petrolhead/Gearhead. More Arduino projects on my YouTube channel: https://www.youtube.com/playlist?list=PLD68RiPVWELWep9M_3pigXWjZBKCmtqlI
More by Panici:Self-contained 16-Digit display - Arduino & Attiny85 
Add instructable to: