You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
CubeSatSim/stempayload
Alan Johnston e502c87527
Update payload_pico.ino GPS and AN
2 years ago
..
Blink renamed 5 years ago
GetAllData removed old files 5 years ago
Payload_BME280_MPU6050_XS added back in R and C serial commands for stem payload 4 years ago
Payload_BME280_MPU6050_XS_Extended Fix magPresent typo 4 years ago
STEM_Payload_Test removed old files 5 years ago
bme280test removed old files 5 years ago
i2c_scanner removed old files 5 years ago
payload_pico Update payload_pico.ino GPS and AN 2 years ago
README.md added Sparkfun guide URL 5 years ago

README.md

Full instructions are in the Wiki: https://github.com/alanbjohnston/CubeSatSim/wiki/8.-STEM-Payload-Board

This code is for the Sparkfun Pro Micro or STM32 acting as a payload to the CubeSatSim in the STEM Payload board. Using the Pro Micro is stongly recommended, as driver and board installation for the STM32 can be problematic, and fake STM32 boards may not work.

Code includes (in rough order of testing):

Blink The usual Arduino "Hello World" application that blinks the LED for each board.

i2c_scanner A handy utility for scanning the I2C bus that displays the results in the Serial Monitor at 9600 baud. If the sensors are installed, the two sensors should be displayed.

STEM_Payload_Test Blinks the Blue and Green LEDs on the STEM Payload Board and also reads the Temperature and Voltage sensors.

bme280test Displays the results of reading the BME280 sensor: Temperature, Pressure, Altitude, and Humidity and displays on Serial Monitor 9600 baud. Requires the following libraries: Adadruit Unified Sensor (specify version 1.0.3), Adafruit_BME280 (specify version 1.1.0)

GetAllData Displays the results of reading the MPU6050 sensor: Temperature, X, Y, and Z Axes: Acceleration, Gyor (Rotation Rate), and Angle. Requires the following libraries: MPU6050_tockn.

Payload_BME280_MPU6050_XS This code answers the query from the Raspberry Pi CubeSatSim software over the UART so that the STEM Payload is marked "OK" in the FoxTelem CubeSatSim-FSK or CubeSatSim-BPSK Health tab and also replies with BME280 and MPU6050 sensor data. In FoxTelem, this is displayed as the X, Y, and Z Gyro (dps) and in AFSK mode, it is appended to the telemetry string.

The Sparkfun Pro Micro can be programed using the Arduino IDE. Here is the Sparkfun Hookup Guide https://learn.sparkfun.com/tutorials/pro-micro--fio-v3-hookup-guide

See the Wiki page for more information:

https://github.com/alanbjohnston/CubeSatSim/wiki/8.-STEM-Payload-Board

Powered by TurnKey Linux.