I am a beginner in embedded systems and I want to create a self-powered system with sensors to measure temperature, humidity, river depth, and rainfall. I have chosen the following sensors:
- HC-SR04 for depth measurement
- DHT22 for temperature and humidity
- FC-37 for rain detection
The microcontroller I am using is the ESP32.
I am facing a challenge with powering these sensors because the HC-SR04 requires 5V. While I read that I could use the same power source for both the ESP32 and the sensors, I learned that the ESP32's inputs do not support 5V signals from the sensor. Therefore, I would need to use level shifters.
Can anyone suggest a solution for powering these sensors and managing the voltage levels?
I welcome any reading materials or resources that could help.
@Keeper
the OP. || They were last seen on the original site over a month ago. So at this stage, it seems possible this is a zombie question which the OP has given up on. || While you can answer the question or post clarification requests in comments, it's unknown whether the OP is still interested, or will ever return. \$\endgroup\$