|
| 1 | +# Design Documentation |
| 2 | + |
| 3 | +## System Overview |
| 4 | + |
| 5 | +The system was designed to collect flight data from a water rocket including: |
| 6 | + |
| 7 | +- Atmospheric pressure changes during ascent/descent |
| 8 | +- Triaxial acceleration data |
| 9 | +- Temperature changes |
| 10 | +- Calculated altitude |
| 11 | + |
1 | 12 | ## Design Requirements |
2 | 13 |
|
3 | 14 | - Sampling rate: 10 Hz (100ms intervals) |
|
10 | 21 |
|
11 | 22 | ### Module Structure |
12 | 23 |
|
13 | | -- `main.cpp`: System initialization and main control loop |
| 24 | +- `main.cpp`: System initialisation and main control loop |
14 | 25 | - `sensors.cpp/h`: Sensor data acquisition and processing |
15 | 26 | - `data_logger.cpp/h`: SD card file operations |
16 | 27 | - `config.h`: Pin definitions, calibration constants, system parameters |
@@ -55,4 +66,41 @@ Uses barometric formula: h = 44330 × (1 - (P/P₀)^(1/5.257)) |
55 | 66 |
|
56 | 67 | ## Components |
57 | 68 |
|
58 | | -[Keep existing Components section] |
| 69 | +### Sensors |
| 70 | + |
| 71 | +- **Accelerometer**: DFRobot WT61PC 6-axis IMU |
| 72 | + - Measures acceleration and angular velocity |
| 73 | + - Output frequency configurable up to 200Hz |
| 74 | +- **Pressure Sensor**: MPX4115A |
| 75 | + - Measures 15-115 kPa absolute pressure |
| 76 | + - Used to calculate altitude changes |
| 77 | +- **Temperature Sensor**: LM35DT |
| 78 | + - Measures -55°C to +150°C range |
| 79 | + - Linear 10mV/°C output |
| 80 | + |
| 81 | +### Data Storage |
| 82 | + |
| 83 | +- MicroSD card breakout board |
| 84 | +- FAT32 formatted SD card |
| 85 | + |
| 86 | +### Indicators |
| 87 | + |
| 88 | +- Piezo buzzer (85-96dB) for recovery |
| 89 | +- Red LED panel light for power status |
| 90 | + |
| 91 | +## Circuit Design |
| 92 | + |
| 93 | + |
| 94 | + |
| 95 | +Power: |
| 96 | + |
| 97 | +- 9V battery |
| 98 | +- Arduino Micro voltage regulation |
| 99 | + |
| 100 | +Connections: |
| 101 | + |
| 102 | +- Accelerometer: SoftwareSerial on pins 10(RX), 11(TX) |
| 103 | +- Pressure Sensor: Analogue A2 |
| 104 | +- Temperature Sensor: Analogue A3 |
| 105 | +- SD Card: SPI on pin 17(CS) |
| 106 | +- Buzzer: Digital 13 |
0 commit comments