Attiny5 hardware/software

Hi everyone,

I have two questions:

  1. I would like to know if there is library support in the Arduino IDE for the Attiny5 processors?
  2. Is there hardware pin connection instructions from an Arduino Uno board to the Attiny5 processor?

thank you,
Neil

There is a core for the Attiny10,9,5,4, but I have never seen any library for them. Remember the 5 has only 512 bytes, so not much space for much else then programming it with the datasheet and bare C++ as the core does not support any of the Arduino functions.

I do not understand your question #2

Thank you hmeijdam.

Question 2: Is about being able to use my Arduino Uno board as a programmer for the Attiny5.
I understand/seen videos that talk about a single pin programming on the Attiny5
and it needs to be set to 12V to reset it and place it in programming mode???? I was
wondering if I can do this with my Arduino Uno board and how to wire it up?

Thanks.

I have never seen an option to use an Arduino (Uno) for programming the Attiny5. I am using an USBASP programmer, as that was mentioned being supported by the core. I don't need 12v, unless I disable the reset pin first, then I need 12V to "unbrick" the chip.

Below a picture of my programmer setup. I can use it for tinies soldered on a DIP adapter plate or connect the socket to program the bare chips.

Where can I purchase the USBASP board?
Did you use Arduino IDE to write/debug/compile the software?

Thanks.

I recommend to buy 2 of them, so that if it should be needed, you can update the firmware on one of them with the other one. You could do that with an Arduino Uno as ISP also, but they are dirt cheap and then you have a spare.

I indeed use the Arduino IDE (with the added core), to create and upload the sketches.

Thank you,
Hmeijdam

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.