Application Notes

Application Note: Using the Motor
Driver on the 3pi Robot and
Orangutan Robot Controllers
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
2. Motor Driver Truth Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
3. Simple Code to Drive the Motors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
4. Variable Speed Control Using Hardware PWMs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
5. PWM-Based Motor Control Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
6. Motor Voltage Waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
7. Using the Trimmer Pot for Motor Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
8. Differences between the Orangutan LV-168 and TB6612FNG-Based Controllers . . . . . . . . . . . . . . . . 11
9. Dealing with Motor Noise . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Application Note: Using the Motor Driver on the 3pi Robot and Orangutan Robot
Controllers
© 2001–2015 Pololu
Corporation
https://www.pololu.com/docs/0J15/all Page 1 of 12

Summary of content (12 pages)