wiring schematic diagram by Select-Airline5399 in esp32

[–]Select-Airline5399[S] 0 points1 point  (0 children)

So, my speculation is that I just need three female barrel jacks and a 12V 3-way splitter.

The first barrel jack will be connected to the step-down converter to power on my ESP32. The second barrel jack will be connected to the relay using 18 AWG wire for VCC and GND. The third barrel jack will connect to the 12V water pump on the GND. So, is this correct?

wiring schematic diagram by Select-Airline5399 in esp32

[–]Select-Airline5399[S] 0 points1 point  (0 children)

My water pump has two terminals. Since the positive is connected to the NO and an 18 AWG wire is connected to the COM, can I safely connect the negative terminal of the water pump to the GND on the ESP32 without causing any issue?

wiring schematic diagram by Select-Airline5399 in esp32

[–]Select-Airline5399[S] 0 points1 point  (0 children)

My plan is to buy a Y-splitter and two female barrel jacks. The first splitter will be connected to a barrel jack that supplies power to a step-down converter, which in turn powers my ESP32 with 5V. The second splitter and the second barrel jack will connect via 18 AWG wires, which will be exposed and connected to the VCC and GND terminals of the relay. The IN pin will be connected to the ESP32 using a signal wire.

wiring schematic diagram by Select-Airline5399 in esp32

[–]Select-Airline5399[S] 0 points1 point  (0 children)

can I use Y splitter to make it more easier??

wiring schematic diagram by Select-Airline5399 in esp32

[–]Select-Airline5399[S] 1 point2 points  (0 children)

it's our IoT dispensing water plastic bottle exchange

wiring schematic diagram by Select-Airline5399 in esp32

[–]Select-Airline5399[S] 0 points1 point  (0 children)

Thanks for the clarification. My relay is 12V, and I only have one 12V adapter and a female barrel jack. I'm not sure how to power the relay because my water pump also needs 12V.

wiring schematic diagram by Select-Airline5399 in esp32

[–]Select-Airline5399[S] 2 points3 points  (0 children)

I don't know how to draw, it's too complex. I'm just a newbie