Elderly Care System: Building a Smart Reminder System With ESP32 and Blynk

by shshneider in Circuits > Arduino

131 Views, 2 Favorites, 0 Comments

Elderly Care System: Building a Smart Reminder System With ESP32 and Blynk

61o2ZUzB4XL._AC_UF1000,1000_QL80_.jpg
download (1).jpeg

In our fast-paced world, it’s essential to take care of our loved ones, especially the elderly. This IoT will help you to create a smart reminder system that assists caregivers and ensures the well-being of seniors. Let’s dive into the details!


In this instructor guide, we’ll explore how to create an IoT-based reminder system using an ESP32 microcontroller and the Blynk platform. This system will help caregivers keep track of essential tasks for their elderly family members, such as taking medication, staying hydrated, and maintaining social connections.

how it works ?

Imagine a scenario where there’s a caregiver and an elderly person. They both have a set of tools to communicate and assist each other. Let’s break it down:

  1. Medication Reminder:
  • The caregiver decides it’s time for the elderly person to take their medication.
  • The caregiver presses the “Medication Reminder” widget.
  • An alarm sounds at the elderly person’s home.
  • If the elderly person takes the medicine, they can turn off the alarm by pressing a joystick button.
  1. Water Reminder:
  • Similarly, there’s a “Water Reminder” widget on the Blynk console.
  • When the caregiver activates it, a blinking LED light appears in the elderly person’s vicinity.
  • The elderly person can turn off the blinking light by moving the joystick upward.
  1. Check-In Reminder:
  • Sometimes the caregiver wants to check in on the elderly person.
  • They activate a continuous LED light.
  • The elderly person can respond by turning off the LED by moving the joystick to the right.

Supplies

For this instructable you will need:

  • Arduino IDE
  • ESP32 Microcontroller
  • ESP32 Sensor Shield
  • Sensor Extension Wires
  • 10mm Blue LED
  • Speaker
  • PS/2 Joystick Module
  • Blynk console user

Connect Sensors to ESP32

  1. For LED connection, check this instructor - https://arduinogetstarted.com/tutorials/arduino-led-blink
  2. For Joystick connection, check this instructor - https://arduinogetstarted.com/tutorials/arduino-joystick
  3. For Speaker, connect the GND to GND (26'th pin is ok), and VCC to the VCC (26'th pin).

Setting Up the Blynk Interface - Create a New Template and Project

Screenshot 2024-03-17 at 13.38.53.png
Screenshot 2024-03-17 at 13.39.31.png

Copy the Id, Name, and Token to Your Code

Screenshot 2024-03-17 at 13.40.07.png

Create New Datastreams

Screenshot 2024-03-17 at 13.40.28.png
Screenshot 2024-03-17 at 13.41.33.png
Screenshot 2024-03-17 at 13.41.55.png
Screenshot 2024-03-17 at 13.42.26.png
Screenshot 2024-03-17 at 13.42.40.png
  • Create a new datastream for medicine reminder and assign it to V0.
  • Create a new datastream for water reminder and assign it to V1.
  • Create a new datastream for check-in reminder and assign it to V2.

Create a Connection to Each of This Datastreams Via the Switch Widget

Screenshot 2024-03-17 at 13.43.10.png
Screenshot 2024-03-17 at 13.43.37.png
Screenshot 2024-03-17 at 13.44.03.png
Screenshot 2024-03-17 at 13.44.23.png

create one widget for every datastream.

Set the Event Based Notifications

Screenshot 2024-03-17 at 13.44.43.png
Screenshot 2024-03-17 at 13.45.17.png
Screenshot 2024-03-17 at 14.17.29.png

Allow Blynk to receive notifications, follow the steps of this instructor - https://docs.blynk.io, for every reminder set a notification.

Add New Device and Use the Template We Just Created

Screenshot 2024-03-17 at 13.59.07.png
Screenshot 2024-03-17 at 13.59.24.png

Write the Code

  • Create a code template with all the needed libraries - https://examples.blynk, and add your wifi credentials.
  • Down below you can find the full code project, you can use it in arduino IDE -

Downloads

ENJOY!!