This is meant as a dedicated board containing Nick Gammon’s Arduino Programmer sketch to flash bootloaders on new boards containing unprogrammed AVR microcontrollers.
Setting up the Board
You’ll only have to do this once.
Grab a copy of Nick Gammon’s Arduino Programmer sketch and the Arduino IDE. You’ll also need an Arduino Uno or other AVR board to program this one.
Follow Nick’s instructions to connect the six pins of the 2x3 ISP header to the right pins of the programmer board.
Flip the switch to TARGET and follow Nick’s instructions to put the bootloader on the AVR Programmer.
Programming Other Boards
Connect the pins of the 2x3 6-pin ISP header to the target board.
Flip the onboard switch to PROG.
Connect the board to your computer with an FTDI cable and open the Arduino IDE or a serial terminal.
Set the baud rate to 117500 and press the reset button on the board. The board will reset and run Nick’s bootloader sketch while automatically begin talking to the computer over the serial terminal. The sketch will look for your target board and report whether it was found.
If it was found, follow the instructions to apply the appropriate bootloader. If not, troubleshoot the circuitry on your target board.
Bill of Materials
The board costs $5.25 for a set of three, or $1.75 per bare board.
One board of parts costs $8.48, but I recommend rounding up on the caps and resistors at least. They’re extremely cheap ($1 for a hundred) and easy to lose if you’re assembling by hand.
|C2 C3||2||CAP CER 22pF 100V C0G NP0 0603||399-11145-1-ND|
|C4||1||CAP CER 1UF 25V X7R 0603||587-2984-1-ND|
|C5 C6 C1||3||CAP CER 0.1UF 100V X7R 0603||490-3285-1-ND|
|J1||1||HEADER MALE 6POS TH 1x06 0.1”||952-1902-ND|
|J2||1||HEADER MALE 6POS 2x3 0.1”||952-1921-ND|
|R1||1||RES SMD 10K OHM 5% 1/8W 0805||311-10KARCT-ND|
|S1||1||SWITCH TACTILE SPST-NO 0.05A 12V||SW1020CT-ND|
|S2||1||SWITCH SLIDE SPDT 200MA 30V||EG1903-ND|
|U1||1||IC MCU 8BIT 32KB FLASH 32TQFP||ATMEGA328P-AU-ND|
|X1||1||CRYSTAL 16MHz 18pF 40 OHM 4SMD||CTX1206CT-ND|