Hi i'm doing a hobby project with DC motor...
I'm using a 12v, 40amps DC motor to run an electric vehicle. I need to know how to control the speed of the DC motor (like giving acceleration to the vehicle) with arduino.
Also if the motor reaches certain RPM (for example 600rpm) the power supply to the motor should Cutoff.
Please tell me how to do it and also help me with the codes.