0
\$\begingroup\$

I am having problems wiring a water pump with the Raspberry Pi Pico.

I have the pump connected to a relay which has IN connected to GPIO 12, GND connected to a ground pin, and VCC connected to VBUS. From the relay I have the NO connected to the battery positive and the COM is connected to the water pump positive. Note that the negative of the battery is connected to the negative of the pump.

I just recently asked for help with this question on stack overflow and have discovered it is a wiring issue after using a LED to find that the pin does turn off just for some reason the pump won't. Please help me with this issue.

Here is a wiring diagram

 +----------------+        +--------------+
 |                |        |              |
 |    Raspberry   |        |    Relay     |
 |       Pi       |        |    Board     |
 |      Pico      |        |              |
 |                |        |              |
 |                |        |              |
 |     VBUS (+5V) |------> | Input: VCC   |
 |                |        |              |
 |     GND        |------> | Input: GND   |
 |                |        |              |
 |     GPIO 12    |------> | Input: IN    |
 |                |        |              |
 |                |        |              |
 |                |        |  Output: NO  |-----> Battery (+)
 |                |        |              |
 |                |        |  Output: COM |-----> Water Pump (+)
 |                |        |              |
 +----------------+        +--------------+

Battery (-) -----> Water Pump(-)

\$\endgroup\$
3
  • 2
    \$\begingroup\$ A very warm welcome to the site. Please can you edit your question and add a schematic showing the existing circuit (not a photo of what you've made but an actual drawn schematic). Thanks. \$\endgroup\$
    – TonyM
    Mar 5 at 16:11
  • 1
    \$\begingroup\$ Did you even try the suggestion in the stackoverflow question? I think the same question should not be open in two places, information rarely gets updated between them so double the effort wasted solving your problem. \$\endgroup\$
    – Justme
    Mar 5 at 16:40
  • \$\begingroup\$ @amlelephant please do not cross post and delete one of the questions \$\endgroup\$
    – Voltage Spike
    Mar 5 at 19:18

1 Answer 1

1
\$\begingroup\$

The relay contacts are just a switch - they DO NOT supply power.

Assuming the pump requires 5 V, you need something like:

schematic

simulate this circuit – Schematic created using CircuitLab

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.