Smart Medibox is an IoT-based solution designed to help manage medication schedules efficiently. It integrates various sensors and components, ensuring medications are stored in optimal conditions and users are alerted at the right times. The device connects to WiFi and uses MQTT for communication, with a Node-RED dashboard for monitoring and control.
- Sensors:
- Temperature & Humidity Sensor (DHT22 or DHT11 also user can use BMP280 or BME280 with pressure sensing): Monitors the environment inside the Medibox to ensure medications are stored in optimal conditions.
- Light Intensity Sensors (2 x LDR): Measures ambient light levels to help ensure the Medibox is in an appropriate environment.
- Alarms(Buzzer):
- Configurable alarms for medication times, with notifications via LEDs and sound.
- Alarms can be set using physical buttons on the Medibox or via the Node-RED dashboard.
- OLED Display: Shows real-time information about medication schedules, sensor data, and alerts.
- Servo Motor: Controls the medicine tray, which can be operated via the Node-RED dashboard.
- Node-RED Dashboard: Provides a user-friendly interface to monitor temperature, humidity, and light intensity with gauges and charts. It also allows for remote control of the medicine tray and alarm settings.
- Connectivity:
- WiFi: Ensures the Medibox stays connected to the internet for real-time updates.
- MQTT: Facilitates efficient communication between the Medibox and the Node-RED dashboard.
- Hardware Assembly: Connect the components as per the provided schematic.
- Software Installation: Flash the firmware onto the microcontroller using the Arduino IDE or similar platform.
- Network Configuration: Update the firmware with your WiFi credentials and MQTT broker details.
- Node-RED Setup: Import the provided flow into Node-RED and configure the dashboard as per the instructions.
- Code: Firmware for the Medibox microcontroller.
- Node-RED Flows: JSON file to import into Node-RED.
- Schematics and Diagrams: Detailed visuals for hardware assembly and PCB design.
- Documentation: Comprehensive guide for setting up and using the Smart Medibox.
Component | Image |
---|---|
ESP32 | |
DHT22 | |
LDR | |
OLED Display | |
Servo Motor | |
Push Down Buttons | |
Buzzer | |
LM1117 | |
Resistors | |
Jumper Wires | |
LEDs |
We welcome contributions! Please fork this repository and submit a pull request for any enhancements, bug fixes, or new features.
This project is licensed under the MIT License - see the LICENSE file for details.
For any queries or support, please open an issue in this repository or contact us at [email protected]
By integrating various sensors and connectivity options, the Smart Medibox ensures you never miss a dose and your medications are stored in optimal conditions.