This repo is an EXAMPLE ONLY. create your own empty repo or use an empty template https://github.com/ICST-Technion/IOT_REPO_TEMPLATE
In this project we have built a smart pill box that makes it easy for patients to track their pill doses over a week (7 days), pill doses times, and to get notified by a smartphone app when the pill times come and when they are late for pills. In addition, a helper of the patient can use the app to see the patient LOG and get notified when the patient is late for pills. The smart pill box is responsive, and gives sound and visual notifications to help the patient.
First, the patient and his helper both signup to the app (each on his phone). The patient enters the pill times and chooses a "refill day": when the box needs refill after 1 week of use.
- Settings: Inside the app, the patient can update the pill times: 2 times per day in which the patient will take his pill doses (2 cells in the box per day) .
- Search Box: If the patient forgot where the pill box is, he can press on "search box" botton in the app the that will cause the pill box to light in different colors and make loud continuous sounds to help the patient find the box location.
- Reminders: 5 minutes before each pill does time, the patient will get a reminder notification to take his pills. and the suitable cell in the pill box will light in blue to help the patient take the right dose.
- Pills taken in time: If the patient took his pills from the right cell, it will light in purple to confirm him that he's done okay, and he will get a "good job notification". There is a virtual pill box in the app that shows the status of each pill dose through the week and it will be updated in the suitable cell with a v mark.
- ESP32: source code for the esp side (firmware).
- Documentation: wiring diagram + basic operating instructions
- Unit Tests: tests for individual hardware components (input / output devices)
- flutter_app : dart code for our Flutter app.
- Parameters: contains description of configurable parameters
- Assets: 3D printed parts, Audio files used in this project,
- link to app additional material: https://drive.google.com/drive/folders/1LCiqWJl7VVG6eHTiEd6VVtLLuSFPIfDv
- ArduinoMqttClient - version 0.1.6
- RTCZero - version 1.6.0
- Adafruit BusIO - version 1.14.1
- Adafruit PCF8574 - version 1.1.0
- FastLED - version 3.5.0
- Firebase Arduino Client Library for ESP8266 and ESP32 - version 4.2.7
This project is part of ICST - The Interdisciplinary Center for Smart Technologies, Taub Faculty of Computer Science, Technion https://icst.cs.technion.ac.il/
