Frequently Asked Questions

How does one perform a factory-test of the operation of the VMX Robotics Controller?
The VMX Robotics Controller Factory Test Procedure verifies correct operation of the circuit board and it’s key components. The 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

  1. 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 (navX-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 internal I2C bus to the navX-sensor. 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 on the navX-sensor
    • Test4 (navX-sensor Calibration): 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 navX-sensor Selftest and navX-sensor Calibration are complete, the Orange calibration LED should be OFF, and the S1 and S2 status LEDs should be on.

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 navX-sensor.
  • Note: If the S2 LED is off at any time except briefly after Startup, this indicates a problem communicating to the navX-sensor over the internal I2C bus.

Last Updated 7 years ago

Please Wait!

Please wait... it will take a second!