Loading 3D model… large boards can take a moment.
An AVR programmer for 8 pin DIP ATtiny chips and for 28 pin ATMega chips, based on "Arduino as ISP" example from Arduino.
The programmer can be built on a 50mm x 70mm universal board.
The programmer can upload code (or set fuse) to:
For ATmega328p, a crystal and capacitors provides external clocks to the MCU.
For DIP-20N package chips, such as ATtiny2313, the on-board ISP pins on Arduino nano can be used (requires wires and a breadboard).
Wiring requires polyurethane enameled wire or UEW. Insulated wires may be used instead. UEW is also called "copper soldering wire", or "polyurethane enameled wire" in Chinese online markets.
tox environmentSee the kicad schematic for the details.
If ZIF sockets are not available, they can be replaced with DIP sockets (not recommended, though).
tox.ini installs all the dependencies, including platformio and necessary
toolchains, and builds the code.
tox
tox environmentIn tox environment, you can run platformio.
source .tox/python/bin/activate
> pio --version
PlatformIO Core, version 6.1.3
To build, run:
pio run
Before uploading the firmware, the Arduino Nano must be removed from the board because a capacitor in the circuit prevents the Nano from resetting.
To upload the code, run:
pio run -t upload --upload-port ${SERIAL_PORT}
Replace ${SERIAL_PORT} with the serial port on local machine.
/dev/ttyUSB${N} for Linux, /dev/cuaU${N} for FreeBSD, COM${N} for
Windows.
Then, place the Nano back to the circuit.
When connected to the machine and the Nano boots, the LEDs flash, and the blue LED grows.
Insert the chip into one of ZIF socket. The pin near the lever (top left) is pin 1. Connect the programmer to the machine.
For Arduino, choose "Arduino as ISP" as programmer.
See test/platformio.ini for platformio settings.
BSD-2-Clause. See ArduinoISP.ino and LICENSE.md.
No comments yet. Be the first to ask about this board.