Repository navigation
2.0 Setup
You will need to install the following programs
- Git
- Python 3.10.11 or greater
-
Embedded Studio for ARM (legacy) version 5.70a
Needed for the nRF driver
-
WaveForms
NOTE: Needs to be installed to
C:\Program Files (x86)\Digilent -
Windows Driver for Adalm-Pluto SDR
The observatory is currently setup to operate under Windows OS. Future work may be done to adapt to other operatings systems. NOTE: When using multiple Adalm-Pluto SDRs, the IP addresses of each device must be unique, and are modifiable through the device configuration files. (https://wiki.analog.com/university/tools/pluto/users/customizing)
-
Yepkit Executable
NOTE: You need to install the Windows version, you will need to keep default install location:
C:\Program Files (x86)\YEPKIT LDA - wkhtmltopdf If you plan to use the nightly validation script
NOTE: Currently only supports Windows
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
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.
You can run Python scripts within the virtual environment one of three ways:
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
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
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
See section 6.0
To begin, users will need all the equipment listed in the BOM and the assembled PCB.
Review each piece of equipment and its required cabling. For example, determine where the USB connections will need to be made.
Figure 2.4.1.a Observatory enclosure with assembled PCB.
- Remove the mounting panel from the enclosure.
- Arrange the testing equipment, PCB, and USB hubs in the desired position on the mounting panel. It's important to consider the positioning of the equipment's cabling.
- For equipment with bolt patterns, mark the bolt pattern positions on the panel.
- Use a drill to create holes at the marked locations.
- Mount the standoffs to the panel.
Figure 2.4.2.a Panel after all standoffs have been mounted, with command strips in place.
- The remaining equipment should be affixed using command strips.
- With all standoffs in place, fasten all equipment with bolts.
Figure 2.4.3.a Panel with all standoff-mounted equipment fixed in place.
- If the standoffs have various heights, start by mounting the lowest ones first. Using standoffs of different lengths reduces interference between cables. The prototype shown uses standoffs of three different lengths: ¼”, ¾”, and 2”.
Figure 2.4.3.b Panel after all standoffs have been mounted, with command strips in place.
- Any equipment that will be mounted to the panel with command strips should be put into place.
Figure 2.4.3.c Panel with all panel-mounted equipment in place.
- Both the Analog and Digital Discovery attach to a header on the Observatory PCB. Both PCB headers are labeled with the device's name and an arrow ('top->') to indicate the direction the top surface of the equipment should be facing.
- Shown below in Figure 2.4.3.d are the Analog and Digital Discovery after being pressed onto their headers.
Figure 2.4.3.d Attached Analog and Digital Discovery.
- In Figure 2.4.4.1.a below, red labels indicate the necessary connections.
- The labels '1', '2', and 'S' around the RF power splitter correspond to the physical labels on the splitter.
- Radiating from the splitter are the connected coax cables, each labeled with the device it should be connected to.
- Place the necessary attenuators between the 'S' connection on the splitter and the ADALM-PLUTO RX coax, as shown.
Figure 2.4.4.1.a RF power splitter with attached coax cable and inline attenuators.
- Figure 2.4.4.1.b, shown below, displays the coax and attenuators routed and connected to their respective equipment.
Figure 2.4.4.1.b Routed and connected RF signal coax cables.
- All equipment routes its USB connection to the hub, except for the nRF52840-DK. The nRF52840-DK routes its USB connection to the YEPKIT, which is a small, command-line controlled USB hub. The YEPKIT up-streams to the larger USB hub that connects all equipment. Additionally, the YEPKIT requires two USB connections: one for control and the other for power.
Figure 2.4.4.2.a All USB cables are routed and connected between the test equipment and the USB hub.
- Zip ties and adhesive back mounts were used to secure cabling to the mounting panel in the prototype as shown in Figure 2.4.4.2.b.
Figure 2.4.4.2.b All USB cables are routed and connected between the test equipment and the USB hub.
- Three groups of jumper wires are used to connect equipment to the Observatory PCB.
- Six wires connect the nRF52840-DK as shown in Figure 2.4.4.3.a.
- Three wires are used to connect the USB to a serial UART converter.
- A set of 16 wires is used to route all GPIO signals through an FPGA, as shown in Figure 2.4.4.3.c.
- The diagram in Figure 2.4.4.3.a shows the six necessary connections between the nRF52840-DK and the Observatory PCB.
Figure 2.4.4.3.a Connection between Sulu and the nRF52840.
Figure 2.4.4.3.b Six wires connecting the nRF52840 and Observatory PCB supply power and the DUT SCuM programming interface.
Figure 2.4.4.3.c Two sets of wires route all GPIO to an FPGA and back to the Observatory PCB.
Figure 2.4.4.3.d Top-down look at jumper wires connected to the FPGA's I/O.
Figure 2.4.5.a Sulu pressed into the provided headers.
- A power drill can be used to create an opening for a rubber grommet to be installed. This provides a safe pass-through for the USB hub's downstream cable as well as the 12V power supply. Figure 2.4.6.a below shows the grommet used on the prototype.
Figure 2.4.6.a Rubber grommet installed into the enclosure with USB and power cables passed through.
- Some equipment may mount to the internal walls of the enclosure. Figure 2.4.6.b shows the command strip mounts used for the Joule Scope in the prototype.
Figure 2.4.6.b Some equipment may mount to the interior wall of the enclosure, as the Joule Scope did in the prototype pictured.
- After all panel-mounted equipment is mounted and connected, place the panel into the enclosure and secure it in place using the provided hardware and holes in the interior corners of the box.
Figure 2.4.6.c The mounting panel is placed into the enclosure after all equipment is mounted and cabling is routed, then secured.
















