How maruthisarathchandra/miniproject- works
This is an Arduino/ESP32 temperature-and-humidity monitor with serial controls, an HTTP API, and encrypted sensor-data uploads. The principal flow reads DHT measurements, builds a JSON payload, encrypts it, and posts it to a configured server when Wi-Fi is available. A separate API exposes health, sensor, configuration, and immediate-push endpoints. The tree identifies Main.ino as the firmware entry point, but its contents and the API/server setup wiring were not sampled, so no orchestration links are inferred. The README is empty.
Main entry points: HTRepo.cpp Upload repository · RestApiServer.cpp REST API · WiFiConnect.cpp Wi-Fi manager · DHTReader.cpp Sensor reader
Components 14
Sensing and controls
- Serial controls
SerialHandler.cpp - Sensor reader
DHTReader.cpp
HTTP interface
- REST API
RestApiServer.cpp
Data delivery
- Payload builder
JsonHandler.cpp - JSON encryption
EDCryptorService.cpp - Upload repository
HTRepo.cpp
Connectivity and config
- Wi-Fi manager
WiFiConnect.cpp - App configuration
Application.h
Other components
- Firmware entry
Main.ino - Serial operator
- DHT sensor
- HTTP client
- Data endpoint
- Wi-Fi network
Connections 15
- Serial operator → Serial controls: sends commands
- Serial controls → Sensor reader: calibrates and reads
- DHT sensor → Sensor reader: provides measurements
- HTTP client → REST API: sends requests
- REST API → Sensor reader: reads measurements
- REST API → Upload repository: requests upload
- REST API → JSON encryption: encrypts response
- REST API → HTTP client: sends responses
- Upload repository → Payload builder: builds payload
- Upload repository → JSON encryption: encrypts payload
- Upload repository → Wi-Fi manager: checks connection
- Upload repository → App configuration: reads endpoint
- Upload repository → Data endpoint: posts encrypted data
- Wi-Fi manager → App configuration: reads credentials
- Wi-Fi manager → Wi-Fi network: connects to