Pump control system without arduino

control

So i saw this schematics
enter image description here
i pretty much understood it all, the comparetors, the sensors, the variable resistors , but because i am a beginner i still dont understand some things.
1- why did he use a diode?
2- why did he use a capacitor?
3- why this 1 k resistor ( circled)
4-why all those crossed connections
5- why use a power mosfet instead of a relay?

Best Answer

  1. The diode is for reverse voltage protection, and to prevent the 100uF capacitor from discharging back into the motor rather than supplying power to the control circuitry.
  2. The capacitor helps the control circuitry maintain a stable voltage when the motor switches on, which consumes large amounts of current and probably causes the supply voltage to drop.
  3. I'd want to do some detailed analysis to be sure, but it looks like a current limiting resistor for the feedback loop around that comparator.
  4. Because the circuit wouldn't work without them.
  5. Because power MOSFET's consume a lot less power to switch than a relay, and using a relay would have required a MOSFET or BJT anyway, so just use a MOSFET and save the size and money.