Controlling the DC motors
The motors cannot be driven by the Arduino PWM outputs directly but they must pass through a motor driver boosting the signal power In our case an
L298N 
bridge is used, which is well described on
this page
.
This table shows how the driver module is connected to the Arduino Uno:
EN A | IN 1 | IN 2 | IN 3 | IN 4 | EN B |
10 | 11 | 9 | 6 | 5 | 7 |
The following pins on the Arduino Uno are PWM pins:
3,5,6,9,11
--
Uli Raich - 2017-11-21
Comments
Topic revision: r2 - 2017-11-21
- uli