Arduino as ISP programmer shield
Build it step by step
0 of 7 doneUpload ArduinoISP
Before fitting the capacitor.
Fit the capacitor
10 uF from RESET to GND.
Wire the socket
Reset, MOSI, MISO, SCK, power.
Add the crystal and lights
Crystal for the ATmega.
Burn the bootloader
Check for no errors.
Program an ATtiny85
Upload using programmer.
Test the blink
LED flashes on the ATtiny.
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
- Development BoardsBuyArduino Uno R3 × 1
- PrototypingBuy
- ConnectorsBuy
- PassivesBuy
- PassivesBuy
- PassivesBuy
- SemiconductorsBuyLED 5 mm red × 1
- SemiconductorsBuyLED 5 mm green × 1
- SemiconductorsBuyLED 5 mm yellow × 1
- PassivesBuyResistor 220 Ω × 3
Tick what you already own. It saves to My Garage, so “Build with what I have” knows.
Wiring
| From | To | Why |
|---|---|---|
| Uno D10 | Target reset (ATmega pin 1, ATtiny pin 1) | Starts programming mode |
| Uno D11 | Target MOSI (ATmega pin 17, ATtiny pin 5) | Data to the chip |
| Uno D12 | Target MISO (ATmega pin 18, ATtiny pin 6) | Data from the chip |
| Uno D13 | Target SCK (ATmega pin 19, ATtiny pin 7) | Clock |
| Uno 5V and GND | Target power (ATmega pins 7, 20 and 8, 22; ATtiny pins 8 and 4) | Power |
| Crystal | ATmega pins 9 and 10, each leg to ground through 22 pF | 16 MHz clock for the ATmega |
| 10 uF capacitor | Uno RESET to GND (plus leg on RESET) | Stops the programmer resetting itself |
| LEDs | D9 heartbeat, D8 error, D7 programming, each through 220 ohm to GND | Status 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.
| Check | Expected |
|---|---|
| Heartbeat LED | Pulses when idle |
| Burn Bootloader | Finishes with no error |
| ATtiny85 | LED blinks after upload |
| Remove the chip and power it alone | It 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 →
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.
