Introduction: Programing an Attiny With Arduino IDE

About: I'm a maker who love to build new things. I mostly dabble in Arduinos, Raspberry Pi's and paper crafts.

Attinys are an excellent way to shrink your Arduino project. I recently tried to follow this great instruction from the High-Low Tech website, but it looks like it is out of date. They have some tutorials and if you don't have an ATtiny programmer follow this tutorial. This instructable is how to program an Attiny on Arduino 1.0.6

Step 1: Download the Files

Go ahead and download this folder from the High-Low Tech website. Now go to your applications folder, and right click on Arduino then select Open Package Contents.

Step 2: Add the Files

Now navigate to the hardware folder. Go to Content >> Resources >> Java >> Hardware. Go head and drag the ATtiny folder, which is in the folder that you downloaded in the last step, and place it in this hardware folder.

Step 3: Blink Blink

Go ahead and open up Arduino and go to File >> Examples >> Basics >> Blink. Change 13 to 0. Your program should look like this...

void setup() {

pinMode(0, OUTPUT);

}

void loop() {

digitalWrite(0, HIGH);

delay(1000);

digitalWrite(0, LOW);

delay(1000);

}

Now we need to change the board so go to Tools >> Boards >> ATtiny 85 (internal 8 MHz clock). If your ATtiny doesn't have the bootloader go ahead and click Tools >> Burn Bootloader. Now you can upload your program. (You may have to change your programmer by going to Tools >> Programmer >> USBtinyISP)

Formlabs Contest

Participated in the
Formlabs Contest