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


