ATTiny85 With Arduino ISP

Hi,

I’m trying to program an ATTiny85 with the Arduino ISP.
I have tried to follow the tutorial below but ran into a few problems.

In the tutorial they are using Arduino IDE version 1.0.5 but the “Arduino ISP’ programmer option is only available on Arduino 1.5 so I upgraded to 1.5.
The second issue I had is that the ATTiny support files in the tutorials do not work on Arduino IDE 1.05 so I found 2 versions that do and they both appear to work but when I try to upload the blink sketch I get the below error message.

Any ideas on what I’m doing wrong?

Arduino ISP: http://arduino.cc/en/Main/ArduinoISP
Arduino ISP Drivers: http://arduino.cc/en/Guide/ArduinoISP

Tutorial: http://scuola.arduino.cc/lesson/qX1117g/Programming_an_ATtiny_with_Arduino_ISP

ATTiny support:
https://code.google.com/p/arduino-tiny/
https://github.com/damellis/attiny/tree/ide-1.5.x

Error Message:
avrdude: verification error, first mismatch at byte 0x0040
0xe0 != 0x08
avrdude: verification error; content mismatch

Dragon7:
Tutorial: http://scuola.arduino.cc/lesson/qX1117g/Programming_an_ATtiny_with_Arduino_ISP

The wiring diagram / wiring description is wrong.

Go here...
http://zygomorphic.com/arduino-tiny/?page_id=7

Locate and click Show Connections for 8-pin Processors.

If you are using Arduino 1.5.x install
x = 5,7 or 8 (I personally missed 6)
and install
https://code.google.com/p/arduino-tiny/

Or see SOLVED: Attiny and Arduino Beta 1.5.5 - Microcontrollers - Arduino Forum

Pin Layout

/// ATMEL ATTINY45 or 85/ ARDUINO
//
//                          +-\/-+
// Reset / Ain0 (D 5) PB5  1|    |8  Vcc (+)
//         Ain3 (D 3) PB3  2|    |7  PB2 (D 2)  Ain1, SKC
//         Ain2 (D 4) PB4  3|    |6  PB1 (D 1) pwm1, MISO
//               (-)  GND  4|    |5  PB0 (D 0) pwm0, AREF, MOSI
//                          +----+
//

It works!

The wiring diagram / wiring description was wrong once i wired it correctly everything worked.

Thanks for the help :smiley: