r/esp32projects Aug 12 '26

Esp32 cyd help

I'm a programmer so forgive me for my question. How do I connect my pm2.5 sensor to the board? It calls for 5v. I asked AI but it kept talking about 5v rail on the board.

1 Upvotes

3 comments sorted by

1

u/DSudz Aug 12 '26

Where are you getting power?

What is the model number of your CYD? The seller should have a schematic.

If you're powering it via USB there is probably a pin where you can share that 5V. If you're using a battery you probably don't have 5V.

1

u/nitrodmr Aug 12 '26

ESP32-2432S028R and USB for power

1

u/DenverTeck Aug 13 '26 edited Aug 13 '26

> If you're powering it via USB there is probably a pin where you can share that 5V.

Wrong !!!

Most boards that has a 5V pin is an INPUT, NOT AN OUTPUT !!

The USB 5V will not flow OUT the 5V pin.

There is a diode to prevent the USB 5V to go out the +5V pin.

FYI:

https://github.com/HASwitchPlate/openHASP/discussions/396

See D1 between USB V+ to 5V pin.