Why is my arduino not suppling power to my relay and soil moisture sensor


I am trying to create a automated plant watering system but my relay and soil moisture sensor are not powering up by Arduino Pls Help

Because the Uno is not made to be a power supply for motors and relays and solenoids.

So what should I do Should I attach a external power supply

You could attach an external power supply, that's what I did to my play watering thingy.. Don't forget to connect the grounds.

what about the soil sensor it is also not powering up

VIn is not a Vout.

what is vout

Voltage out.

VIN, Voltage In.

so should i attach it on 5 v in the uno

That is one place to get 5V. If you used an external 5V power source then all the things could be powered from the external.

Thank You Idahowalker

1 Like

Oh, those motors create a siphon. Which will continue to water the plant when motor power is off. I use a solenoid to stop the siphon.

ok ty

Your pump wiring in the above diagram...
Connect the pump's positive lead to the power source that will run it (and Not to the relay)
Use your relay to switch the negative lead of the pump.
Keep in mind the current/voltage limits of the relay.
The green wire connected to Vin makes no sense.
Should that not be connected to a voltage (3.3 or 5vpins) so your soil probe will then work??

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