A simple tool that reminds a person to take his/her pills
In this task, we will build a simple tool that reminds a person to take his/her pills on time. The circuitry required for this example is similar to the examples discussed in the previous tasks. We are discussing this example because it is difficult for someone to develop a habit of taking their medication on time. It is critical that people identified with chronic conditions do not miss their prescription schedule.
Prepare for lift off
We extensively discussed interfacing the buzzer to a Raspberry Pi in the previous task. It'll be nice to have an enclosure for the pillbox reminder. An example of a pill reminder is available from instructables at http://www.instructables.com/id/The-Pill-Reminder/. We will only discuss how to trigger the buzzer at a selected time of the day.
Engage thrusters
Let's say a person has to take his/her prescribed pills at 9:30 in the morning; a buzzer can be triggered using the datetime
module in Python:
while...