Levitation Clock Test Procedure Manual P13321-DOC-TESTW
Rochester Institute of Technology /Test Procedure Manual /
P13321 – Levitation Clock /
Kevin Fronczak, Trong Duong, Holden Sandlar /
3/12/2013 /
Table of Contents
General Test Plan
User Interface Board
Required Parts
Procedure
Main Control Board
Driver Signaling and RGB LED Test
Required Parts:
Procedure:
RTC Test
Required Parts:
Procedure:
Full System Test
Required Parts:
Procedure:
General Test Plan
The levitation clock system is tested in four parts. This is to ensure that the functionality of each subsystem is tested before the system is fully integrated. The subsystems are tested in the following order:
- User Interface Board
- Main board driver signaling test and RGB LED test
- Main board real-time clock (RTC) test
- Full system test
The following sections detail the procedures required to perform the listed tests.
User Interface Board
Required Parts
Name / Part Number / QuantityFully Assembled User Interface Board / P13321-PCB-UPCBA / 1
Female-Male Wires / 12
Male-Male Wires / 12
Arduino UNO Dev. Board / 1
Breadboard / 1
Power Supply / 1
Arduino programming cable / 1
Computer to program Arduino / 1
DIP Socket chip removal tool / 1
Procedure
- Gather necessary parts and prepare a static-safe work environment.
- Plug the Arduino UNO development board into computer using the programming cable and launch the Arduino IDE.
- Load the “Test_UI_Board.ino” sketch
- Sketch found at :
- Configure the correct serial port and board type in the Arduino IDE (these options are found under Tools > Serial Port and Tools > Board, respectively).
- Upload the sketch to the board (Shortcut: Ctrl+U)
- Disconnect the Arduino UNO from the programming cable
- Wire the Arduino UNO to the breadboard as shown in Figure 1. A table of pin connections can also be found in Table 1.
Figure 1: User Interface test schematic
Arduino IO Pin / Data Cable Pin / Signal Name6 / 1 / DATA1
3 / 2 / DATA2
12 / 3 / CLK
13 / 4 / RST
4 / 5 / DATA3
5 / 6 / DATA4
2 / 7 / SW1
8 / 8 / SW2
7 / 9 / SW3
GND / 10 / GND
Table 1: Pin connections for user interface test setup
- Turn 5V power supply on
- Confirm that the 7-segment displays are flashing all segments on for half a second then all segments off for half a second.
- Press SW2 and confirm that the displays count down from 9 to 0
- Press SW3 and confirm that the displays count up from 0 to 9
- Press SW1 and confirm that the 7-segment displays return to their initial, blinking state
- Turn power off and report results of test
Main Control Board
Driver Signaling and RGB LED Test
Required Parts:
Name / Part Number / QuantityFully assembled main control board / P13321-PCB-MPCBA / 1
Power supply / 1
Digital multimeter / 1
Arduino UNO Dev. Kit / 1
Computer to program arduino / 1
DIP Socket Chip Removal Tool / 1
Procedure:
- Connect Arduino UNO Dev. Kit to computer
- Upload the “Signal_and_LED_test.ino” sketch to the Arduino UNO
- Sketch found at:
- Remove the Arduino UNO from the development board and connect firmly into socket on the main control board
- Wire power and ground to connector J2 of the main control board
- Apply power and check for red, green, and blue colors displaying on the LED over a period of five seconds.
- Use the digital multimeter to measure TP1, TP2, TP3, TP4 during the five seconds and ensure that the voltage toggles between 0 V and 5 V on each test point.
- Turn power off and report results of the test
RTC Test
Required Parts:
Same as for the Driver Signaling and LED Test
Procedure:
- Carefully remove ATMEGA from socket on Main control board and place into Arduino UNO Dev. Kit
- Connect Arduino UNO Dev. Kit to computer
- Upload the Test_RTC.ino Sketch to the chip
- Sketch found at:
- Carefully remove the ATMEGA from the Arduino UNO Dev. Kit and place into main control board
- Attach power lines to the main control board
- Apply power and look for the following sequence to occur:
- The LED will turn from Green to Blue to Red to indicate the LED is operational
- Next, the LED will turn Green and after 1 second will either start flashing green or turn solid red
- Observe the color of the LED and ensure that it is flashing green
- If it is flashing Red, ensure the RTC chip is properly oriented and fully seated in its socket
- Turn power off and report results of the test
Full System Test
Required Parts:
Name / Part Number / QuantityAssembled main control board / P13321-PCB-MPCBA / 1
Assembled user interface board / P13321-PCB-UPCBA / 1
User interface data cable / P13321-DRW-UIDCV / 1
User interface power cable / P13321-DRW-UIPCV / 1
AC Adaptor / 1
Solenoids / P13321-DRW-SLNDV / 4
Arduino UNO Dev. Kit / 1
Computer to program arduino / 1
Digital Multimeter
DIP Socket Chip Removal Tool / 1
Procedure:
- Connect the user interface data cable from J1 to J3
- Connect the user interface power cable from J5 to J4
- If the ATMEGA is inserted in the main control board, remove it using the removal tool and insert it into the Arduino UNO dev. kit.
- Upload the test sketch “SystemDesign.ino” to the chip
- Sketch found at:
- Remove the chip from the dev. kit and insert back into the main control board.
- Connect the main board power cable to J2
- Ensure that the user interface functions properly (see User Manual for details on operation)
- Using the user interface, toggle through five minute intervals and ensure the LED changes color
- Using the digital multimeter measure TP1, TP2, TP3, and TP4 on the main board when the hour is set to 1,2,4,8 and look for results of ‘0001’, ‘0010’, ‘0100’, ‘1000’, respectively for TP’1234’ where ‘0’ = 0 volts and ‘1’ = 5 volts.
- Remove main board power cable from J2
- Unplug AC Adaptor from wall
- Perform Tuning of Solenoid Drivers (TUNING MANUAL DOC NUMBER HERE)
- Looking at the clock from the front, plug the left-most solenoid into JS1 on the main control board. Plug the remaining solenoids in – the connector order for the solenoids from left to right (looking at the clock straight-on) is JS1, JS2, JS3, JS4.
- Connect main control board power cable to J2
- Assemble rest of clock
Page 1 of 7