π§ NeuroSense β AI-Based Seizure Detection & Prediction NeuroSense is an IoT-powered seizure alert system using ESP32, MAX30102 (Heart Rate & SpO2), and ADXL345 (Motion Sensor) to detect and predict seizures. It sends real-time alerts via WiFi to Supabase, ensuring timely intervention.
π Features β Real-time seizure detection using heart rate and motion data β AI-powered prediction (Planned) β Detects pre-seizure patterns for early alerts β WiFi-based notifications β No SMS required, alerts via mobile app β Fail-safe mechanism β Ensures reliable monitoring β Expandable hardware β Future support for temperature (MCP9808) & GSR sensors
π οΈ Hardware Requirements ESP32 WROOM-32 β Main controller MAX30102 β Heart rate & SpO2 sensor ADXL345 β Motion sensor
π Installation & Setup Install required Arduino libraries:
Adafruit MAX30102 Library Adafruit ADXL345 Library WiFi and Supabase client libraries Flash the code to ESP32 using Arduino IDE
Set up Supabase for real-time alerts
Create a Supabase project Add a table for storing sensor data Use API keys to connect ESP32
Deploy the mobile app (Planned)
Android/iOS app for real-time monitoring π Future Upgrades πΉ AI-based seizure prediction using ML πΉ Custom PCB design for a compact wearable πΉ Integration with emergency response services
π‘ Contributing Want to improve NeuroSense? Feel free to fork, submit issues, or contribute!