Relay clicks but no current in watering project

Hi, I was following one of tutorials on the internet for simple automatic watering project and wired up an arduino nano, 12V power source, resistor, relay, water pump, humidity sensor and a BC547. The sensor signal is alright and the relay clicks whenever the sensor is triggered (green light lights up), but my pump doesn't spin. I tried troubleshooting by going through the circuit few times, changing some things but nothing seems to work. This is my setup:

I'm guessing my power wiring is off? I also researched the BC547 a bit and found it weird that different websites give different information on the order of the pins. While following a tutorial I initially wired it the opposite way and it didn't work at all, so I just plugged it in flipped.

Where does the +12V power come for the Pump?

Ok, I'm stupid. Sometimes one question is all you need :smiley:
Thank you!

1 Like

No, problems.
I would also put a diode across the motor.
image

1 Like
  • Relay
1 Like

Correct my bad. :+1:

2 Likes

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.