This is an old revision of the document!


Programming the ATtiny

Install the ATtiny support for the Arduino IDE. Follow the steps on that side: High-Low Tech - Programming an ATtiny

In the preferences dialog type in the “Additional Boards Manager URLs” field that URL:

 https://raw.githubusercontent.com/damellis/attiny/ide-1.6.x-boards-manager/package_damellis_attiny_index.json

In the board manager install the ATtiny librarie by David A. Mellis:
https://github.com/damellis/attiny

Pin connection of the ATtiny 85 or 45



Connection to an Arduino

  Arduino +5V      --->  ATtiny Pin 8
  Arduino Ground  --->  ATtiny Pin 4
  Arduino Pin 10   --->  ATtiny Pin 1
  Arduino Pin 11    --->  ATtiny Pin 5
  Arduino Pin 12    --->  ATtiny Pin 6
  Arduino Pin 13    --->  ATtiny Pin 7