Projects / Arduino as ISP programmer shield

Arduino as ISP programmer shield

Intermediate2 hGuided buildReviewed

Build it step by step

0 of 7 done
  1. UNOUNO

    Upload ArduinoISP

    Before fitting the capacitor.

  2. UNO

    Fit the capacitor

    10 uF from RESET to GND.

  3. UNOIC

    Wire the socket

    Reset, MOSI, MISO, SCK, power.

  4. UNO16.000

    Add the crystal and lights

    Crystal for the ATmega.

  5. UNO

    Burn the bootloader

    Check for no errors.

  6. UNO

    Program an ATtiny85

    Upload using programmer.

  7. UNO10.1 mA

    Test the blink

    LED flashes on the ATtiny.

In short

How do you build an arduino as ISP programmer shield?

A shield with a ZIF-style socket lets an Arduino burn bootloaders onto blank ATmega and ATtiny chips. You need Arduino Uno R3, Arduino Uno prototype shield PCB, IC socket DIP-8 / 14 / 16 / 28 / 40 × 2, Crystal oscillator 16 MHz (HC-49), Ceramic capacitor 22 pF × 2, Electrolytic capacitor 10 µF, LED 5 mm red, LED 5 mm green, LED 5 mm yellow and Resistor 220 Ω × 3. It takes 7 steps and about 120 minutes.

Level
Intermediate
Time
About 120 min
Parts
10

Parts list

Tick what you already own. It saves to My Garage, so “Build with what I have” knows.

Wiring

FromToWhy
Uno D10Target reset (ATmega pin 1, ATtiny pin 1)Starts programming mode
Uno D11Target MOSI (ATmega pin 17, ATtiny pin 5)Data to the chip
Uno D12Target MISO (ATmega pin 18, ATtiny pin 6)Data from the chip
Uno D13Target SCK (ATmega pin 19, ATtiny pin 7)Clock
Uno 5V and GNDTarget power (ATmega pins 7, 20 and 8, 22; ATtiny pins 8 and 4)Power
CrystalATmega pins 9 and 10, each leg to ground through 22 pF16 MHz clock for the ATmega
10 uF capacitorUno RESET to GND (plus leg on RESET)Stops the programmer resetting itself
LEDsD9 heartbeat, D8 error, D7 programming, each through 220 ohm to GNDStatus lights

Code

Many useful chips come with no bootloader, and an ATtiny has no USB at all, so you program them through the ISP (in-circuit serial programming) pins: reset, MOSI, MISO and SCK. The ArduinoISP sketch makes an ordinary Uno act as the programmer, and a shield with two sockets makes it quick to put chips in and out. An ATmega328P that has never been used expects its internal 8 MHz clock; fitting the 16 MHz crystal with its two 22 pF capacitors lets you burn the standard 16 MHz bootloader, so do the burn with the crystal fitted. The lights show activity: the heartbeat pulses when the programmer is idle, the programming light flickers while data moves, and the error light means something is wrong. Check the orientation of the chip, since pin one is marked by a notch, and insert chips only with the Uno unplugged. Setting wrong fuses can lock a chip until it is given the clock it expects, so read the board and clock settings carefully before burning. Arduino IDE, board "Arduino Uno".

Runs on a virtual Arduino Uno in your browser, with sliders for the sensors. Happy with it? Verify and upload to your real board from the same page (Chrome or Edge on a computer).

// First upload the sketch File > Examples > 11.ArduinoISP > ArduinoISP to the Uno (with no capacitor on RESET).
// Then fit the 10 uF capacitor and select Tools > Programmer > Arduino as ISP.
// Test sketch for an ATtiny85 with ATTinyCore (chip ATtiny85, clock 1 MHz internal): blinks an LED on PB3 (chip pin 2).
// Use Tools > Burn Bootloader first (this sets the fuses), then Sketch > Upload Using Programmer.
const int LED = 3;          // ATtiny85 pin 2 is PB3: put a 220 ohm resistor and an LED from it to ground
void setup() {
  pinMode(LED, OUTPUT);
}
void loop() {
  digitalWrite(LED, HIGH);
  delay(300);
  digitalWrite(LED, LOW);
  delay(700);
}

Test checklist

What you should see at each check. If a reading is far off, stop and use the troubleshooting list.

CheckExpected
Heartbeat LEDPulses when idle
Burn BootloaderFinishes with no error
ATtiny85LED blinks after upload
Remove the chip and power it aloneIt still blinks

If it does not work

Not in sync

Check the capacitor and the four ISP wires.

Error LED on

Check the chip orientation and power.

Chip will not respond

It may need an external clock; fit the crystal.

Still stuck? Find the fault step by step with your multimeter →

Ask Lark AI

Common questions

What parts do I need for the arduino as ISP programmer shield?

Arduino Uno R3, Arduino Uno prototype shield PCB, IC socket DIP-8 / 14 / 16 / 28 / 40 × 2, Crystal oscillator 16 MHz (HC-49), Ceramic capacitor 22 pF × 2, Electrolytic capacitor 10 µF, LED 5 mm red, LED 5 mm green, LED 5 mm yellow and Resistor 220 Ω × 3.

How long does the arduino as ISP programmer shield take to build?

About 120 minutes for a intermediate maker, in 7 steps.

How do I know the arduino as ISP programmer shield works?

Heartbeat LED: Pulses when idle. Burn Bootloader: Finishes with no error. ATtiny85: LED blinks after upload.

Not in sync: what should I check?

Check the capacitor and the four ISP wires.

Error LED on: what should I check?

Check the chip orientation and power.

Chip will not respond: what should I check?

It may need an external clock; fit the crystal.