Inspiration
Currently, many elders have been diagnosed with Alzheimer’s disease or other neurological problems that affect their cognitive function. This means that it will be harder for patients, especially those without their family around, to remember taking their pills on time and with the right amount. This inspired us to develop a medication reminder program that can be really useful for patients with memory-related problems.
What it does
The Machine Dispenser is a medication reminder system that allows the user to set reminders for taking pills and get notified when it’s to take them. It also tracks the number of pills left and reminds the user to refill the bottle when the number of pills reaches a certain threshold.
How we built it
The project is implemented using the Python programming language. We imported necessary modules: time, datetime, and pytz1. The core functionality of the project is implemented in the Medication class, which contains methods to set up reminders, take pills, and manage medication related information. The code contains comments that explain various parts and references to external sources.
Challenges we ran into
We struggled on coding the reminder loop that is responsible for scheduling multiple reminders throughout a specific number of days.
Accomplishments that we're proud of
Many of us are beginners to python and computer science in general, so it’s a huge commitment to develop this machinery with the help of our mentor. We’re proud of not only the program that we have successfully created, but the effort and the dedication we put in as a team.
What we learned
From this project, we were able to implement the skills we learned from CSYA into a real functional program. These skills include classes, methods, while loop, input function, etc. We also learned a lot of time modules in python. For example, we learned to use sleep() function as the timer and datetime modules for the time zone converter.
What's next for Machine Dispenser
Make the app available for everyone worldwide by making the timezones available. In addition, our current code is like a gift without wrapping. It’s just a plain code not in the form of an actual APP, so in the future, we can design an app that runs this machinery.
Log in or sign up for Devpost to join the conversation.