Hacker News new | past | comments | ask | show | jobs | submit login

They are 5V tolerent on the logic pins, just not on the power. LiFePO4 batteries work great for powering them as their voltage curve matches perfectly without regulation.



My understanding is that this is mostly a dangerous myth. Like it sort of works but you really shouldn’t unless you are ok frying the board. I have been sticking with mostly 3V components and have a separate set of rails and transistors to control that side of things.


No, that's wrong. The signal pins absolutely are 5V tolerant (confirmed by the CEO of Espressif) and work perfectly but if you put 5V to VCC it will fry instantly. I know from experience, in both cases.

It used to be the case that people were unsure if the logic pins were 5V tolerant or not due to ambiguity in the datasheet and the consensus was to be cautious, but it has since been officially confirmed that they are tolerant. Some other devices (e.g. relays, some MOSFET gates) might require a 5V output level to trigger, in which case you will need a level shifter/transistor, but 5V inputs to the pins are fine (and most digital devices that work at 5V logic levels will be fine with 3.3V logical high due to the way TTL levels are defined).


Thanks for the info. I stand corrected.


According to the CEO of Espressif, Teo Swee Ann, the I/O pins of the ESP8266 are 5V tolerant.

See discussion here: https://hackaday.com/2016/07/28/ask-hackaday-is-the-esp8266-... and official reply on Facebook (of all places): https://www.facebook.com/groups/1499045113679103/permalink/1...

> Teo Swee Ann i can reply officially here: it is 5V tolerant at the IO. while the supply voltage is at 3.3V.


And, the built in A/D will give you the current voltage reading with no additional wiring so you can post it to your MQTT instance and monitor when you need to change/charge your LiPO :-)




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: