Hi all, I have an Arduino Mega and a Solenoid Lock.
The Solenoid lock requires a 12V power supply, so I am using a 3S Lipo and a 5V relay switch so that the Arduino can send a signal to the relay to trigger the Solenoid.
However, to power the Arduino, it would be great if I could use the same 3S Lipo instead of getting a 9V battery.
Am I correct that I can connect the:
+Red wire of the 3S lipo to the VIN of the Arduino
+Black wire of the 3S lipo to the GND of the Arduino
+Split the red wire of the 3S lipo so that it also goes to the 5V Relay(for the Solenoid Lock)
+Take the GND wire of the Solenoid Lock and connect it to the GND of the Arduino
For reference, here is what the setup looks like if I use a 3S Lipo for the Solenoid Lock and a separate power source for the Arduino: Control 12VDC Solenoid Door Lock Using A Relay On Arduino - YouTube
I hope this makes sense...