v1.3.2.1
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.1.zip)
cd
unzip v1.3.2.1.zip
mv CubeSatSim-1.3.2.1 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.rpipicow.uf2
is included with this release (https://github.com/alanbjohnston/CubeSatSim/releases/download/v1.3.2.1/Payload_BME280_MPU6050_XS.v1.3.2.rpipicow.uf2) and should work with a Pico or Pico W board. NOTE: the previous STEM Payload release v1.3.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:
- Fixed bug in FSK and BPSK mode that caused FoxTelem to drop frames at regular intervals
- Battery voltage and current and payload sensor data written to telem.txt in all modes. Clearing logs moves old telem.txt file to and clears telem.txt
- Flush serial data from payload sensors before a read to avoid buffered data being sent
- CW ID is sent using rpitx instead of FM transceiver to avoid startup issues
- Bug in CW mode where only one frame is sent is fixed
- Arduino code for payload now compiles for Pico with either Mbed Board or Arduino-Pico Board, or Pro Micro
- Arduino code to estimate temperature using a diode is calibrated for Pico
- New payload_extension.cpp file in Payload_BME280_MPU6050_XS Arduino code for adding sensors without modifying main STEM Payload code. An example is in Payload_BME280_MPU6050_XS_Extended
- CubeSatSim/config -p displays payload sensor from STEM Payload board
- CubeSatSim/config -v displays INA219 voltage and current data
- battery threshold voltage for auto shutdown is reduced to 3.5V for longer battery life
What's Changed
- Beta v1.3.2 by @alanbjohnston in #293
- Beta payload by @alanbjohnston in #294
- Payload upport for Mbed and RP2040 Boards in Arduino IDE by @alanbjohnston in #296
- Arduino payload changes by @alanbjohnston in #297
- bug fix FSK/BPSK sync loss by @alanbjohnston in #298
Full Changelog: v1.3.2...v1.3.2.1