Go Down

Topic: Attiny 85 (Read 647 times) previous topic - next topic


Dear friend,

recently I get myself some attiny85. So, by referring to the datasheet, it mention it has 6 programmable I/O. But I just only can see there are 5 programmable IO only. Is it that the RESET pins also can be the IO  ?




Yes it is possible to reassign the reset pin as an IO pin, but you won't be able to reprogram your ATTiny85 in the usual way after that, as the reset pin is required for that.  If you're using the Arduino IDE you'll typically treat it as 5 + reset + the two power pins.

What are you hoping to use them for?  It's possible you can work around this limitation.

"There is no problem so bad you can't make it worse" - retired astronaut Chris Hadfield


Feb 06, 2013, 02:39 pm Last Edit: Feb 06, 2013, 02:41 pm by Erni Reason: 1
Is it that the RESET pins also can be the IO  ?

Yes it can, but if you use it as IO, you cannot reprogram the chip unless you use a High Valtage programmer

Ups, sorry strykeroz, I was too slow


USBasp consider HVP ? Oh, so for normal usage, I onyl can use 5 pins ?



Oh, so for normal usage, I onyl can use 5 pins ?

Realistically? 5 pins is the limit, yes. 6 pins needs special hardware to program it.

PS: You can use the RESET pin as an analog input so long as you don't take the voltage low enough to cause a reset :)
No, I don't answer questions sent in private messages (but I do accept thank-you notes...)

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131