Trying to programme ATTiny 85 [SOLVED]

I have installed ATTinyCore and tried that, getting the same error message, it does not seem to be recognising the ATTiny85 for some reason. I think I have another ATTiny85 but don't want to risk it without a capacitor.

did you do my whole procedure ?
What was the error message as a result of the bootloader.

There is no real risk involved other than it just not working.

I don't think there is anything in here that others have not already covered, but maybe the extra screen shots will help. Just look at section 1 pages 5-11. These are notes I made when learning how to program the ATtiny85 for the first time. Some of the links are likely to be out of date as it was done a few years ago. I think there is a better / more up to date ATtiny board support package. There is also alot of other ATtiny85 stuff in the pdf beyond section 1, but it's not relevant to you at the moment.
LogBook-Vol06 - ATTiny85Only.pdf (7.4 MB)

1 Like

Many thanks, followed the PDF and eventually got it to work.

Many thanks to all who contributed, problem now solved using ATTinyCore and the PDF supplied by GolamMostafa.

Glad to hear that my writeup helped you to get your board working.

Good catch. I use a dip socket with the bypass cap between the ATTiny and the socket. When I first started with the ATTiny it wouldn't do anything without that cap.

I will get some capacitors for the future.

Thanks Dave, I will have a read.

I looked through this topic and did not find any reference to using a 10 ufd. capacitor between “reset” and “GND” on the Uno. Most of the videos I have seen and articles I have read on this subject say to do this to prevent the Uno from resetting when the download starts. Is this capacitor necessary? @SierraGolfMike, did you use this capacitor.

Edited to correct spelling.

I managed to burn the boot loader and upload the Blink sketch to the ATtiny85 without using a capacitor.

1 Like

It's shown in the pdf attached to post #23. I can't remember exactly why it was required now, as it was a few years ago when I made the notes in the pdf. It was a fiddle adding / removing it, and the loose jumper wires between the Uno and the breadboard were not satisfying. That's why I made myself a board (also shown in the pdf) with a ZIF socket for the ATtiny and an ICSP header that could be used with an ICSP programmer to cut the Uno out of the programming chain.

I have never used that capacitor as I could not find any good reason for the usage. I am doing uploading using ISP Interface in which the RESET signal for the ATTiny85 is generated by SS/-pin (DPin-10) of UNO (the ISP Programmer).

2 Likes

Perhaps not necessary with newer IDE and / or ATtinyCore, but when I was programming an ATtiny85, with an Uno as the programmer, a few years ago I wrote this in my notes:

1 Like

Thanks for all the replies. It seems that the capacitor may not be needed all the time but @Dave_Lowther’s notes describe the best reason I have most often found for using it.

I used an Arduino_as_ISP on Nano board for years, wrote a different targets, including a Attiny85 too.
I never connect a capacitor.

Would these capacitors be OK?

1 Like

Yes, for the decoupling capacitor. It will be marked 104 (100nF).

1 Like

Thanks, I have a couple with 104 on them but nothing else, I won’t chance them just in case they are the wrong size. I’ve seen people using various sizes from 10 microfarads to 100nF, I take it size is not hyper critical?

They will be fine. You won't do any harm if you use the wrong value capacitor, it just might not be effective at decoupling. 104 = 100nF, which is perfect.
What's important for decoupling chip power pins is:

  • don't use electrolytic capacitors, their high frequency response isn't good
  • do use ceramic capacitors, their high frequency response is good
  • place as near to the chip's Vcc/Gnd pins as possible
  • don't use long wires to make the connection

100nF is the typical value used, but if e.g. you only had 220nF they would be fine too.

I use these