|
|
5 years ago | |
|---|---|---|
| .. | ||
| Blink_Pro_Micro.ino | 5 years ago | |
| Blink_STM32_PC13.ino | 5 years ago | |
| GetAllData.ino | 5 years ago | |
| PayloadOK.ino | 6 years ago | |
| PayloadOK_Pro_Micro.ino | 5 years ago | |
| README.md | 5 years ago | |
| 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:
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.
Blink_STM32_PC13.ino and Blink_Pro_Micro.ino The usual Arduino "Hello World" application that blinks the LED for each board.
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.
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