How axden-dev/nrf52_smart_ecg_ppg_example works
This is NRF52832 firmware for an ECG/PPG vital-signs device. The intended workflow is sensor acquisition, ECG and optical-signal processing, then Bluetooth transmission for viewing through mobile/web clients and the AxDen Aggregator; UART output also supports terminal checks. The source excerpts establish sensor-driver and BLE-service behavior, but main.c and several processing modules were not inspected, so their runtime call sequence and detailed wiring are not asserted.
Main entry points: main.c Application · max30003.c MAX30003 ECG · max30101.c MAX30101 PPG · ble_service.c BLE GATT service
Components 15
Firmware control
- Application
main.c - Board pins
board_define.h - Device protocol
protocol.h
Sensor acquisition
- MAX30003 ECG
max30003.c - MAX30101 PPG
max30101.c - SI7051 temperature
si7051.c
Signal processing
- ECG analysis
ecg_algorithm.c - HR / SpO2 analysis
heartrate_spo2_algorithm.c
Device interfaces
- BLE GATT service
ble_service.c - UART terminal I/O
uart_usb_in_out.c
Other components
- Device operator
- Mobile client
- AxDen Aggregator
- Web client
- Serial terminal
Connections 13
- Application → MAX30003 ECG: acquires ECG
- Application → MAX30101 PPG: acquires PPG
- Application → SI7051 temperature: acquires temperature
- MAX30003 ECG → ECG analysis: ECG samples
- MAX30101 PPG → HR / SpO2 analysis: optical samples
- Application → BLE GATT service: transmits vitals
- BLE GATT service → Mobile client: BLE data
README.md - BLE GATT service → AxDen Aggregator: BLE data
README.md - AxDen Aggregator → Web client: presents readings
README.md - Application → UART terminal I/O: reports status
- UART terminal I/O → Serial terminal: serial output
README.md - MAX30003 ECG → Board pins: uses pin map
- MAX30101 PPG → Board pins: uses pin map