Skip to content

Commit 01e745a

Browse files
committed
Update design and testing documentation; add sensor details and improve clarity
1 parent ca0a7f1 commit 01e745a

File tree

2 files changed

+51
-3
lines changed

2 files changed

+51
-3
lines changed

docs/DESIGN.md

Lines changed: 50 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
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+
112
## Design Requirements
213

314
- Sampling rate: 10 Hz (100ms intervals)
@@ -10,7 +21,7 @@
1021

1122
### Module Structure
1223

13-
- `main.cpp`: System initialization and main control loop
24+
- `main.cpp`: System initialisation and main control loop
1425
- `sensors.cpp/h`: Sensor data acquisition and processing
1526
- `data_logger.cpp/h`: SD card file operations
1627
- `config.h`: Pin definitions, calibration constants, system parameters
@@ -55,4 +66,41 @@ Uses barometric formula: h = 44330 × (1 - (P/P₀)^(1/5.257))
5566

5667
## Components
5768

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+
![Circuit Plan](circuit_plan.png)
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

docs/TESTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128
- Workaround: Use pressure sensor temperature compensation
129129
- Future fix: Relocate sensor away from high-frequency digital lines
130130

131-
2. **SD Card Initialization Delay**
131+
2. **SD Card Initialisation Delay**
132132
- Impact: 2-3 second startup delay
133133
- Mitigation: Acceptable for pre-launch preparation time
134134

0 commit comments

Comments
 (0)