All code used in electornic systems aboard the rocket built by the WSU Vancouver Aerospace club for the Spaceport America Cup 2020
There are three main electrical systems in the rocket. The avionics bay is where most of the electronics are stored and where the flight computer is located to cause the seperation events. The airbreaks which can add drag to the rocket if the projected apogee is higher than our target, and the payload system which will extend an antenna in the vertical-most position once the rocket has landed.
AV BAY
Components:
- Atlas Telemetrum
- RRC3 (Backup flight computer)
- Raspberry Pi 4 Model B
- 4x Raspberry Pi Camera Modules 8MP
- Arducam Multi Camera Adapter module
Purpose: The Atlas Telemetrum will relay with the ground station to provide live flight data using telemetry and RF. Alongside the main and backup flight computers will be a Raspberry Pi board controlling four cameras.
PAYLOAD
Components:
- MPU-6050 (GY-521 breakout board)
- Arduino Nano
- Stepper motor
- A4988 Stepper Motor Driver Module
- Crossband repeater
- 9V battery
- Lipo Battery Pack
Purpose: The payload will remain intact with the rocket during all stages fo flight and recovery. The payload will serve to take radiation and EMF sampling for the duration of the rockets flight.
AIRBREAKS
Components:
- NEMA-17 Stepper (or something similar)
- A4988 Stepper Motor Driver Module
- Barometric pressure sensor (still need to decide on type)
- Arduino Nano
- 9V battery
- Hw-125 Micro SD card adapter
- Micro SD card
Purpose: To slow down the rocket and increase drag if the projected apogee of the rocket is above the target apogee. Three fins will extend from the sides of the body tube and slow the velocity of the rocket. Once the rocket's projected apogee is equal to or less than the target apogee, the fins will retract back inside and the rocket will coast to its projected apogee from there.