Device Hub
ESP32 hardware wiring diagrams, firmware flashing sketch, and live stream diagnostics.
Hardware Architecture
Reference firmware: AikyaNova Labs Embedded Systems. This dashboard reads whatever those sketches print over USB serial at 115200 baud.
PHYSICAL SENSOR (AD8232 / MAX30102) → ESP32 (acquisition + BPM/SpO₂ processing) → USB Serial @ 115200 baud → Browser (Web Serial API) → Parser → Validator → Sensor Store → Real-time Dashboard
Ready to flash or monitor your ESP32?
View the full C++ Arduino sketch or inspect live packet stream telemetry.
🔴 MAX30102 → ESP32 Pin Mapping
| MAX30102 | ESP32 | Notes |
|---|---|---|
| VIN | 3.3V | Power supply |
| GND | GND | Ground |
| SDA | GPIO 21 | I²C data |
| SCL | GPIO 22 | I²C clock |
I²C runs at 400 kHz (I2C_SPEED_FAST) in the reference sketches. Raw values stream at roughly 50 Hz.
📈 AD8232 ECG → ESP32
The reference repository currently documents the MAX30102 wiring only; it does not publish an AD8232 pinout. Pin assignments are therefore not shown here to avoid inventing them — use the analog output pin and lead-off pins defined in your own AD8232 sketch, and make the firmware print the sample as ECG:<value> or as a CSV row so this dashboard can parse it.
📡 Serial Formats Supported
Max3010x_Raw_Values.ino IR=52341 RED=48213
Max3010x_BPM.ino Signal:120, Threshold:80, BeatMarker:0
Max3010x_SpO2.ino IR_Signal:120, Threshold:80, Beat:0, BPM:38, SpO2:49
JSON {"timestamp":123456,"ecg":2048,"ppgIR":52341,"ppgRed":48213,"bpm":76,"spo2":98}
CSV 123456,2048,52341,48213,76,98The SpO₂ sketch prints BPM and SpO₂ divided by 2 for the Arduino Serial Plotter. The parser multiplies them back by 2; adjust in Settings if your firmware prints true values.
Device connection wizard
- STEP 1Choose USB SerialDONE
- STEP 2Connect ESP32WAITING
- STEP 3Detect incoming dataWAITING
- STEP 4Validate packetsWAITING
- STEP 5Detect ECGWAITING
- STEP 6Detect PPGWAITING
- STEP 7Start monitoringWAITING
Test hardware connection
A check only passes once real data of that kind has actually arrived from the ESP32.
- ESP32WAITING
- SerialWAITING
- PacketsWAITING
- ParsingWAITING
- ECGWAITING
- PPG IRWAITING
- PPG REDWAITING
- BPMWAITING
- SpO2WAITING
- LM35 tempWAITING
- BMI323 IMUWAITING
Research & monitoring use only. Sensor measurements may require calibration and clinical validation and should not be used as a substitute for professional medical diagnosis or treatment.