Skip to content

Latest commit

 

History

History
 
 

ATmegaISPShield

Folders and files

README.md

#099 ATmegaISPShield

A DIY ATmega programming shield using an Arduino as the ISP

▶️ return to the LEAP Catalog

Notes

The ATmegaViaArduinoISP project tested programming an ATmega chip on a breadboard using an Arduino as the in-system programmer.

It's a very convenient way to program an ATmega chip, but it is a bit of a chore to setup the circuit each time it is required.

This project puts a 28-pin DIP socket on a protoboard that can plug into an Arduino as a custom daughter-board/shield. The board also includes:

  • 16MHz crystal
  • reset pull-up resistor
  • LEDs with resistors on MOSI,MISO, and SCK pins
  • breakout sockets for all pins on the ATmega chip

The procedure for programming a 28-pin ATmega chip like the ATMEGA328P-PU on the board is simply:

  • plug the chip into the 28-pin DIP socket
  • plug the board onto an Arduino Uno (or Mega)
  • upload the ArduinoISP sketch to the host Arduino
  • send the desired sketch to the ATmega chip using the "Upload using Programmer" option

The LEDs on the shield will indicated activity during programming. They can also be used for test sketches (the LEDs correspond to digital pins 11, 12 and 13). The ATmegaISPShield.ino sketch included here is a simple variant of the Blink sketch that flashes all the LEDs, and can be used for testing the programmer.

Construction

Breadboard

The Schematic

The Build

The Build

Credits and References