Attiny 85

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 ?

Thanks

Hi,

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.

Geoff

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 ?

Thanks

Vincent19:
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 :slight_smile: