Skip to content

Smart MediBox Control System ensures the conditions for medical storage by controlling and monitoring temperature and humidity, featuring real-time updates, alerts, data logging, user-friendly interface, and IoT integration for comprehensive environmental management.

License

Notifications You must be signed in to change notification settings

TharushaDinujaya/Smart-Medibox-Control-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smart Medibox

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.

Features

  • 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.

Installation and Setup

  1. Hardware Assembly: Connect the components as per the provided schematic.
  2. Software Installation: Flash the firmware onto the microcontroller using the Arduino IDE or similar platform.
  3. Network Configuration: Update the firmware with your WiFi credentials and MQTT broker details.
  4. Node-RED Setup: Import the provided flow into Node-RED and configure the dashboard as per the instructions.

Repository Contents

  • 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.

Preview

Required Components

Component Image
ESP32 ESP32
DHT22 DHT22
LDR LDR
OLED Display OLED Display
Servo Motor Servo Motor
Push Down Buttons Buttons
Buzzer Buzzer
LM1117 LM1117
Resistors Resistors
Jumper Wires Jumpers
LEDs LEDs

Components Connection Block Diagram

Components Connection Block Diagram

PCB 3D View

PCB 3D View

Node-RED Dashboard View (UI)

Node-RED Dashboard View (UI)

PCB 2D View

PCB 2D View

Prototype Design View

Prototype Design View

Schematic View

Schematic View

Contributing

We welcome contributions! Please fork this repository and submit a pull request for any enhancements, bug fixes, or new features.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contact

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.

About

Smart MediBox Control System ensures the conditions for medical storage by controlling and monitoring temperature and humidity, featuring real-time updates, alerts, data logging, user-friendly interface, and IoT integration for comprehensive environmental management.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages