Frequently Asked Questions
Is there a factory test procedure to verify the operation of the navX-Sensor products?
The navX-Sensor Factory Test Procedure verifies correct operation of the circuit board and it’s key components. The navX-Sensor Factory Test Procedure is performed in the factory to verify initial correct operation, and may be run at any later point in time to re-verify correct operation.
Test Procedure
- Press the “Reset” button on the board to begin executing the firmware self-tests
- Test1 (Reset Button Test): Verify that the “RESET” button successfully causes the software to restart
- Failure indicates a problem w/the “RESET” button or associated pull-up resistor.
- Test2 (Orange/Green LED Test): Verify all LEDs are working. The Orange “CAL” Led and the two Green “S1” and “S2” LEDs should turn on briefly after the firmware restarts.
- Failure indicates a problem w/one or more of the LEDs or their corresponding current-limiting resistors.
- Test3 (Gyroscope/Accelerometer/Magnetometer Sensor Selftest): Sensor Selftest. NOTE: The circuit must be still, and it must have the top of the circuit board pointing directly up (away from the earth), in order to pass successfully. The first time (and only the first time) the board is started after firmware is reloaded, a self-test will run (for approximately 5 seconds). If this succeeds, proceed to Test 8. If this fails, the “CAL” Led will continue to flash quickly, and the selftest will be run again until it passes. If it succeeds, the software will proceed automatically to Test 8 (see below).
- There are two possible reasons for failure of the self test:
- Communication Failure over I2C bus to a sensor IC. This case is identified by both green “S1” and “S2” LEDs being off while the orange “CAL” LED is flashing quickly.
- Sensor not Still or not Flat – or Sensor Failure. This case is identified by the green “S2” LED being on while the orange “CAL” LED is flashing quickly. Be sure to hold the board still, and be sure the top of the circuit board points directly up (away from the earth). If the self-test still fails after verifying the board is still and flat for several seconds, this indicates a problem w/one or more of the sensors ICs.
- This failure is sometimes indicated the S1 and S2 LEDs blinking in alternating order.
- There are two possible reasons for failure of the self test:
- Test4 (Inertial Sensor Calibration): The first time the board is started after firmware is reloaded, and after the selftest has successfully passed, the firmware will perform inertial sensor calibration. Inertial sensor calibration executes for approximately 20 seconds. During this time, the sensor must be held still, and should be held flat, and the orange “CAL” LED will flash slowly. Once the calibration is complete, the orange “CAL” LED will turn off.
- Failure of this test is due to the board not being held still. Re-run the test and be sure to hold the board still.
- Test5 (Normal State): Once the Sensor Selftest and Inertial Sensor Calibration are complete, the Orange calibration LED should be OFF, and the S1 and S2 status LEDs should be on.
- Test6 (navX2-MXP/navX-MXP Only: MXP Power Connector Test): Remove the USB cable. Apply +5V DC to pin 1 of the 34-pin “MXP” connector on the bottom of the board, and GND to pin 6 of the same connector.
- Verify the red “3.3V” LED comes on.
- Failure indicates a problem w/the on-board op-amp, the N-Channel MOSFET, or the 34-pin MXP connector.
- Test1 (Reset Button Test): Verify that the “RESET” button successfully causes the software to restart
navX-sensor LED States
Condition | CAL (Orange) | S1 (Green) | S2 (Green) |
---|---|---|---|
Startup (1 second) | On | On | On |
Selftest/Accelerometer Calibration | Fast Flash | Off | On |
Gyro Calibration | Slow Flash | On | On |
Normal | Off | On | On |
- Note: If the S1 LED is off during Gyro Calibration or Normal State, this indicates interrupts are not being received from the sensor ICs.
- Note: If the S2 LED is off at any time except briefly after Startup, this indicates a problem communicating to the sensor ICs from the STM32F4 over the internal I2C bus.
Last Updated 7 years ago