Sunday, April 23, 2023

Powering Solenoid Valves, Pump, and Arduino for an Automatic Watering System Project

Hello, I'm working on an automatic watering system project that involves controlling 2 12V DC solenoid valves (this) and a 12V DC pump(this) connected to Arduino Uno through a 5V 4-channel relay. I have a 14V 2.5A AC/DC adapter and an LM2596 step-down voltage regulator to step down the 14V to 12V. The Arduino also measures the water flow using a 5V water flow sensor (this).

I have a few questions regarding the power supply:

  1. Can I supply power to the Arduino Uno by the Vin pin using the same 12V from the voltage regulator?
  2. Should I power the relay coils from the Arduino's 5V pin?
  3. Can I connect the wires from the voltage regulator to a breadboard rail, then supply 12V to the pump and the 2 valves?
  4. Is there anything else I need to take into consideration?

I appreciate any help or advice you can provide. Thank you!