Guidance Needed for Controlling an Aquarium Mini Water Pump - Solar Controller 5V - Alarm Out
Hi,
I'm new to the world of robotics and I need assistance controlling the ON/OFF functionality of an aquarium mini water pump using a camera alarm cable.
I have purchased a camera, a solar 5V controller, a solar cell, a battery, and a water pump. I successfully connected the battery and solar cell to the 5V controller, and I can turn on the pump via USB 5V. Everything is working well so far, but the pump remains constantly on.
I need guidance on how to connect the wiring from the camera's ALARM OUT to enable turning the water pump ON and OFF only when needed. If anyone can help me with this, I would greatly appreciate it!
My camera alarm wires
My 5V Solar Controller
https://www.dfrobot.com/product-1712.html
My current setup:
Would I need any extra board, relay or can be achieved with the current setup?
Thank you!
I´ve connected the 5V out to the + wire from the pump and the GRD to the - wire of the pump.
And trying to use the EN of the controller to ACTIVATE the PUMP with this setup
EN connected to ALARM OUT of the CAMERA
GRD connected to the COM of the CAMERA
Camera used a NO setup
All works good, except when the CAMERA loose power or reboot, since EN is by default HIGH the pump starts and only stops when camera is running again. I want to avoid this by setting EN by default to LOW is this possible?
Try to pull the EN low with a 10K resistor to ground.
Hi Marcus?
Would it work if I move the jumper on the blue pins from EN/BAT to the left GND/EN
That sort of thing is EXACTLY what you need to do! The DC from the charge controller needs to be connected through to the pump through a relay device, with that relay controlled by the camera.
Way to go with the thinking cap!
Marcus.LossnerMarcus,
The pump instead of USB could be connected to the RED jumper and add a MOSFET or RELAY and using ALARM OUT of the CAMERA to OPEN/CLOSE the RELAY and activate the PUMP?
You don't have anything in that circuit that controls to the pump. The board you have is intended to supply constant 5V from either the battery or a solar panel. You must have something connected in the supply-to-pump wiring to control that circuit.
Perhaps you are asking, “Where does the camera fit into this?”.
Marcus.Lossner