Marge Health provides continuous blood flow monitoring for sickle cell warriors through an innovative smart ring and companion app. This repository contains the source code and documentation for the Marge Health prototype development.
The project consists of three main components:
- ESP32-C3 based smart ring with MAX30105 sensor
- WebSocket server for real-time data transmission
- Web dashboard for vitals monitoring
- Seeed Studio XIAO ESP32C3
- MAX30105 Breakout Board
- Connecting wires
- USB-C cable for programming
Connection diagram for XIAO ESP32C3 and MAX30105:
| MAX30105 Pin | XIAO ESP32C3 Pin |
|---|---|
| VIN | 3.3V |
| GND | GND |
| SDA | D4 (SDA) |
| SCL | D5 (SCL) |
| INT | Not Connected |
- Install Arduino IDE
- Add ESP32 board support
- Install required libraries:
- SparkFun MAX3010x Pulse and Proximity Sensor Library
- WebSocketsClient
- ArduinoJson
- Navigate to `Marge-health-web-socket-server`
- Install dependencies: ```bash npm install ```
- Start server: ```bash node server.js ```
- Install dependencies: ```bash npm install ```
- Start development server: ```bash npm run dev ```
Current Features:
- Real-time heart rate monitoring
- SpO2 (Blood Oxygen) measurement
- WebSocket-based data transmission
- Interactive dashboard
- PDF report generation
- Medical device sound simulation
- Basic vital monitoring
- Real-time data transmission
- Web dashboard
- Offline mode support
- Temperature sensing
- Sleeker design
- Mobile app development
- Data analytics
- Machine learning for pattern recognition
- FDA approval process
- Clinical trials
- Mass production
We welcome contributions!
- Arduino IDE 1.8.19 or newer
- ESP32 board package
- Required libraries installed via Arduino Library Manager
- Node.js 16.x or newer
- React 18
- Vite
- Tailwind CSS
Common issues and solutions:
-
Sensor Not Found
- Check I2C connections
- Verify power supply voltage
- Ensure correct I2C pins are used
-
WebSocket Connection Failed
- Verify server is running
- Check IP address configuration
- Ensure network connectivity
This project is open-source and available under the MIT License.
- GitHub: @MargeHealth
- Website: marge.health
Special thanks to:
- Seeedstudio Community
- SparkFun for the MAX30105 library
- The ESP32 community
- All contributors and supporters
Made with ❤️ by Marge Health Team


