Pololu Qik 2s9v1 User Manual
Qik 2s9v1 user's guide

1. Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
2. Contacting Pololu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
3. Connecting the Qik . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
3.a. Power and Motor Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
3.b. Logic Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3.c. Included Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3.d. Jumpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3.e. Indicator LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3.f. Board Dimensions and Mounting Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
4.a. TTL Serial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
4.b. Baud Rates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
4.c. Command Protocols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
5.a. 0x81: Get Firmware Version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
5.b. 0x82: Get Error Byte . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
5.c. 0x83 & 0x84: Get & Set Configuration Parameter . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
5.d. 0x86 & 0x87: Motor M0 & M1 Coast . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
5.e. 0x88 – 0x8F: Set Motor Forward/Reverse . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
7. Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
8. Arduino Library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Qik 2s9v1 User's Guide
© 2001–2012 Pololu Corporation
http://www.pololu.com/docs/0J25
Page 1 of 24
Document Outline
- Qik 2s9v1 User's Guide
- 1. Overview
- 2. Contacting Pololu
- 3. Connecting the Qik
- 4. Serial Interface
- 5. Serial Commands
- 5.a. 0x81: Get Firmware Version
- 5.b. 0x82: Get Error Byte
- 5.c. 0x83 & 0x84: Get & Set Configuration Parameter
- 5.d. 0x86 & 0x87: Motor M0 & M1 Coast
- 5.e. 0x88 - 0x8F: Set Motor Forward/Reverse
- Motor M0 Commands
- Command 0x88: Motor M0 Forward
- Command 0x89: Motor M0 Forward (speed + 128; used in 8-bit mode)
- Command 0x8A: Motor M0 Reverse
- Command 0x8B: Motor M0 Reverse (speed + 128; used in 8-bit mode)
- Motor M1 Commands
- Command 0x8C: Motor M1 Forward
- Command 0x8D: Motor M1 Forward (speed + 128; used in 8-bit mode)
- Command 0x8E: Motor M1 Reverse
- Command 0x8F: Motor M1 Reverse (speed + 128; used in 8-bit mode)
- 6. Cyclic Redundancy Check (CRC) Error Detection
- 7. Troubleshooting
- 8. Arduino Library