Arduino As ISP and Arduino Bootloaders

by james_workshop in Circuits > Arduino

397 Views, 2 Favorites, 0 Comments

Arduino As ISP and Arduino Bootloaders

螢幕截圖 2022-06-22 02.59.17.png
DIY - 自己 Arduino 自己做 - 軟件篇 ArduinoISP AVR Programmer

Learn how to turn your Arduino into an AVR In System Programmer

Arduino ISP turns your Arduino into an in-circuit programmer to re-program ATmega chips or make your own Arduino board

For ease of use, I refer to Arduino.cc(https://docs.arduino.cc/built-in-examples/arduino-isp/ArduinoISP), made an adapter


Schematic

螢幕截圖 2022-06-04 19.25.22.png
  • Arduino Nano x 1
  • Custom PCB x 1
  • 0805 LED X 3 (You can choose your favorite color)
  • 220 Ohms resistance x 3
  • 10uF Capacitor x 1
  • 2.54 Pin Header 1X2 x 1
  • 2.54 Pin Header 2X3 x 1
  • Jumper Cap x1

螢幕截圖 2022-04-07 18.14.31.png
螢幕截圖 2022-04-07 18.15.31.png

I use EasyEDA to design PCB and upload the design to JLCPCB.com to manufacture PCB.

JLCPCB make high quality prototyping PCBs for people all over the world. They have over 300,000 worldwide customers with over 8000 orders per day! They have over 10 years of manufacturing experience and are super reliable. Try it for your self and get 10 PCBs for just $2 at JLCPCB, New registered users US$54 offer , Order here 

You can use my gerber files to ordel your own PCBs, and build this DIY Project.

Just a quick example how to order PCB from JLCPCB.com:

1)press "QUOTE NOW"

2)press "Add your gerber files"

3)upload zip or rar

4)all properties could be left default

5)Press PCB Assembly

6)upload BOM & CPL


gerber files

https://github.com/James-workshop/ArduinoISP

螢幕截圖 2022-06-22 03.30.04.png

Due to the use of JLCPCB PCBA (PCB + Assembly) service, the finished product is received directly without soldering


LoadSketch.jpeg
Burn.jpeg

Load the sketch

The Arduino that you will use as programmer needs a specific sketch. You find it under Examples > 11. ArduinoISP > ArduinoISP .


Program the bootloader

If all the wires are set, you need to switch to the board type you want to program with the bootloader. This step is mandatory to select the proper bootloader code and the fuses configurations. The programming procedure checks the signature of the microcontroller before any writing action is taken, but many boards share the same microcontroller and each board has its own bootloader. The port remains the one of the ArduinoISP.

Choose "Burn bootloader" under tools and wait for the confirmation message in the lower part of the Arduino Software (IDE) interface. If you connected the LEDs you may follow the process visually.


For a more detailed tutorial, please watch my video