I am planning to make an automatic rain water collector by adding a water sensor and servo motor into the circuit. When the water sensor detect the rain, the lid of the water tank will be opened by the servo motor and when there is no rain, the lid will be closed. The circuit below is used to fill the tank when the rain collected is below x cm. The water pump will be connected to the faucet. Is there any way to make it happen?
Hello
I guess you may have to connect a "rain detection" sensor to your project.
PSEUDOCODE:
if (raining) openTank(); else closeTank();
Have a nice day and enjoy coding.
hey,
you have a great idea. when there is rain the servo motor triggers the lid to open. and when the rain stops the servo motor trigger the lid to close. there is also a condition run which checks the water level. which can control the water pump according to a particular water level.
Do you mean like this? Sorry if I get this wrong because to be honest I am really bad at those technology things and I have never draw a schematic diagram before.
Do people just use that icon in Fritzing because it is the default representation of "a battery" and the more correct ones (I do recall other options) are difficult to find?