Introduction: The Pill Reminder

Picture of The Pill Reminder

Back in January 2014 I was at a meetup of Baby Boomer Makers at TechShop in San Carlos, California. We were going around the table, each taking a turn to talk about projects we'd like to do. Bob spoke up to describe a problem his elderly mother was having - she couldn't remember to take her medicines on time every day. Each week Bob found that his mother had either forgotten to take her pills one day, or she had run out too soon because she had double-dosed. Both these problems are frightening. Bob is a retired electrical engineer and said to the group, "I have an idea for a device to help elderly people keep on their medicine schedule. I can make the electronics, but I don't have a way to make a case for the project."

His story really resonated with me. I've been a member of TechShop for several years and have learned to use a number of the sophisticated computer controlled fabrication machines that they have for members to use. I looked at Bob. "I can do that. If you make two sets of electronics, I'll make two cases and we can trade." Smiling at each other we started a great collaboration.

Six months and many prototypes later, the Pill Reminder was born. Bob set up his mother with one of the first units. Each week after that he checked and found that his mother was taking her pills twice a day as she should! There were no more cases of double-dosing or forgetting to take them. She was 100% compliant! It's now been two months and his mother continues to take her pills as she should. Bob and I are very pleased.

We decided early on to share our final designs with the world using one of the Creative Commons licenses. And now we want to share the Pill Reminder with the world through this Instructable.

We have detailed plans and assembly instructions and the Arduino source code available on the web at

http://www.shrimpware.com/pillreminder/

And the complete package of instructions and software is included in the last step of this Instructable.

In this Instructable I will highlight some of the build process so that you have a good idea of what needs to be done.

Let's get started!

p.s. Since we created the pill reminder I have also done an investigation of pill reminder apps for smart phones. I evaluated a number of them and came up with one that I feel is the best. You can read my analysis of the best pill reminder app. The article also explains the criteria I used to evaluate the apps.

Step 1: What Exactly Does the Pill Reminder Do?

The Pill Reminder is an Arduino controlled device to prompt a person when it is time to take their pills. The Pill Reminder has 14 pill compartments. Each compartment corresponds to one day of the week. Each day of the week has two compartments, one for morning pills and one for evening pills. Each pill compartment has an LED above it. Twice each day, morning and evening, the Pill Reminder will turn on the appropriate LED to indicate which pill compartment should be taken.

The Pill Reminder has a real time clock to keep track of the day and time.

It also has a proximity sensor. During each pill taking interval, the first time a person approaches the Pill Reminder it will cause the currently illuminated LED to blink. We hope this attracts the user's attention.

The Pill Reminder is intended to be used by someone who has trouble remembering to take their pills each day. We intend for someone else to fill the pill compartments each week. To make this easier the pill compartments are on trays that can be removed. This allows the care giver to have a second set of pill compartments that they fill up and then can quickly replace the empty ones.

Released under a Creative Commons license, you are free to make one yourself.

Step 2: Make the Case

Picture of Make the Case

The Pill Reminder can be made from acrylic plastic or Baltic birch plywood. In either case use 3mm material. This Instructable will use the acrylic case for discussion. The only difference with the wood version is how you glue it together (obviously).

Our documentation includes the cut files in CorelDraw and PDF format. I highly recommend using a Epilog Laser Cutter to make these precision parts. TechShop members have access to these devices. If you don't belong to TechShop you can also get the parts cut by one of the many laser cutter job shops that are springing up. (For example, www.prawndesigns.com)

The first step is to dry fit all the pieces together. If you don't do this, then you're sure to make an oops that you might not be able to correct. Note that the ends of every piece has a letter on it. Note that every slot also has a letter on it. By matching the two up you can easily assemble the case. Now take it apart again.

Use bar clamps to hold the big side pieces in place and apply a small amount of acrylic glue (solvent really). It doesn't take much! If you drip solvent where it doesn't belong DO NOT wipe it up; this just makes a mess. Your best option is to wait and let the solvent dry. Be careful to place the bar clamps away from the slots so that solvent does not get on the rubber pads of the clamps.

Once the sides dry a bit move the clamps to assemble the front and back. I found that my acrylic sheet was a little thinner than 3mm. You can see in the photo how I used tooth picks in each slot under the base to lift it up. Once the solvent dried I could remove them and the case dried to be rock solid.

You can remove the clamps and assemble the rest of the cross pieces that hold the pill trays. There are several parts to put in, but each has a letter on the end - be sure to match it with the corresponding slot or groove. The only other trick to these cross pieces is to make sure they sit all the way down against the base; push them in and hold them while you apply solvent to them.

Now locate the two slide carriers for the pill dispensers. If your carriers are made from wood, then press a pill dispenser into each until they sit as shown in the photo. If your carriers are made from acrylic, then do not press them into place; you will break the plastic carriers. Instead you must gently file the slot in each carrier until it just fits the pill dispensers. Then use a few dabs of hot glue to hold the pill carriers in place.

You can slide the two assembled pill carriers into your Pill Reminder case. They slide in from right to left. Note that one is labeled AM and one PM. They are made differently so that you cannot insert them in the wrong spot.

Finally, assemble the catches that hold the top closed. Each catch is held in place with one screw and a nut. Tighten the nut until the catch has some friction but can still be rotated. Apply a second nut to lock the first one in place. You could also put a drop of Locktite on the nuts.

The Pill Reminder case went through many iterations as I tried different design ideas. For those of you who are interested in the evolution of the case, I'm including a link to a short video I made of the design process.

Step 3: Assemble the Arduino Shield

Picture of Assemble the Arduino Shield

Bob made a very cool shield to make it easy to connect all the pins from the Arduino to the Pill Reminder LEDs and other components. Our documents include the Gerber files for the printed circuit board so you can get it made anywhere. We also have all the necessary files uploaded at www.oshpark.com and you can just order your PCB from them. The documentation includes a complete parts list with a source for each item. Some of the items are much cheaper if you buy 30 instead of 5; if you team up with a couple of friends then the cost per unit is much cheaper.

You have to read the detailed step-by-step instructions to solder your Arduino shield together, but I'll point out some key tips here.

It is critical that the Arduino header pins are correctly aligned. If not, then your shield will never mount on the Arduino. I've found that best way to assure the alignment is to put the header pins through the shield and then press them into a real Arduino before soldering them in place. Turn the shield - Arduino assembly over so that the header pins are sitting on the bench top. Now carefully solder one or two pins on each header to the shield. Gently pull the shield away from the Arduino and solder the remaining header pins. You are now guaranteed that they are aligned correctly!

Getting the eight terminal blocks aligned is not necessary, but I like my PCBs to look neat. In this case I used a cheap ball point pen to hold them in a line while I soldered them. I placed a strip of masking tape to hold the PCB in place. I probably should have put a piece of tape on each end of the pen as well, but facing the other direction to give it all some tension. In the end you can see that the terminal blocks were placed pretty well.

Step 4: Add Electronics to the Case

Picture of Add Electronics to the Case

In this step we will merge the electronics with the case. As always, more detailed instructions are found in the documentation.

Mount your Arduino in the back of the case using four screws. Then press the shield onto it - be sure the pins are all correctly aligned.

Locate the bezel and the panel mount pieces. Mount the LCD panel, the PIR, and the power LED to the panel mount piece using plastic screws. We use plastic screws to avoid any unintentional short circuits.

Now add four screws to the corner holes of the bezel and secure each with a nut.

The panel mount will slide onto the four screws of the bezel. Secure it with four nuts.

Attach the ribbon cable from the LCD panel, PIR, and power LED to the shield as detailed in the documentation. Now attach a cable from the real time clock to the shield and mount the RTC in the case.

The next step is tedious, but easy to do if you pay attention to the assembly document. Put one LED in each of the LED tray holes. Note that one LED tray is labeled AM and the other PM. Take the leftmost LED from the AM and PM trays. Twist the positive lead of one LED with the negative lead of the other LED and add one of the short pigtail wires. Solder them together. Do the same with the other two leads from these LEDs. Now do the same operation on the other six pairs of LEDs. Put a piece of shrink tubing over each connection.

Paying close attention to the instructions, connect the pigtail leads to the screw terminals on the shield.

Now lay the two LED trays in place on the case. Gently work the LED leads down into the slots in the case. When you are done secure the two LED trays with four screws.

Step 5: Load and Go

Bring up the Arduino IDE and attach a cable from the Arduino to your computer. Open the provided software and load it into the Pill Reminder. You will also have to get some specific libraries, but those are all noted in the documentation.

Taking medication at the correct times is a serious business. We cannot stress enough how important it is for you to test your project to make sure it works. You also must read through the Arduino software we have provided to make sure it is bug free and suitable for you to use. As the maker of this project you are ultimately responsible to make sure the Pill Reminder works the way you want.

We have released the project under a Creative Commons license. We would really enjoy hearing from anyone who builds this project. Since the project is open source you can make improvements.

  • Wouldn't it be great to add a WiFi module so that the Pill Reminder could email a care giver in the PIR isn't triggered twice a day?
  • It would be great to get an email if the user has not taken their pills, but how to know that? Well an accelerometer could detect that the Pill Reminder had been moved. If it hasn't been moved then we can be fairly certain that no pills have been taken.
  • Could you design a latching pill dispenser so that the dispenser popped open at the correct time?
  • Maybe someone could add a sensitive scale so that the Pill Reminder could sense that pills had been removed by the user.

There are so many ways to extend this project. We look forward to hearing what you have done to improve our project.

Comments

lfoss (author)2014-09-03

Voted! I need one of these!!

jschrempp (author)lfoss2014-09-03

Thanks a lot!

agis68 (author)2014-09-03

Voted! Excellent Instructable

jschrempp (author)agis682014-09-03

Thanks for your support!

sketchglass (author)2014-09-01

Very nice! Just happened to see one at the mid penninsula techshop yesterday!

jschrempp (author)sketchglass2014-09-01

Excellent! I'm glad to hear that the Pill Reminder is getting some visibility there.

kode1303 (author)2014-08-31

Thankyou for this absolutely fantastic instructable. It might in fact save lives!

jschrempp (author)kode13032014-09-01

Thanks for the kind words. It would be fantastic to know that people were living longer because of something we do as a community of makers.

Thatdan (author)2014-09-01

Some of us have to make sure we do take medication every day good idea

jschrempp (author)Thatdan2014-09-01

Yes, it can get confusing. Imagine how hard it is for someone with some normal old age confusion. The older you get the more pills they want you to take, and yet the harder it is to do it correctly!

nayimnayimuddin61 (author)2016-10-11

can u sent final code???pls bro

c u github?

https://github.com/TeamPracticalProjects/PillReminder

HasviniiH (author)2016-02-07

it was full with clear explanation

HasviniiH (author)2016-02-07

it was full with clear explanation

AisyahA1 (author)2015-10-15

hey, if you dont mind,can i have the full description and code for this system . I am working it for my final year project .

jschrempp (author)AisyahA12015-10-15

Hi,

Nice to hear from you Aisyah. What part are you missing?

Can I ask what you mean by "working it" for your final year project?

Jim

wavelet_spaghetti (author)2014-11-18

smart and useful!

ibenkos (author)2014-10-18

Smart idea! I really like this project. Thanks for shearig :)

jschrempp (author)ibenkos2014-10-18

Hi,

Thanks for the comment. It's always nice to hear that someone likes my work.

Jim

motis2 (author)2014-09-14

Just What The Doctor Ordered.

Swikan (author)2014-09-08

I also voted! What a handy thing. I have a teen daughter who must take meds twice a day and insists she is old enough to remember herself, though has yet to prove it! HAHAHAH

kapilsaxena (author)2014-09-02

Excellent, have plan to make one for my parents one machine, two people and should dispense tablet 3 times a day.

jschrempp (author)kapilsaxena2014-09-03

When you finish your build, please post photos here so we can all see it. Sounds like a great idea.

jschrempp (author)jschrempp2014-09-05

You have inspired me. I'm converting the design into AutoDesk Inventor. I'll add the files to this project when I'm done. Having a parametric model of the case will make it easier for you to modify the design.

Jack Rodgers (author)2014-09-05

Excellent. One minor suggestion, find an old microwave and use that loud, annoying beeper as a reminder. That can't be ignored!

jschrempp (author)Jack Rodgers2014-09-05

Or perhaps a cow bell. Can't have too much cow bell.

Jack Rodgers (author)jschrempp2014-09-05

Here's a YouTube:

https://www.youtube.com/watch?v=EM2O8RPZcuk

jschrempp (author)Jack Rodgers2014-09-05

Thanks. Then there's this

https://www.youtube.com/watch?v=UfD9fWt8hrQ

alcurb (author)2014-09-03

Wonderful invention. It has so many possibilities. I would add a voice reminder (nag) to fill up the containers. I wonder if there's a reasonably-priced touch sensor that can pick up the weight of the lightest pill.

jschrempp (author)alcurb2014-09-03

I wondered if there's a weight sensor that has the required sensitivity. Something like is used in those 100 gram kitchen scales. The design document we include in the package has a section for "future ideas." It would be good to add this to it.

rrathod1 (author)2014-09-03

I m currently working on this pill reminder project using pic microcontroller specially for old people

jschrempp (author)rrathod12014-09-03

That's an interesting idea. You could build upon our case design - it's released under a CC license.

dhodgkinson (author)2014-09-03

For those people who need an immediate solution, or are unable to replicate this wonderful device, my wife and I both use and recommend an App called MediSafe Meds & Pill Reminder it is for Android or Apple devices.

violentmagician (author)2014-09-03

In rev 2 I would suggest adding a small piezo buzzer as well.

Good idea. Do you think the buzzer should go off just once per period? Or should it continue to sound throughout? Or maybe a button that the user presses when they take the medication and that turns off the buzzer?

I think it should sound for something like 5 seconds every minute until the user presses a button to mark that they consumed the pills. Or maybe do something like increasing frequency since some medicines need to be taken at a specific time range.

K5eag (author)2014-09-02

What a wonderful idea! I used to build electronic devices, toys and gadgets, but not able to do so anylonger. My eyes and hands are just not as good as they used to be. Does anyone make these units already assembled and ready to sell to someone who needs two of these units? Please let me know if so....

Thanks...Bill Miller - billmiller1@sbcglobal.net

jschrempp (author)K5eag2014-09-02

Hi Bill. Thanks for the comment. I know of a couple of people who have talked about making them to sell, but the current product is not the best for mass production - there's a lot of labor in each one. However, I sent your comment on to the folks I know; maybe one of them will contact you. Or - maybe someone reading this Instructable would like to make a couple for Bill?

Build_it_Bob (author)2014-09-02

Great things happen when tallents are combined ! Excellent project and thanks for sharing !

Build_it_Bob

jschrempp (author)Build_it_Bob2014-09-02

Thanks for the kind words Bob. The two of us really clicked working on this project. We're trying to find the basis for our next collaboration.

JackANDJude (author)2014-09-02

I made something similar that reminds Grandma 4 times a day to take her pills. If she doesn't take her pills within a few minutes, the gadget emails her caregiver. My next steps are to add led's to make sure Grandma takes the right pill.

http://littlebits.cc/projects/grandma-s-pill-box

jschrempp (author)JackANDJude2014-09-02

That's a cool project. I'll bet your grandma is proud to see you do this kind of thing. Maybe you could write it up as an Instructable.

Iris23 (author)2014-09-02

I need one of these! Could it be made to accommodate a 3x-a-day schedule?

jschrempp (author)Iris232014-09-02

Of course anything is possible, but... You face some challenges. The case would have to be modified to hold three sets of dispensers; that's some CorelDraw work. Second, you'd have to modify the Arduino shield to drive another set of LEDs; not impossible, but even more work. Then you'd have to modify the Arduino code to handle these new LEDs.

Realistically, you would be better off making two Pill Reminders and just modifying the Arduino code. You'd modify the code in each to have new on/off times for the LEDs.

starwriter34 (author)2014-09-01

I could definetly use a project like this lol.. I have a hard time remembering if I have taken my meds for the day even after taking the same medication for 25 years lol..

About This Instructable

23,419views

174favorites

License:

Bio: A guy who likes to learn things. A lot of things. As fast as possible. In a jumble of activity if need be.
Add instructable to: