Medication Timer

by AllysonC7 in Circuits > Arduino

195 Views, 0 Favorites, 0 Comments

Medication Timer

PXL_20220506_234259504.jpg

This medication timer can allow you to keep track of exactly when you need to take your medication. I have first hand experience with how difficult remembering to take medication at different time of the day can be, which is why I'm hoping that this timer can help others.

Supplies

  • Circuit Playground
  • Battery pack
  • Software to code you circuit playground
  • A pill box
  • Piece of foam paper
  • Super glue
  • Magnetic tape or other temporary adhesive
  • Permanent marker

Coding Your Circuit Playground

Screen Shot 2022-05-06 at 3.29.36 PM.png

Your first step should be to code your circuit playground. Without this step our project won't have a functioning timer to work with.

Feel free to setup the code as shown in the screenshot for a working timer. If you would like to add more timers, simply create a new timer variable and add it underneath the first timer variable. Afterwards, duplicate the other blocks and adjust them to the timer length you need.

Assembling the Foam Paper

PXL_20220506_201505041.jpg

Next we'll want to setup a foam paper board that we can use to assemble our project.

First you'll want to take your pill box and your super glue and adhere it to the foam paper. Make sure that you let the pill box sit untouched for a least an hour so the glue has time to properly set. From here, it can be helpful to mark on the back of the paper where your pill box is attached to make the rest of the process easier.

Attach Circuit Board and Battery Pack

PXL_20220506_201545777.jpg

Next we're going to want to attach the circuit board and battery pack to the foam paper.

On the opposite side from where you attached the pill box, mark out where you want to attach the circuit board. It can help to turn on the lights of the circuit board so you can get an idea of where the light will be shining on the front. For now, just use a marker and outline where you want the circuit board to be.

Next, take your battery pack and outline where you want the battery pack to be with a marker. After this take your magnetic tape, or other temporary form of adhesive, and attach two pieces, one to the battery pack and one to the foam paper.

The reason we're using magnetic tape instead of glue is because we want a way to remove the battery pack from the paper when we need to replace the batteries.

Mark Where the Button Is on the Paper

PXL_20220506_234036797.jpg

After you've successfully adhered the circuit board and battery pack to the paper what we'll want to do next is mark on the front where the user needs to press to reset the timer. Make sure you're circuit board is firmly in place so that button doesn't shift from where you've marked it. From here, test the circuit board to ensure the light is visible from the the back of the paper. For this reason I recommend using a white or light-colored foam paper

Set the Timer

PXL_20220506_201635899.jpg

Next we can use our pill timer!

Set the timer for any length of time when you code the circuit board.

Press the button twice to set the timer. If the light is green you'll know the timer is set.

Once the timer runs out the light will flash red. This is how you'll know that it's time to take your medication.

This process can be repeated for all the lights on the circuit board and can be set for different times, however, for simplicity's sake, this example only uses one timer.