hi I want to control a 12v motor with a PWM signal. i want the speed to vary according to the speed of an wheel turning. For measuring the speed of the wheel ill use an IR speed sensor (image attached)
can someone please help me with the code and mosfet selection. The pump draws 1.5A at 12v max
greetings jim vogelzang