An IoT-based real-time health monitoring system for heart rate and temperature tracking
Real-time health monitoring with IoT connectivity
This IoT-based health monitoring system provides real-time tracking of vital signs including heart rate and body temperature. The system combines hardware sensors with cloud connectivity to enable both local display and remote monitoring capabilities.
- Real-time Monitoring: Continuous tracking of heart rate and temperature
- Local Display: Immediate feedback via LCD screen
- Remote Access: Cloud-based monitoring through ThingSpeak
- User-Friendly: Simple setup with visual and auditory feedback
- π Features
- π§ Hardware Requirements
- π Circuit Diagram
- π οΈ Hardware Setup
- π» Software Setup
- π Results & Display
- π Usage Instructions
- π ThingSpeak Integration
- π Troubleshooting
- π€ Contributing
- π Contact
|
|
π Component | π Description | π’ Quantity | π° Estimated Cost |
---|---|---|---|
ποΈ Arduino Uno | Main microcontroller board | 1 | $15-25 |
π Pulse Sensor | Heart rate detection sensor | 1 | $10-15 |
π‘οΈ Temperature Sensor | Analog temperature measurement | 1 | $5-10 |
πΊ 16x2 LCD Display | Local data visualization | 1 | $8-12 |
π‘ ESP8266 Wi-Fi Module | Wireless connectivity | 1 | $5-8 |
π Resistors | Circuit protection (if needed) | Various | $2-5 |
π Breadboard | Prototyping platform | 1 | $5-8 |
π Jumper Wires | Circuit connections | Set | $3-5 |
π‘ Total Estimated Cost: $53-88 USD
π Sensor Connections
Purple Wire β Arduino Pin A0
Red Wire β Arduino 5V
Black Wire β Arduino GND
Signal Pin β Arduino Pin A1
VCC Pin β Arduino 5V
GND Pin β Arduino GND
πΊ LCD Display Connections
RS β Arduino Pin 12
EN β Arduino Pin 11
D4 β Arduino Pin 5
D5 β Arduino Pin 4
D6 β Arduino Pin 3
D7 β Arduino Pin 2
VSS β Arduino GND
VDD β Arduino 5V
V0 β Potentiometer (for contrast)
π‘ ESP8266 Wi-Fi Module
TX β Arduino Pin 9
RX β Arduino Pin 10
VCC β Arduino 3.3V
GND β Arduino GND
Install the following libraries through Arduino IDE Library Manager:
// Core Libraries
#include <LiquidCrystal.h> // LCD display control
#include <SoftwareSerial.h> // ESP8266 communication
#include <WiFiEsp.h> // Wi-Fi connectivity
#include <ThingSpeak.h> // Cloud data logging
- π₯ Download Arduino IDE - Download here
- π¦ Install Required Libraries - Use Library Manager
- π§ Configure Wi-Fi Credentials - Update in code
- π Set ThingSpeak API Key - Create account and get key
- π€ Upload Code - Flash to Arduino board
βββββββββββββββββββ
β Heart Rate: 72 β
β Temp: 98.6Β°F β
βββββββββββββββββββ
- π Real-time Graphs - Heart rate and temperature trends
- π Historical Data - Long-term health tracking
- π Alerts - Customizable threshold notifications
- π± Mobile Access - Monitor from anywhere
-
π Power On
Connect Arduino to power source Wait for LCD initialization
-
π Monitor Data
β’ Heart rate displays in BPM β’ Temperature shows in Fahrenheit β’ Data updates every 2-3 seconds
-
π Check ThingSpeak
β’ Open ThingSpeak dashboard β’ View real-time charts β’ Analyze historical trends
Mode | Description | Duration |
---|---|---|
π Continuous | Real-time monitoring | Always on |
π Data Logging | Cloud data storage | Every 15 seconds |
π Audio Feedback | Heartbeat sounds | On pulse detection |
- π Create Account - ThingSpeak.com
- π Create Channel - Set up data fields
- π Get API Key - Copy Write API Key
- βοΈ Configure Code - Update credentials
Field | Parameter | Unit |
---|---|---|
Field 1 | Heart Rate | BPM |
Field 2 | Temperature | Β°F |
Field 3 | Timestamp | UTC |
β Common Issues & Solutions
- Problem: No sensor readings
- Solution: Check wiring connections and power supply
- Problem: ESP8266 not connecting
- Solution: Verify credentials and signal strength
- Problem: Garbled text or no display
- Solution: Adjust contrast potentiometer
- Problem: Data not appearing online
- Solution: Check API key and internet connection
- π Arduino Documentation - docs.arduino.cc
- π¬ Community Forum - forum.arduino.cc
- π ThingSpeak Docs - thingspeak.com/docs
We welcome contributions to improve this health monitoring system!
- π΄ Fork the Repository
- πΏ Create Feature Branch
git checkout -b feature/AmazingFeature
- πΎ Commit Changes
git commit -m 'Add AmazingFeature'
- π€ Push to Branch
git push origin feature/AmazingFeature
- π Open Pull Request
- π± Mobile app development
- π Advanced alerting system
- π Enhanced data analytics
- π‘οΈ Security improvements
- π¨ UI/UX enhancements
π¨βπ» Project Maintainer
π₯ Health Monitoring System - Monitoring your health, one heartbeat at a time
If you found this project helpful, please consider giving it a β on GitHub!
- π Arduino Learning - Arduino Project Hub
- π IoT Tutorials - IoT For All
- π ThingSpeak Examples - ThingSpeak Community
- π Health Tech - Healthcare IoT