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

userHead FIlipe.Falcao 2024-11-14 21:10:03 225 Views3 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-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