Hello, I’m having trouble uploading the bootloader/blink sketch onto my attiny85. This is my first time ever trying to upload a sketch to an attiny.
I have followed the steps as seen in the following youtube video
I went to file, preferences, additional boards manager and pasted the following link:
https://raw.githubusercontent.com/damellis/attiny/ide-1.6.x-boards-manager/package_damellis_attiny_index.json
I went to tools, boards, board manager, typed attiny and installed the attiny file.
Went to file, examples, Arduino as ISP, Arduino as ISP
Uploaded sketch.
Made sure under tools, board was attiny 85, processor was attiny 85, clock was internal 1Mhz, programmer was Arduino as ISP
Made sure my attiny85 was connected to the following pins:
Attiny pin 1: pin 10 on arduino
Attiny pin 4: gnd on arduino
Attiny pin 5: pin 11 on arduino
Attiny pin 6: pin 12 on arduino
Attiny pin 7: pin 13 on arduino
Attiny pin 8: 5 volts on Arduino
I made sure pin 1 was next to the little dot on the corner of the attiny and the pins from 1-8 go down making a U.
Went to files, examples, basics, blink, and uploaded the blink sketch. I just changed anything that said “LED_BUILTIN” to 3.
When I tried to upload the code I get this error message:
avrdude: Yikes! Invalid device signature.
Double check connections and try again, or use -F to override
this check.
I also made sure to have a 10uF capacitor on gnd and rst when uploading the blink sketch to attiny85.
Tried uploading the Arduino ISP example with both
#define USE_OLD_STYLE_WIRING
And as
// #define USE_OLD_STYLE_WIRING
I bought the attiny’s from microchip.com and don’t know if the bootloader is installed. I tried going to tools, burn bootloader but I get the same error message.
When I try to verify the blink sketch it's fine so there is nothing wrong with the sketch. I get this error message when I try to upload it. Am I missing something?