Hypfer / esp8266-vindriktning-particle-sensor

Wifi MQTT Data Logging via an esp8266 for the Ikea VINDRIKTNING PM2.5 air quality sensor
Apache License 2.0
1.18k stars 128 forks source link

5V mention in the README #44

Open skorokithakis opened 2 years ago

skorokithakis commented 2 years ago

You mention in the README that the ESP8266 is 5V-tolerant, but then you mention the regulator. If you connect the 5V pad to the 5V pin of the ESP8266 board, that's not merely 5V-tolerant, it's 5V required. There's no danger of the ESP burning after a while, it'll run fine forever.

dburner commented 2 years ago

Also is this code valid for the 5V (direct link) or for the 3.3V (with voltage divider)?

onshisan commented 2 years ago

If you connect the 5V pad to the 5V pin of the ESP8266 board, that's not merely 5V-tolerant, it's 5V required.

I understand the README to mean that the D1 is tolerant of 5V logic signals despite actually being a 3.3V logic mcu.

This project involves connecting the particle sensor to the 8266 via the IKEA PCB. The IKEA board and sensor run 5V logic, whereas per this retailer's spec sheet the D1 is 3.3V logic for all pins/ports.

I gather some have added a voltage divider to protect the D1, but many have not done so and (so far) found no ill effects.

skorokithakis commented 2 years ago

@onshisan Ahh, that makes sense, thank you. Maybe the README should add the word "logic"?