> For the complete documentation index, see [llms.txt](https://wiki.kscucf.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.kscucf.org/projects/tethered-satellite/t-sat-0/electronics.md).

# Electronics

Details about the electrical subsystem of TSat-0.

TSat-0 flew a single custom PCB designed in Autodesk EAGLE. Instead of bare components, the board carries breakout boards, connectors, and an ESP32 devkit, which made it quicker to design, assemble, and test. The PCB fits in the 1U frame alongside an Arducam Mega camera, the battery, and the parachute deployment system.

## Flight electronics

| Part                        | Purpose                                                                                                                |
| --------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
| DOIT ESP32 DEVKIT V1        | Flight computer running the [flight software](https://wiki.kscucf.org/projects/tethered-satellite/t-sat-0/software.md) |
| BMP388 barometer            | Pressure and altitude, used to decide when to deploy the parachute                                                     |
| MMA8451 accelerometer       | Free-fall detection                                                                                                    |
| Arducam Mega                | Camera, connected over SPI                                                                                             |
| MicroSD card                | Stores sensor data and images                                                                                          |
| Servo                       | Releases the parachute deployment system                                                                               |
| Remove-before-flight switch | Keeps the battery disconnected while the satellite waits for launch                                                    |

## Burn wire release

The burn wire that drops TSat-0 from the balloon line is controlled by two LoRa radio modules. A ground unit sends the burn command; the receiving module flies with the satellite. When the command arrives, a Seeeduino XIAO switches a transistor that heats a nichrome wire, which melts through the monofilament fishing line. The software for both ends is described on the [Software](https://wiki.kscucf.org/projects/tethered-satellite/t-sat-0/software.md) page.

## Design files

Schematics and board files (EAGLE) are in the [Tethered-Sat-0 repository](https://github.com/UCF-Knights-Satellite-Club/Tethered-Sat-0) under `hardware/`.

## Lessons for future boards

From the [flight results](https://wiki.kscucf.org/projects/tethered-satellite/t-sat-0/flight-results.md):

* Place the accelerometer near the middle of the PCB so rotation doesn't add noise to free-fall detection.
* Integrate components onto the PCB rather than using breakout boards.
* Add a connector for the remove-before-flight switch so it can be mounted to the chassis instead of the PCB.
* Mount the board to the chassis more robustly, for example with metal standoffs instead of nylon screws.
