Skip to content

2.0 Setup

mmontee edited this page Jun 8, 2025 · 9 revisions

2.0 Setup


2.1 Software

2.1.1 Pre-Setup

You will need to install the following programs


2.2 Code Environment

NOTE: Currently only supports Windows

2.2.1 Cloning The Repo

This repo uses submodules to pull in the APIs for the different test equipment used in the observatory. To clone the repo, while also setting up the submodules, use the following command:

git clone --recurse-submodules https://github.com/HailStorm32/WEST-Lab-Capstone.git

2.2.2 Run Setup Script

Navigate to the Code directory in a terminal (powershell) and run setup_env.bat

This script will setup the python virtual environment and directories

After running the script you should now have a env directory.

2.2.3 Running in The Virtual Environment

You can run Python scripts within the virtual environment one of three ways:

2.2.3.1 Entering the ENV

In a Command Prompt terminal, in the Code directory, run env\Scripts\activate to enter the virtual environment. Any commands ran here will be run using the virtual Python interpreter.

To leave, run deactivate

2.2.3.2 Pointing to the ENV

To run scripts in the environment without entering it, you can use the path to virtual Python interpreter like as follows

env\Scripts\python.exe path/to/script.py
2.2.3.3 ENV in IDE

You can point your IDE to the virtual Python interpreter, enabling you to run the scripts from the IDE. The interpreter is located at Code\env\Scripts\python.exe

2.3 Test Setup

See section 6.0


2.4 Observatory Assembly

2.4.1 Preperation

To begin users will need all equipment listed in the BOM in addition to having assembled the PCB.

Review each piece of equipment and the cabling needed for its use. For example where the USB connection will need to be made.

Photo of enclose with assembled PCB.
Figure 2.4.1.1 Observatory enclose with assembled PCB.

2.4.2 Mounting Panel

  • Remove the mounting panel from the box.

  • Arrange testing equipment, PCB and USB hubs into desired position on the mounting panel. Its important to consider the position on the equipment's cabling

  • For equipment that have bolt patterns make the bolt pattern position on the panel.

  • Use a drill to remove material at marked locations.

  • Mount standoffs to panel.

Photo of panel with standoffs mounted.
Figure 2.4.2.1 Panel after having all standoffs mounted with commands strips in place.

  • The remaining equipment should be fixed using the command strips.

2.4.3 Equipment Mounting

  • With all standoffs in place fix all equipment with bolts.

Photo showing all standoff mounted equipment in place.
Figure 2.4.3.1 Panel with all standoff mounted equipment fixed in place.

  • If standoffs have various heights start mounting the lower most first. Using standoffs of different lengths reduces the interference between cables. The prototype shown uses standoffs of three different lengths; ¼”, ¾” 2”.

Photo showing equipment mounted at varying heights.
Figure 2.4.3.2 Panel after having all standoffs mounted with commands strips in place.

  • Any equipment that will mount the the panel with commands strips should be put into its place.

Photo showing all panel mounted equipment in place
Figure 2.4.3.2 Panel with all panel mounted equipment in place.

2.4.4 Cables

2.4.4.1 RF Cables

  • Below in Figure 2.4.4.1.a red labels are used to indicate needed connections.
  • Surrounding the RF power splitter is the set of labels '1','2','S' map to the physical label on the splitter.
  • Radiation from the splitter are the connected coax cables. Each labeled with the device it should be connected to.
  • Between the 'S' connection on the splitter and the ADALM-PLUTO RX coax place the necessary attenuators as shown.

Photo RF power splitter with attached coax cables.
Figure 2.4.4.1.a RF power splitter with attached coax cable and inline attenuators.

  • Figure 2.4.4.1.b, shown below shows the coax and attenuators routed and connected to their respective equipment.

Photo the routed and connected coax RF cables
Figure 2.4.4.1.b Routed and connected RF signal coax cables.

2.4.4.2 USB Cables

Photo showing all USB cables connected between equipment and USB hub.
Figure 2.4.4.2.a All USB cables routed and connected between the test equipment and USB hub.

2.4.4.3 Jumper Wires

Photo showing the jumper wires between the nrf52840 and Observatory PCB
Figure 2.4.4.3.a Six wire connecting the nrf52840 and Observatory PCB supply power and DUT SCuM programming interface.

Photo showing the jumper wires connected to the FPGA header
Figure 2.4.4.3.a S Two sets to wires routes all GPIO to a FPGA and back to the Observatory PCB.

2.4.5 Box

Clone this wiki locally