Guidance Needed for Controlling an Aquarium Mini Water Pump - Solar Controller 5V - Alarm Out

userHead FIlipe.Falcao 2024-11-14 21:10:03 808 Views6 Replies

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!
 

2024-11-25 23:36:20

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?

userHeadPic FIlipe.Falcao
Marcus.Lossner wrote:

Try to pull the EN low with a 10K resistor to ground.

2024-11-26 00:05:47
FIlipe.Falcao wrote:

Hi Marcus?
Would it work if I move the jumper on the blue pins from EN/BAT to the left GND/EN

2024-11-26 02:00:27
2 Replies
2024-11-16 23:27:44

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!

userHeadPic Marcus.Lossner
2024-11-16 23:09:28

Marcus,
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?

userHeadPic FIlipe.Falcao
2024-11-14 23:01:51

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?”.

userHeadPic Marcus.Lossner