the motor driver L293D controlling the direction of motor, i want to use limit switch to control two position of motor
I am developing a automatic gate project. I want the DC motor stopped as soon as the gate closed or opened completely. I use IC L293D to control the motor forward or backward. This project is also using Arduino. I plan to use a limit switch to control the movement of DC motor.