Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Raspberry Pi Embedded Projects Hotshot
  • Toc
  • feedback
Raspberry Pi Embedded Projects Hotshot

Raspberry Pi Embedded Projects Hotshot

By : Sai Yamanoor, Srihari Yamanoor
close
Raspberry Pi Embedded Projects Hotshot

Raspberry Pi Embedded Projects Hotshot

By: Sai Yamanoor, Srihari Yamanoor

Overview of this book

This book is targeted towards beginners and intermediate designers of mechatronic systems and embedded system design. Some familiarity with the Raspberry Pi and Python programming is preferred but not required.
Table of Contents (15 chapters)
close
14
Index

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...
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete