Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: MotCon2 QEI USBDevice mbed
You are viewing an older revision! See the latest version
Homepage
Teensy 3.2 Quadrature Encoder Motor Control with USB Serial Connection¶

MC33926 Motor control board Pinout (Pololu board https://www.pololu.com/product/1212)¶
MC Board - Teensy INV D5 (Direction Pin) SLEW Vcc (3.3V) EN Vcc (3.3V) FB 220 ohm to ground, 1K in series with 4.7uF low pass to A0 on Teensy (current read) !SF Not Connected !PWM / D1 GND PWM/!D2 D4 (PWM Pin) IN1 GND IN2 Vcc (3.3V) VDD Vcc (3.3V) GND GND Vin Not Connected
Encoder Channels PhaseA D2 PhaseB D3