ATtiny85 Programmer Board
This is a simple PCB for a DIY programmer board that connects an Arduino Nano with an ATtiny85 to allow for programming of the ATtiny85 using the Arduino as ISP (in-system programmer).Â
After assembling it, connect the Arduino to your PC, then select the Arduino Nano as your board and upload the "ArduinoISP" sketch from the example sketches of the Arduino IDE. After it is done uploading, select the ATtiny85 as your board (you need to install it in the IDE by pasting this link in "Additional Boards Manager URLs" under File -> Preferences) and under Tools -> Programmer select "Arduino as ISP". Now you can upload your code to the ATtiny85.
You may need to downgrade to Arduino IDE version 1.8.18 (or lower) if you encounter the error "-fno-fat-lto-objects are supported only with linker plugin." while uploading to the ATtiny85.
Assembled PCB
The PCB only needs 3 components: an Arduino Nano, the DIP8 base and optionally an LED. I forgot to add a series resistor for the LED so you if you want to use it for validation, you have to write a script that applies a 50% PWM on that pin.
It is recommended to use a DIP8 socket instead of soldering and de-soldering the ATtiny85 from the board. Using the USB type C version of the Arduino Nano is recommended.
Bare PCB:
BOM
=> Arduino Nano
=> DIP8 base
=> 5mm LED*
*optional