Pwm Control Mode - DFRobot Romeo V2 Manual

All in one controller
Table of Contents

Advertisement

PWM Control Mode
The PWM DC motor control is implemented by manipulating two digital IO pins and two PWM pins. As illustrated
in the diagram above (Figure 5), Pin 4,7 (7,8 for old Romeo version) are motor direction control pins, Pin 5,6 (6,9
for old Romeo version) are motor speed control pins.
Sample Code:
Digital 6
Motor 2 Direction control
Digital 7
Motor 2 Enable control
(/wiki/index.php/File:RomeoMotorJmp.png)
Fig4: PWM Motor
Control Pin
Allocation

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Romeo V2 and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Dfr0225

Table of Contents