Resources » Qik 2s9v1 User's Guide » 3. Connecting the Qik »3.e. Indicator LEDsLED OverviewThe qik has two LEDs that are used to provide feedback about its state of operation:
Automatic Baud Detection PhaseWhen the qik first starts up in automatic baud detection mode, it enters a phase in which it is waiting to receive the byte 0xAA (170 in decimal) at a baud rate that is within the range of 1200 bps to 38,400 bps. If the serial receive line, RX, is pulled high, as is expected for an idle TTL serial line and the default state of an unconnected RX, the green status LED flashes on and off evenly every 0.4 s. If the serial receive line is held low, this is indicative of a bad serial connection and the red error flashes on and off evenly every 0.4 s (with the green status LED off). Once the baud is detected, this phase ends and the qik proceeds to normal operation. Firmware version 2 only: If a serial byte other than 0xAA is received in this mode, or if 0xAA is transmitted at an invalid baud rate, the red error LED turns on and stays on until the automatic baud detection phase ends. This gives you feedback that the baud has not yet successfully been set and the controller is still in the automatic detection phase. Firmware version 1 flashes the red LED very briefly if a serial byte other than 0xAA is received in this mode, which can make it difficult to tell that the qik detected any serial activity. Normal OperationIn normal operation, the green status LED very briefly flashes a heartbeat every two seconds. If any serial activity is detected, the green LED turns on until the next heartbeat turns it off. If a serial error occurs, the red LED turns on and remains on until you issue a get-error command (see Section 5.b). Demo ModeIn demo mode, the LEDs will cycle through the pattern:
This cycle takes several seconds, and each of the four LED states corresponds to a different output state of the qik’s motor ports. When the red error LED is on, motor M0 is active, and when the red error LED is off, motor M1 is active. When the green status LED is on, the active motor is moving forward, and when the green status LED is off, the active motor is moving in reverse. |
|
Log In
|
Wish Lists
|
BIG Order Form
|
Shopping Cart
US toll free: 1-877-7-POLOLU ~
(702) 262-6648 |
|||||||||||||
| Catalog | Forum | Resources | Distributors | Ordering | About | Contact | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|