Flash ATtiny85

Connect the hardware

Arduino PinATtiny PinDigitalArduino PinATtiny PinDigital
D101PB5VCC8
D137PB2
D126PB1
GND4D115PB0

 

Prepare Arduino IDE

File -> Preferences

  • Additional Board Manager URLs:
    https://raw.githubusercontent.com/damellis/attiny/ide-1.6.x-boards-manager/package_damellis_attiny_index.json

Tools -> Board -> Board Manager

  • Install: attiny

Tools -> Board

  • Board: "ATtiny Microcontrollers" -> ATtiny25/45/85
  • Processor: ATtiny85
  • Clock: Internal 16 MHz
  • Port: Your Arduino ISP Port
  • Programmer: Arduino as ISP
  • Burn Bootloader!!! (To apply clock and other flags)

Test your setup with a simple blink program

void setup() {
  pinMode(4, OUTPUT);
}

void loop() {
  digitalWrite(4, HIGH);
  delay(500);
  digitalWrite(4, LOW);
  delay(500);
}

This page was last edited on 2024-07-05 20:38

Powered by Wiki|Docs

This page was last edited on 2024-07-05 20:38

Bjørn Singer
Private wiki!

Powered by Wiki|Docs