Smart Medicine Reminder with Telegram Notification Report
- Introduction
This project describes a smart medicine reminder system designed to assist users in adhering to their medication schedule. It utilizes an ESP32 Wi-Fi module for internet connectivity, an LCD module for displaying information, a DS1307 RTC module for accurate timekeeping, an HC-05 Bluetooth module for potential future functionalities (optional), a 12V power supply, a limit switch for medicine box detection, and a servo motor for automated medicine box opening. The system boasts the following features:
- Automated Medicine Dispensing: The servo motor opens the designated compartment of a medicine box at pre-programmed times.
- Telegram Notifications: Users receive Telegram notifications confirming medicine taken or missed doses.
- Multi-Time Programming: Up to three different medication times can be programmed within a 24-hour timeframe.
- Reminder Alerts: Audible buzzer reminders activate if medication is not taken within a set timeframe.
- System Design
- Block Diagram: A diagram illustrating the connections between the ESP32 module, LCD module, DS1307 RTC module, HC-05 Bluetooth module (optional), limit switch, servo motor, power supply, and medicine box is included.
- Component Functions:
- ESP32 Module: Processes sensor data, controls the servo motor, and manages communication with the internet (WiFi) and Telegram.
- LCD Module: Displays current time, programmed medicine times, and notification messages.
- DS1307 RTC Module: Maintains accurate timekeeping.
- HC-05 Bluetooth Module (Optional): Allows for future features like mobile app control (not implemented in this version).
- Limit Switch: Detects when the medicine box compartment is opened.
- Servo Motor: Opens the designated compartment of the medicine box based on programmed times.
- Power Supply: Provides 12V power to the system.
- Hardware Setup
- A detailed explanation of the hardware connections between all components is provided, including pin numbers and clear explanations.
- Wiring diagrams showcasing connections for the ESP32, servo motor, limit switch, and LCD module are included.
- The LCD module type (I2C, SPI, etc.) and its specific connection details are specified.
- Software Development
- The programming language used for the ESP32 module (Arduino IDE with specific libraries) is explained.
- The code functionalities are outlined:
- Reading the current time from the DS1307 RTC module.
- Comparing the current time with pre-programmed medication times.
- Controlling the servo motor to open the medicine box compartment at designated times.
- Detecting medicine box opening using the limit switch.
- Sending Telegram notifications based on medicine taken/not taken status.
- Implementing a reminder system with buzzer alerts if medication is not taken within a set timeframe (e.g., 30 seconds).
- Including an option for users to program up to three different medication times (within 24 hours).
- (Optional) Utilizing the HC-05 Bluetooth module for future functionalities (not implemented in this version).
- Telegram Integration
- The process of setting up a Telegram bot for the system is explained, including creating a bot and obtaining the bot token for communication.
- The method for sending Telegram notifications with relevant messages (medicine taken/not taken) is described.
- Testing and Results
- The testing procedures conducted are outlined:
- Verification of timekeeping accuracy with the DS1307 RTC module.
- Testing of servo motor operation for medicine box opening.
- Confirmation of limit switch detection for medicine box opening.
- Verification of Telegram notification functionality for both medicine taken and missed doses.
- Evaluation of the reminder system with buzzer alerts.
- The observed results are presented, including any encountered challenges and their solutions (if applicable).
- Conclusion
- The report summarizes the project’s achievements, highlighting its potential to improve medication adherence and user convenience.
- The benefits of features like automated dispensing, Telegram notifications, and reminder alerts are emphasized.
- Future improvements are briefly mentioned, such as incorporating a mobile app for programming and monitoring using the HC-05 Bluetooth module (if desired).
Reviews
There are no reviews yet.