EN must be at logic "1" to enable the motor function.
IN1 at logic "1" (with IN2 at logic "0") rotates the motor to the Right.
IN2 at logic "1" (with IN1 at logic "0") rotates the motor to the Left.
To rotate Right, set EN & IN1 @ logic "1" & IN2 @ "0".
On either side (near the top, see board) are indicator LEDs.
Below are some pictures of the actual board:
Terminal block showing IN1, EN, & IN2 |
ET-MINI DC-MOTOR |
Also shown are +Vcc, GND (obscured)
& two other terminals to be used later.
The software is posted separately.
No comments:
Post a Comment