Arduino Nano 12v Solenoid Valve Battery Powered

Hello everyone,

I want to control 4 solenoid valves with an Arduino nano with batteries and still have some questions in regards to wiring because I'm an total electronic newbie. All my knowledge comes from reading guides about controling solenoids with an arduino.

Mircocontroller: Arduino Nano
Solenoid Valve: 4x 12v DC (0,3A) - normally closed
12V Battery Case (8x AA Batteries)
12V Power Switch (On/Off) with a small LED Indicator

The valves only need to be opened for a few seconds before closing again.
Each button is for opening either one, two, three or all four simultaneously.

The Arduino Nano can handle 12v on the VIN Pin but I'm not sure if it is wired correctly according to my scheme. Especially I'm not sure about the tactile buttons and the Power Switch with the LED. I hope someone can help me! :slight_smile: Thank you.

The resistors have a common connection to one of the breadboard bus bars but nothing else is connected to it. Is that deliberate ?

Without seeing your code it is impossible to say whether the circuit is wired correctly even without that query

The bottom yellow line is a buss of four wires, it sort of makes sense.I don’t usually look any deeper at Fritzy diagrams, but you’re on the right track.

For power supply, you need to sum the current for all four solenoids (you’re going to fire them all at the same time), and add a bit for the rest of the circuit.

Remember to isolate the ‘dirty’ solenoid power from the Arduino- otherwise spikes & sags will reset the processor.