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/arduino
alanbjohnston 33d46cebd6
Update README.md
5 years ago
..
Blink_Pro_Micro.ino Rename arduino/pro_micro/Blink_Pro_Micro.ino to arduino/Blink_Pro_Micro.ino 5 years ago
Blink_STM32_PC13.ino Create Blink_STM32_PC13.ino 5 years ago
GetAllData.ino Rename mpu6050_tockn_GetAllData.ino to GetAllData.ino 5 years ago
PayloadOK_Pro_Micro.ino added TESTING flag so can test over Serial Monitor 5 years ago
PayloadOK_STM32_PC13.ino Rename PayloadOK_STM32.ino to PayloadOK_STM32_PC13.ino 5 years ago
Payload_BME280_MPU6050_Pro_Micro.ino resets at start with R, sends 0's if no sensor present 5 years ago
Payload_BME280_MPU6050_STM32.ino working with R and 0's when no sensor present 5 years ago
Payload_BME280_Pro_Micro.ino Create Payload_BME280_Pro_Micro.ino 5 years ago
README.md Update README.md 5 years ago
STEM_Payload_Test_Pro_Micro.ino Rename STEM_Payload_Test_Pro_Micro to STEM_Payload_Test_Pro_Micro.ino 5 years ago
STEM_Payload_Test_STM32.ino Rename STEM_Payload_Test.ino to STEM_Payload_Test_STM32.ino 5 years ago
bme280test.ino Update bme280test.ino 5 years ago

README.md

This code is for the STM32 or Pro Micro acting as a payload to the CubeSatSim.

Code includes (in rough order of testing):

Blink_STM32_PC13.ino and Blink_Pro_Micro.ino The usual Arduino "Hello World" application that blinks the LED for each board.

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

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

bme280test.ino 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.ino 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.

PayloadOK_STM32_PC13.ino and PayloadOK_Pro_Micro.ino 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 Health tab.

Payload_BME280_MPU6050_Pro_Micro.ino and Payload_BME280_MPU6050_STM32.ino 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 Health tab and also replies withe 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 STM32 can be programmed using the Arduino IDE with the Generic STM32F103C series board and STM32duino bootloader, Maple Mini port.

The Sparkfun Pro Micro can also be programed using the Arduino IDE with the Sparkfun Pro Micro board and AVRISP mkII Programmer.

See the Wiki page for more information:

See https://github.com/alanbjohnston/CubeSatSim/wiki/Arduino-Payload

Powered by TurnKey Linux.