ATtiny85 programming using Mega2560 as ISP
I’ve been burning sketches to an ATtiny85-20PU and burning bootloaders to ATmega328P-PU’s today.
The pinouts below are for the physical pins on the ATtiny85/ATmega328P, and the Arduino pins for the Mega2560:
TINY MEGA 328P
MISO 6 50 18
MOSI 5 51 17
SCK 7 52 19
RESET 1 53 1
VCC 8 5V 7
GND 4 GND 8
After uploading the ArduinoISP sketch to the Mega2560, add the 10uF capacitor between RESET and GND on the 2560 and upload sketches normally (select “ATtiny85 8MHz internal” as Board) or “Burn Bootloader”.