https://github.com/sam0jones0/sugarsentry
ESP32-based portable blood glucose visualisation device with e-ink display. Utilizes Dexcom API, BME280, and VCNL4040 sensors. Developed in C++ for low power, long battery life.
https://github.com/sam0jones0/sugarsentry
blood-glucose-monitoring bme280 cpp dexcom dexcom-api e-ink esp32 low-power portable vncl4040
Last synced: 23 days ago
JSON representation
ESP32-based portable blood glucose visualisation device with e-ink display. Utilizes Dexcom API, BME280, and VCNL4040 sensors. Developed in C++ for low power, long battery life.
- Host: GitHub
- URL: https://github.com/sam0jones0/sugarsentry
- Owner: sam0jones0
- License: mit
- Created: 2024-09-01T15:18:04.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-04-05T09:10:50.000Z (29 days ago)
- Last Synced: 2025-04-06T04:29:06.445Z (28 days ago)
- Topics: blood-glucose-monitoring, bme280, cpp, dexcom, dexcom-api, e-ink, esp32, low-power, portable, vncl4040
- Language: C++
- Homepage:
- Size: 943 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SugarSentry
ESP32-based ambient blood glucose visualisation device with e-ink display. Inspired by gagebenne/pydexcom and lmarzen/esp32-weather-epd.
> ❗ **Project Status: Development in Progress**
>
> * ✅ Core Dexcom API communication (authentication, fetching readings).
> * ❌ E-ink display integration.
> * ❌ Sensor (Temp/Humidity/Proximity) integration.
> * ❌ Graphing functionality.
> * ❌ LED feedback logic.
> * ❌ Power optimization implementation.## Description
SugarSentry aims to be a stylish, bedside/desktop device that displays blood sugar levels from the Dexcom API, shows historical data in a graph, and also monitors room temperature and humidity. The device uses an e-ink display for low power consumption and extended battery life. For nighttime use, it features a proximity-activated RGB LED that dimly indicates the current blood sugar level.
## Key Features
*(Note: Most features are planned and not yet implemented; see Project Status above for details)*
- 🔄 Displays real-time blood glucose levels from Dexcom API
- 🔄 Shows historical glucose data in graph form
- 🔄 Monitors room temperature and humidity (BME280 sensor)
- 🔄 Detects proximity (VCNL4040 sensor)
- 🔄 Highly power-efficient with e-ink display
- 🔄 Battery-powered with recharging circuits for flexibility
- 🔄 Proximity-activated RGB LED for nighttime glucose level indication## Hardware
- Adafruit HUZZAH32 – ESP32 Feather Board
- 7.5-inch (800x480) E-Paper Display
- BME280 temperature/humidity sensor
- VCNL4040 proximity and ambient light sensor
- RGB LED
- LiPo battery## Development
- Written in C++
- Compatible with Arduino IDE and PlatformIO
- Core networking and API logic established
- Focus on modularity, testability, power efficiency, and memory optimisation## License
This project is licensed under the [MIT license](LICENSE).
## Acknowledgements
This project was inspired by:
- [gagebenne/pydexcom](https://github.com/gagebenne/pydexcom)
- [lmarzen/esp32-weather-epd](https://github.com/lmarzen/esp32-weather-epd)