I'm working on a project that needs an ESP32 board, IO extender (MCP23017), two of 8 channel relays and some sensors, I've powered up all of the parts from a stable 5 V, 10 A power supply as shown in this block diagram:
Added: More detailed wiring diagram:
After connecting all the parts to the external power supply, the ESP32 gets too hot and then it burns after 10 seconds.
Could you please correct my connections, if there are any mistakes?
The sensors are:
-
2 DHT22
-
2 MQ135
-
2 Magnetic switches
-
Ultrasonic
Thanks for your time.
Update: The connections were correct. I've just added voltage dividers and it worked correctly.
Best Answer
The ESP32 runs of 3.3V (I found a schematic which I hope is the correct one).
I do not have schematics of the other parts but I notice that everything runs of 5V. I suggest you check:
If not you are connecting 5V I/O ports to a 3V3 processor. That might explain why it gets hot.
A more dangerous way is to connect things one-by-one and check which one makes it get hot. (I would normally not recommended that but it is a quick-and-dirty way to narrow done where the problem is)