Hello there guys...
Just a little unsure of the fine calculating with this.
Is this circuit useable. And im not sure of the correct components.
See attached image of circuit.
I will work on the code later. First I want this circuit to be ok. Arduino will be powered from this circuit.
The plan is to use this on a pump in a room in my basement where there is always water coming in. And want the pump to start when water high is triggered, and stop when water level hits water low.
The sensor s is just plain wires that will trigger the NPN transistor and give a signal to arduino.