Programming ATtiny85 with ArduinoISP

Download the Tiny-core here: code.google.com/p/arduino-tiny/
Follow the instructions in the readme.txt file
Connect your Arduino to the Attiny according to the picture above
- Upload the ArduinoISP to the Arduino dont't connect the capacitor yet.
More information on this step - Note: the ArduinoISP has some issues in ver. 1.00 and later see note below
- Connect a 10 µF capacitor from reset to ground on the arduino (negative side to ground)
If you are using a Duemilanove use a 120 ohm resistor from reset to Vcc
- Open the blink sketch and change pin13 to pin3
- select the board Attiny85@1MHZ (leave the serial port as it is)
- Select Programmer Arduino as ISP
- Select upload using programmer
- Connect a LED with resitor to pin PB3
- Now you should have a blinkining Led on your Attiny85
Note the factory default is 1MHz, if you want to run 8MHz, use this:
Select Board -> Attiny85@8MHZ
select Programmer -> Arduino as ISP
Select ->Burn bootloader
Note: this step do not burn a bootloader to your chip, it is only used to set the fuses to another clock-speed.
ArduinoISP version 1.0 and later:
Coding Badly has made a solution. Get the sketch here:
ArduinoISP
reply #39
PWM pins are PB0, PB1 and PB4
Analog (ADC) pins are A1,A2 and A3 (physical 7,3 and 2)
Useful links for Atiny85:
Coding Badly's TinyISP reply #33
Coding Badly's TinyTuner
Servo library for attiny85