This is an example of how to add a sensor by modifying the payload_extension.cpp file This code adds a Adafruit LIS3MDL 3-axis magnetometer https://www.adafruit.com/product/4479 For full details on how to compile this code, see https://github.com/alanbjohnston/CubeSatSim/wiki/Adding-New-Sensors You will need a micro USB cable to connect your computer to the Raspberry Pi Pico W.