ATtiny / Arduino ISP Programming the ATtinyxxxx

Step 1: LOAD ArduinoISP to Arduino UNO

  1. Launch Arduino IDE
  2. Click Menu File > Examples > ArduinoISP
  3. Click Menu Tools > Board > Arduino UNO
  4. Click Menu Tools > Serial Port > Select the COM port
  5. Click Menu Tools > Programmer > Arduino as ISP
  6. Click Upload
  7. Done

Install a LED on pin 9 to verify that the programmer is working
a 220-ohm resistor to GND LED to Resistor and Pin 9. The
LED will blink id if theprogrammer is working.

Step 2:  Uploading the Sketch to ATtinyxxx

  1. Click Menu File > Examples > 01.Basics > Blink2
  2. Change OUTPUT pin to 03
  3. Change Delay to 200
  4. Click Tools > Board > Attiny85 (internal 1mhz clock)
  5. Click Menu Tools > Serial Port > Select the COM port
  6. Click Menu Tools > Programmer > Arduino as ISP
  7. Click File > Upload Using Programmer
  8. Error message:
    file for part ATtiny85 avrdude: please define PAGEL and BS2
    signals in the configuration filefor part ATtiny85
  9. Done

Install a 220-ohm resistor to GND to LED Resistor to Pin 5
LED should now blink.

ATtiny Programmer Schematic

Arduino-UNO-ISP-aTtiny-Programmer

  1. Arduino pin 10 to slave reset (ATtiny85 on pin1, ATtiny 84 on pin4)
  2. Arduino pin 11 to MOSI (ATtiny 85 on pin 5, ATtiny 84 on pin 7)
  3. Arduino pin 12 to MISO (ATtiny 85 on pin 6, ATtiny 84 on pin 8)
  4. Arduino pin 13 to SCK (ATtiny 85 on pin7, ATtiny 84 on pin 9)
  5. Arduino Gnd to GND
  6. Arduino Gnd to GND
  7. Instal 10 microfarad capacitor between Gnd and reset pin on Arduino
    (capacitor is polarized, negative to Gnd).

(Note: I do use the 10uf cap on reset ATtiny84)
(Note: I don’t use the 10uf cap on reset ATtiny85)

Arduino ISP ATtiny Programmer:

Arduino-ISP-ATtiny84-85-Programmer