Hey, so my problem is that the water pump and the relay doesn't work. The water pump should start when the moisture level drops to a certain point. I hear only a clicking from the relay, and that's it, and lcd screen+arduino freezes for a few seconds(not even the green light from the relay turns on). Water Pump used to work before I rewired the project. Any advice would help!
This is how I wired it:
I don't see a common ground connection between the two breadboards.
If the pump draws more than 100mA, then the power connections should NOT go through the breadboard
I'm using the breadboards separately. I use a breadboard only for the relay and water pump, connected to a 3.7V Li-ion battery, connected to a 5v step up module. The breadboards are not connected one to each other. I got KiCad schematics for every component if it helps..
As I can see, yes. I use a switch for the solar cells so I can charge my Li-Ion batteries using a wall adapter, so I don't burn on the charging module.
I use another switch to turn on and off my project. Until now all good.
Oh, there is no one to be honest, I didn't knew that. It used to work without using a common ground connection between the relay and Arduino. So I should connect the relay GND to the other breadboard connected to Arduino GND?
As soon as I can I will connect all grounds together and try to eliminate the pump connections thru the breadboard.
One question, why the pump should not go through the breadboard?
Breadboards can't handle large currents. If the pump uses more than 100mA, you should connect it directly to the relay and power supply, without the breadboard
Hi,
Can we please have a circuit diagram?
An image of a hand drawn schematic will be fine, include ALL power supplies, component names and pin labels.
I don't mean the one you have posted bits of with netname connections.
We need a proper schematic with ALL signal wires shown/drawn.
You can still use 5V, gnd connections as netnames.
But you need to be able to show easily a signal flow from input devices to your controller and to output devices from your controller.
Please pay attention to gnd and supply connections.