Skip to content

Commit a02af96

Browse files
committed
breathsafe sensor firmware
1 parent 75c1a92 commit a02af96

File tree

3 files changed

+416
-1
lines changed

3 files changed

+416
-1
lines changed

breathsafe-firmware/README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# BreathSafe Arduino Code
2+
3+
This folder contains the Arduino source code for the **BreathSafe sensor module**.
4+
5+
## Overview
6+
The initial plan was to use the **AHT21** (temperature & humidity) and **ENS160** (air quality & VOC) combined sensor setup for data collection. However, during implementation, we were only able to obtain the **AHT21** sensor.
7+
8+
To maintain backend integration and ensure continuous testing, the Arduino code has been **modified** to:
9+
- Collect **real sensor readings** from the **AHT21** sensor.
10+
- Submit **dummy values** for the **ENS160-related air quality data** to the backend.
11+
12+
## Notes
13+
- The dummy values are placeholders and can be easily replaced once the ENS160 sensor is available.
14+
- The backend endpoints remain the same, ensuring compatibility for future updates.
15+
16+
## Future Work
17+
Once the ENS160 sensor is available:
18+
1. Integrate real readings for air quality metrics (TVOC, eCO2, etc.).
19+
2. Remove dummy data submission logic.
20+
3. Re-test backend data flow with both sensors active.
21+
22+
---
23+
24+
**Author:** Moditha Marasingha
25+
**Project:** BreathSafe
26+
**Language:** Arduino (C++)

0 commit comments

Comments
 (0)