Example program for the Teensy 3.2 micro-controller board using the QEI quadrature encoder library, the USBSerial.h library for serial port interface, and MotCon.h for motor control

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

/media/uploads/jebradshaw/20180111_144608.jpg

MC33926 Motor control board Pinout (Pololu board https://www.pololu.com/product/1212)

MC Board - Teensy

  • INV /t/tD5 (Direction Pin)
  • SLEW /t/tVcc (3.3V)
  • EN /t/tVcc (3.3V)
  • FB /t/t220 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

All wikipages