tusindfryd
Published © GPL3+

Programming ATtiny MCUs with USBasp and Arduino IDE

Getting started with ATtiny microcontrollers

BeginnerFull instructions provided8,873
Programming ATtiny MCUs with USBasp and Arduino IDE

Things used in this project

Hardware components

Microchip ATtiny
Choose the one you like: https://en.wikipedia.org/wiki/ATtiny_microcontroller_comparison_chart
×1
USBasp programmer
This programmer is open source - a lot of producers manufacture their own versions that you can buy online.
×1

Software apps and online services

Arduino IDE
Arduino IDE
Zadig
For installing drivers

Story

Read more

Schematics

Wiring

Connecting the ATtiny to the programmer (and an LED)

Code

Blink

Arduino
Blinking the LED
const uint8_t LED = 4;

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

void loop() {
  digitalWrite(LED, HIGH);
  delay(1000);
  digitalWrite(LED, LOW);
  delay(1000);
}

Credits

tusindfryd
0 projects • 14 followers
Contact

Comments

Please log in or sign up to comment.