-
Notifications
You must be signed in to change notification settings - Fork 49
gShield Test Instructions
Alden Hart edited this page Mar 17, 2014
·
41 revisions
#Instructions Revised March 17, 2014 Please note - these instructions have been revised. Some of the pictures are outdated. The text however, is accurate for the newer test procedure.
The following shorthand is used in these instructions:
Term | Description
-----|--------------
DUT | Device Under Test. They gShield board that is being programmed and tested
TESTER | The green board with the single inline connecters, 18 pogo pins, and the wired motor and power connectors
DUT POWER | The switch that supplies power to the DUT is located on the upper right hand side of the tester board
ARDUINO | An Arduino UNO is seated on the left hand side of the tester. It is pre-loaded with the test sequence and should run the test sequence whenever the DUT POWER is applied, or the RESET button is pressed
These steps only need to be completed once at the start of a test run.
** This picture is outdated. The new test rig differs in the following ways:
- The power supply has been replaced with a bench power supply with ammeter and volt meter. The supply is rated 0 to 30 volts, 0 to 3 amps
- The NEMA17 motors pictured have been rep[laced with larger NEMA23 motors.
- A new Arduino with a revised test procedure has been provided. Please remove the Arduino from the tester, label as "Test Revision 1". and set aside. Please replace the Arduino with the Arduino containing the new test program.
**
- SETUP STEP 1 Inspect the test rig and verify against the picture above
- Verify there is one TESTER board with 18 cup head pogo pins
- Verify the is an Arduino UNO mounted on the tester with the revised test program
- Setup Step 2 Connect the bench power supply to the tester. The black terminal (negative) connects to the GND of the tester. The red terminal (positive) connects to the +Vmot terminal of the tester.
- SETUP STEP 3 Connect three stepper motors to the tester as per the picture
- SETUP STEP 4 Align motor flags so they all point in the same direction - e.g. the 12:00 position.
- SETUP STEP 5 Turn off DUT POWER using switch on upper right side of tester and connect the AC power cord
- SETUP STEP 6 Turn on DUT POWER and verify that the blue LED on the tester is lit. Turn off DUT POWER.
Setup is now complete.
Run these steps for each board to be tested. Each DUT should take less than 1 minute to complete testing.
- STEP 1 Turn the power setting potentiometers (P1, P2, P3) to the 4:00 position as shown in the following pictures
- STEP 2 Place a jumper on Motor3 as per the pictures below. The jumper does not connect anything and does not affect the test, it's just needed to be placed before for final packaging.

- STEP 1 Turn off DUT POWER using switch on upper right side of tester
- STEP 2 Plug the DUT into the tester. Make sure POGO pins make contact. You will need to hold down the DUT on the right hand side during test.
- STEP 3 Turn on DUT POWER power using switch on upper right side of tester
- Verify that the DUT blue LED D2 is lit
- STEP 4 Watch the motors and make sure they complete this sequence:
- Motor 1 (top motor) turns clockwise at high speed for about 2 seconds, CCW for about 2 seconds and stops with the flag in the starting position (12:00).
- Motor 2 does the same
- Motor 3 does the same
- All three motors do the same simultaneously
- All three motors turn clockwise at low speed for about 2 seconds, reverse for about 2 seconds and stop with the flags in the 12:00 starting positions
- STEP 5 Turn off DUT POWER and wait until the blue power LED (D2) is completely off before proceeding to Step 6.
- STEP 6 Verify the blue power LED (D2) is completely off before removing DUT from the tester.
If you need to restart the motor sequnce press the RESET button located on the lower right side of the tester.
You can now prepare and test the next DUT board.


