Beta v1.3.2.3
Pre-releaseThis is a Beta release of the CubeSatSim code for the Beta v1.3.2 PCB boards, although it will also run on the v1.2 boards as well.
To see the full list of changes from v1.2 to this Beta v1.3 version, see https://github.com/alanbjohnston/CubeSatSim/releases/tag/v1.3.2
Here is the info on these boards: https://github.com/alanbjohnston/CubeSatSim/tree/beta/hardware/beta-v1.3.2 The wiki instructions for these boards are here: https://github.com/alanbjohnston/CubeSatSim/wiki/v1.3.2-0.-Home The Bill of Materials is here: https://CubeSatSim.org/bom-beta The Pico code from stempayload/Payload_BME280_MPU6050_XS code is compiled using the Arduino software. Information about how to extend the STEM Payload software with additional sensors is here: https://github.com/alanbjohnston/CubeSatSim/wiki/V1.3.2-Adding-New-Sensors-to-STEM-Payload-Board
To use the release Source Code zip file below, follow these steps after downloading the file (or wget https://github.com/alanbjohnston/CubeSatSim/archive/refs/tags/v1.3.2.3.zip)
cd
unzip v1.3.2.3.zip
mv CubeSatSim-1.3.2.3 CubeSatSim
cd CubeSatSim
./install
./update
Alternatively, you can do these commands to update an existing version:
cd
cd CubeSatSim
git pull --no-rebase
git checkout beta
./update
If you are asked if you want to reboot, answer 'y' for yes. If you aren't asked, you should reboot anyway by typing:
sudo reboot now
For the Raspberry Pi Pico on the STEM Payload board, the binary UF2 file Payload_BME280_MPU6050_XS.v1.3.2.3.rpipicow.uf2
is included with this release (https://github.com/alanbjohnston/CubeSatSim/releases/download/v1.3.2.3/Payload_BME280_MPU6050_XS.v.1.3.2.3.rpipicow.uf2) and should work with a Pico or Pico W board. NOTE: the previous STEM Payload release v1.3.2.2 will work since the updates are minor. To install it, follow these steps:
Plug your Raspberry Pi Pico or Pico W into your computer using the micro USB port while holding down the BOOTSEL button (white button on the Pico). It should mount as a drive RPI-RP2.
Drag the .UF2 file from this release to the Pico flash drive
You can monitor the serial output using Arduino or a terminal emulator such as PUTTY to see the log files or make configuration changes.
This code transmits on the usual 434.9 MHz frequency and the receiver command frequency is 435.0 MHz.
New to this version:
- Bug fix so a callsign entered using the
CubeSatSim/config -c
command is used instead of the default AMSAT. - Changes to the automatic setting of simulated telemetry mode (sim_mode). Will not auto set sim_mode if battery voltage and current sensor is present (i.e. Battery Board is plugged in)
- Pico code now has calibration to the diode temperature sensor on the STEM Payload board. You can use a USB cable plugged into the Pico and the Arduino IDE Serial Monitor to over write the default temperature calibration. By typing a C, a calibration data point is stored in the EEPROM memory. Doing this twice at two different temperatures gives a good linear calibration that is saved across power cycles. Typing a D displays the current calibration data and the raw temperature reading. In addition, gyro calibration is also stored in the EEPROM. To get this code, update your Pico code using the UF2 file.
- Fixed a bug where the STEM Payload status in FoxTelem was always showing as
OK
. Now shows asFAIL
when no sensor data is received by the Pi Zero from the Pico - Minor hardware updates to the PCB files.
What's Changed
- diode temperature calibration to Pico code by @alanbjohnston in #310
- battery sensor sim mode detection by @alanbjohnston in #311
Full Changelog: v1.3.2.2...v1.3.2.3