How diya411/data_logging_system_for_physiological_parameters works
VITAL-CORE is a prototype for acquiring physiological measurements, logging them locally, and presenting live/history monitoring with ECG visualization, AI summaries, voice retrieval, and emergency alerts. The main documented workflow runs from MCU sensor acquisition over UART through CSV logging to a monitoring dashboard; separate scripts provide HL7 generation/conversion and network alert reception. The sampled files show several parallel or mismatched implementations, so uncertain connections—especially GUI-to-assistant wiring—are left out.
Main entry points: patient_data.csv Patient CSV · AI_voice_assistence.py Voice data retrieval · icu.py ICU monitor · Signal_Gen.c MCU firmware
Components 20
Acquisition
- Vital sensors
- MCU firmware
Signal_Gen.c - UART CSV logger
accept_data_from_mcu.py - Patient CSV
patient_data.csv
Monitoring
- Monitoring dashboard
central_monitor_gui.py - CSV dashboard
cms.py - ICU monitor
icu.py - ECG simulation
ecg.py - Live HR data
icu.py
Intelligence
- AI trend summary
AI_summary.py - Voice data retrieval
AI_voice_assistence.py - Voice records CSV
patient_data1.csv - Gemini API
- Groq API
- Speech services
Alerts and Interop
- UDP alert sender
icu.py - Nurse alert receiver
receiver.py - HL7 generator
hl7.py - HL7 records
hl7.py - HL7 converter
convertion.py
Connections 18
- Vital sensors → MCU firmware: measure
- MCU firmware → UART CSV logger: UART stream
- UART CSV logger → Patient CSV: append records
- Patient CSV → Monitoring dashboard: read history
- Patient CSV → CSV dashboard: read history
- Patient CSV → ICU monitor: read records
- Monitoring dashboard → AI trend summary: request analysis
- AI trend summary → Gemini API: generate summary
- ICU monitor → Live HR data: write HR
- Live HR data → ECG simulation: read HR
- Voice data retrieval → Voice records CSV: read records
- Voice data retrieval → Groq API: query service
- Voice data retrieval → Speech services: recognize and speak
- ICU monitor → UDP alert sender: send alert
- UDP alert sender → Nurse alert receiver: UDP broadcast
- HL7 generator → HL7 records: append messages
- HL7 records → HL7 converter: read messages
- HL7 converter → Patient CSV: append rows