Beta v1.3.2 for New Hardware
Pre-releaseThis is a beta release of the CubeSatSim code for the Beta v1.3.2 PCB boards. Here is the info on these boards: https://github.com/alanbjohnston/CubeSatSim/tree/v1.3.2/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 Pico code from stempayload/payload_pico is compiled using the Arduino software.
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.zip)
cd
unzip v1.3.2.zip
mv CubeSatSim-1.3.2 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-v1.3.2
./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_pico.ino.rpipicow.v1.3.2.uf2
is included with this release and should work with a Pico or Pico W board. NOTE: the previous STEM Payload release v1.3.1 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:
- Support for the new FM transceiver board for APRS, SSTV, and CW modes. The hardware is automatically detected and the rpitx transmitter used if not present, just like the v1.2 software.
- Simple command and control receiver based on a carrier detected at the default 435 MHz increments the mode and reboots the CubeSatSim as if the pushbutton was used. The green power LED blinks the number of times of the new mode when the command is received. Receiver squelch can be set using the
CubeSatSim/config -q
command. Squelch setting of 8 turns off command and control receiver. - The transmit and receive frequency can be set using the
CubeSatSim/config -F
command. They are entered in the form 4XX.XXXX in the range 420-450 MHz. Changes frequency for both FM transceiver and rpitx transmitter. - Battery saver mode switches from the FM transmitter to rpitx when the battery voltage is low. Set using the
CubeSatSim/config -B
command. Battery saver mode is automatically turned off when the battery is charged, after a reboot. - New Balloon mode. In all modes, no auto Battery saver mode or auto shutdown on low voltage. In APRS mode, Balloon icon instead of satellite icon. Set using the
CubeSatSim/config -H
command - Additional CubeSatSim/config commands including an I2C scan, resetting command count, and clearing logs.
- New v1.3.2 PCB hardware Gerbers, schematics, and other files https://github.com/alanbjohnston/CubeSatSim/tree/beta/hardware/beta-v1.3.2
- New frame STL files https://github.com/alanbjohnston/CubeSatSim/tree/beta/hardware/frame/v1.3.2
- Updated install script to install the beta software from scratch. Updated update script to update an older version of CubeSatSim software to the latest beta. You may need to run the update script twice and reboot.
- Always reboots after each mode change, using push button or config command
- New STEM Payload Arduino software for the Raspberry Pi Pico. Includes support for a serial GPS module and includes a Squelch troubleshooting indicating in the Serial Monitor for troubleshooting command and control issues. Pico is programmed using the UF2 file or can be compiled using the Arduino IDE
- APRS lat/lon least significant digits randomized so packets are not considered duplicates by the APRS network. In APRS mode, after hihi, battery voltage and current are written the sensor data from STEM Payload
- SSTV mode overlays CALLSIGN on Pi Camera images - not done on stored images. If battery telemetry is available, battery voltage and current also overlays on Pi Camera images.
- Sensor data from STEM Payload board is written to a telemetry.txt file with timestamp
- In FSK and BPSK mode, the command count is transmitted and displayed in FoxTelem
Full Changelog: v1.3.1.1...v1.3.2
What's Changed
- Beta v1.3.2 sstv by @alanbjohnston in #278
- Beta v1.3.2 by @alanbjohnston in #279
- Beta v1.3.1 delay by @alanbjohnston in #280
- Beta v1.3.2 battery saver 2 by @alanbjohnston in #285
- Beta v1.3.2 battery saver 4 by @alanbjohnston in #286
- Beta v1.3.1.1 hab 3 by @alanbjohnston in #287
- Beta v1.3.1.1 config by @alanbjohnston in #288
- Beta v1.3.1.1 sim by @alanbjohnston in #290
- Beta v1.3.1.1 by @alanbjohnston in #291
Full Changelog: v1.2...v1.3.2