I've tried google to help solve my problems but as I am completely new to arduino I've tried some stuff and nothing seems to work. I'm trying to program an Attiny85 using an UNO.
I've followd this guide to the T: http://hlt.media.mit.edu/?p=1695
Once I try to upload a sketch to the Attiny85 I get the invalid signature error
avrdude: Device signature = 0xffffff
avrdude: Yikes! Invalid device signature.
Double check connections and try again, or use -F to override
this check.
In my recent endeavours with ATtiny45 I experienced that error when the capacitor was not connected.
I also noticed that it did not always achieve proper contact when put in the connectors on the Uno. so I moved it to the breadboard.
Erni:
As far as I can see you are you connecting pin 9 on Arduino to PB3 on attiny85, why is that.
Through google, I had come to the conclusion that I have a fuse problem so I was trying to use the ISP that provides a clock on pin9 of the arduino to fix it. I have since removed the connection in all my attempts with your suggestions.
Erni:
Which version of the Arduino IDE are you using
I followed this guide just not and still no luck. I even tried to burn the 8Mhz bootloader and I get the exact same error.
Shpaget:
In my recent endeavours with ATtiny45 I experienced that error when the capacitor was not connected.
I also noticed that it did not always achieve proper contact when put in the connectors on the Uno. so I moved it to the breadboard.
When the capacitor was not plugged in properly or completely absent I would get the getsync error instead.
I had a similar error message a little while ago and, with the help of this forum, managed to solve the problem. Have a look at this thread and see if that gives you any ideas:
I've tried many of the bootloader suggestions but nothing seems to work. I don't have access to a crystal so I haven't done it that way, only the way through ArduinoISP on pin 9 that I listed in the OP. Thanks for trying guys!
I presume you have just the one ATTiny85 so can't swap in a 2nd to see if the problem is common to both.
Nick Gammon has a sketch for detecting the signatures of all manner of Atmel processors, available for download here. It needs the same connections as the ISP (explained in full on this page using an ATMega).
The question is whether or not you're resetting your Uno and unloading ArduinoISP when you're trying to program the ATTiny. The capacitor you placed between reset and GND (you did that part, right?) should prevent that reset, but y'know ... it's a good idea to be certain.
Appreciate all helps you guys tried to provide. Unfortunately my time has run out and I don't have the resources to continue to try to fix this. It was fun while it lasted, maybe I will revisit this in the future. Thanks again!