Inspiration
I constantly forget to take my pills. Every single day I find myself wondering whether or not I take my pills. I typically ignore simple reminders on my phone, so I need something to force me to act.
What it does
Detects when it is opened and connects to an android app via bluetooth to keep track of when it has been opened (when pills have been taken)
How I built it
First, I created a diagram design, measuring the pi and my own personal medications. Then, I had the design made up into a 3-d model to print and began printing. Next, I coordinated the bluetooth between the android app and the raspberry pi. Finally, I connected the switch into the box, and programmed the interrupt to cue the pi to broadcast.
Challenges I ran into
First, I was using a faulty microsd card. Between different Raspbian issues, I had to reformat the microsd card I ended with 6 different times, taking 20 minutes a piece. Additionally, I had no electronics or modeling knowledge coming in. Thankfully, I found help to make the models from my diagrams and to do sautering. However, even after the models were made, I still had problems with the printing - each of the 3 pieces took 3-6 hours to print and I could only print one at a time. Finally, I had a large amount of trouble getting the bluetooth to work together due to a quark of Android 4.3 and greater.
Accomplishments that I'm proud of
I'm really happy I managed to make a physical item, learned how to program a Raspberry pi, and actually got sockets to work on something! I've had a lot of difficulty with sockets in the past, so this was exciting. Plus, it is my first android app.
What I learned
How to actually connect sockets, to program a Raspberry pi, to use a 3D printer, to make an Android app - and to follow through with the entire design before giving up.
What's next for Smart Pill Box
I intend for the app to gain a background functionality, like many health apps. In addition, I'd like to record the times when the pill box is opened each day and show it for the user. Perhaps even keep a score or percentage of how many days in a row pills are taken. Finally, I'd also like it to keep track of how long it will be before one of the pills will need a refill.
Log in or sign up for Devpost to join the conversation.