Digit PCB Test

Run the tests in this section after assembling each digit PCB to ensure all components are soldered correctly and functional. Any defective electronic component on the digit PCB must be replaced before completing the project.

Prerequisites

Test the Motor and LED Segments

  1. Open the Deployed Project:
    From Visual Studio Code, open the deployed digit project. (A) Click the file menu, (B) select the digit folder, then (C) click the Select Folder button.
    testpcbactuator-prerequisite
  2. Connect the Raspberry Pi Pico:
  3. Connect the Actuator:
    • Plug the Dupont connector from the actuator into the SEG-A pins.
    • Ensure the white wire is connected to the CW pin and the black wire to the CCW pin.
      digitpcbtest-2
  4. Open the Test File:
    From Visual Studio Code, (A) click on the digit.py file, then (B) select the MicroPico vREPL from the terminal menu.
    digitpcbtest-3
  5. Run the Test Application:
    • (A) Verify the connection between your computer and the Raspberry Pi Pico.
    • (B) Click the Run button to execute the test application for the digit PCB.
      digitpcbtest-4
  6. Test Segment A:
    • The console test application displays options for segments 0-6, corresponding to segments A-G.
    • Extend SEG-A by typing e0 in the console.
      digitpcbtest-6
  7. Verify Segment A:
    • The 4 SEG-A LEDs should light up, and the motor should briefly turn on.
    • Retract SEG-A by typing r0 in the console.
      digitpcbtest-7
  8. Test Remaining Segments:
    • Repeat steps 6 and 7 for SEG-B through SEG-G to verify all segments work as expected.
    • Perform this test for all digit PCBs (0-3).