Biometric and Health Sensors
Biometric and health sensors are sensors used to measure physiological signals, body characteristics, and health-related parameters.
They are widely used in:
- ⌚ Smartwatches
- 🏥 Medical monitoring systems
- ❤️ Heart-rate monitors
- 🩸 Pulse oximeters
- 🌡️ Digital thermometers
- 🫁 Fitness trackers
- 🔐 Biometric security systems
- 🤖 Health-monitoring IoT projects
- 🧑⚕️ Remote patient monitoring
Important: Sensors used in hobby/IoT projects are useful for learning and monitoring, but many are not medical-grade diagnostic devices. Their readings should not be treated as a medical diagnosis.
1 What Are Biometric Sensors?
A biometric sensor measures a characteristic or biological signal associated with a person.
Examples:
Fingerprint ↓ Fingerprint Sensor ↓ Digital fingerprint data
Heart ↓ Heart-rate sensor ↓ Pulse information
Finger ↓ Optical sensor ↓ SpO₂ + pulse estimation
Biometric sensors can be divided into two broad groups:
1. Identification sensors
Used to identify a person.
Examples:
- Fingerprint
- Face recognition
- Iris
- Voice
2. Physiological sensors
Used to measure body signals.
Examples:
- Heart rate
- SpO₂
- Temperature
- ECG
- EMG
- GSR
2 Major Biometric and Health Sensors
| Sensor type | Measures/identifies |
|---|---|
| Heart-rate sensor | Heart/pulse rate |
| Pulse sensor | Pulse waveform |
| SpO₂ sensor | Blood oxygen estimation |
| Temperature sensor | Body/object temperature |
| ECG sensor | Electrical activity of heart |
| EMG sensor | Muscle electrical activity |
| GSR/EDA sensor | Skin conductance |
| Blood-pressure sensor | Blood pressure |
| Fingerprint sensor | Fingerprint pattern |
| Iris sensor | Iris pattern |
| Face recognition | Facial characteristics |
Let's understand them one by one.
3 Heart-Rate Sensor
Heart rate refers to the number of heartbeats per minute.
Usually represented as:
BPM = Beats Per Minute
For example:
Heart Rate = 72 BPM
A sensor can detect periodic changes associated with blood circulation.
Heart ↓ Blood circulation ↓ Optical/electrical signal ↓ Sensor ↓ Microcontroller ↓ BPM
Applications
- Smartwatches
- Fitness trackers
- Exercise monitoring
- IoT health projects
4 Pulse Sensor
A pulse sensor detects the pulse caused by blood flow.
A common hobby pulse sensor is an optical sensor.
It generally uses:
- LED
- Light sensor
- Signal conditioning
Conceptually:
LED ↓ Finger ↓ Reflected light ↓ Light sensor ↓ Signal ↓ Arduino
When blood volume changes during each heartbeat, the optical signal changes.
5 PPG — Photoplethysmography
A very important concept is PPG.
PPG is an optical technique used to detect changes in blood volume in tissue.
Basic arrangement:
LED ↓ Skin ↓ Blood vessels ↓ Photodetector
The sensor detects changes in reflected or transmitted light.
PPG is used in many:
- Smartwatches
- Fitness bands
- Pulse oximeters
- Heart-rate monitors
6 MAX30102
The MAX30102 is a popular sensor module for educational and embedded projects.
It can be used for:
- Heart-rate estimation
- SpO₂ estimation
It uses optical sensing with LEDs and a photodetector.
Typical communication:
MAX30102 │ │ I²C ↓ ESP32 / Arduino
Typical pins:
| MAX30102 | ESP32 example |
|---|---|
| VIN | Appropriate module supply |
| GND | GND |
| SDA | GPIO 21 |
| SCL | GPIO 22 |
The exact power requirements depend on the breakout board, so check the module documentation rather than assuming every MAX30102 board has identical voltage handling.
7 SpO₂ Sensor
SpO₂ is an estimate of arterial blood oxygen saturation.
A pulse oximeter commonly uses different wavelengths of light to estimate oxygen saturation.
Conceptually:
RED LED ↓ Finger ↑ IR LED ↓ Photodetector ↓ Processing ↓ SpO₂ %
A display might show:
SpO₂: 98% Pulse: 72 BPM
Important
An inexpensive development-board sensor is not automatically a clinical pulse oximeter.
Factors such as:
- Finger movement
- Poor contact
- Ambient light
- Skin perfusion
- Sensor placement
- Hardware quality
can affect the reading.
8 Body Temperature Sensors
Temperature sensors measure body or skin temperature.
Common sensor technologies include:
- Thermistors
- DS18B20
- MLX90614
- RTDs
- Semiconductor temperature sensors
Contact Temperature Sensor
A sensor touches the object/body.
Skin │ ↓ Temperature sensor │ ↓ ESP32
Non-Contact Temperature Sensor
An infrared sensor detects thermal radiation.
For example:
MLX90614
Object ↓ IR radiation ↓ MLX90614 ↓ I²C ↓ ESP32
This can be useful for:
- Object temperature
- Surface temperature
- Educational thermometer projects
However, measuring core body temperature accurately is more complicated than simply pointing an inexpensive IR sensor at skin.
9 ECG Sensor
ECG = Electrocardiogram
An ECG measures electrical activity associated with the heart.
A simplified concept:
Heart ↓ Electrical activity ↓ Electrodes ↓ ECG circuit ↓ Microcontroller ↓ ECG waveform
A common educational module is AD8232.
Typical connections include:
AD8232 │ ├── 3.3V ├── GND ├── OUTPUT → ADC ├── LO+ └── LO-
The exact wiring depends on the board and application.
10 ECG Waveform
An ECG waveform contains characteristic features.
A simplified representation:
R │ /\ │ / \ │ _/ \_│____ P Q S
Common labels include:
- P wave
- QRS complex
- T wave
These represent different phases of the heart's electrical activity.
Important
Interpreting ECG waveforms medically is much more complex than simply detecting peaks.
An Arduino/ESP32 ECG project is excellent for learning:
- Analog signals
- ADC
- Signal filtering
- Noise reduction
- Signal visualization
but should not be used as a substitute for professional diagnosis.
11 EMG Sensor
EMG = Electromyography
EMG measures electrical activity associated with muscles.
Example:
Muscle ↓ Electrical activity ↓ Electrodes ↓ EMG amplifier ↓ ESP32
When a muscle contracts, its electrical activity changes.
Applications
- Prosthetic research
- Robotics
- Human-computer interaction
- Gesture detection
- Muscle activity experiments
Example:
Flex arm ↓ Muscle activity increases ↓ EMG signal changes ↓ ESP32 detects signal ↓ Motor/action
12 GSR / EDA Sensor
GSR = Galvanic Skin Response
EDA = Electrodermal Activity
These systems measure changes in skin conductance.
Skin conductivity can change with factors including:
- Sweat
- Stress/arousal
- Temperature
- Emotional response
Basic arrangement:
Finger │ ├── Electrode │ └── Electrode ↓ GSR circuit ↓ ESP32
Applications
- Research
- Human-computer interaction
- Stress-response experiments
- Educational projects
Important
GSR should not be interpreted as a direct "stress meter." Many physiological factors affect skin conductance.
13 Blood Pressure Sensors
Blood pressure is commonly represented using:
Systolic / Diastolic
For example, a reading might be displayed as:
120 / 80 mmHg
Automated blood-pressure devices commonly use an inflatable cuff and pressure sensor.
Conceptually:
Arm ↓ Inflatable cuff ↓ Pressure changes ↓ Pressure sensor ↓ Processing ↓ Blood pressure estimate
This is considerably more complex than connecting a basic analog sensor to Arduino.
For actual medical measurement, use a properly validated blood-pressure monitor.
14 Fingerprint Sensor
A fingerprint sensor identifies a person based on fingerprint patterns.
A typical module contains:
- Fingerprint scanner
- Processor
- Memory
Example:
Finger ↓ Fingerprint sensor ↓ Fingerprint image/data ↓ Template processing ↓ Match ↓ Access granted/denied
Example:
Fingerprint detected ↓ Compare with stored templates ↓ ┌─────┴─────┐ ↓ ↓ Match No Match ↓ ↓ Unlock Deny
15 Fingerprint Authentication
A typical embedded system:
Fingerprint Sensor │ ↓ ESP32 │ ┌────┴─────┐ ↓ ↓ Relay OLED ↓ Door Lock
This can be used for:
- Smart doors
- Attendance systems
- Lab access
- IoT security
16 Biometric Attendance System
You can combine a fingerprint sensor with ESP32.
Student ↓ Fingerprint ↓ Sensor ↓ ESP32 ↓ Match? ┌─┴─┐ Yes No ↓ ↓ Save Reject ↓ Database
The system can store:
ID Name Date Time Status
For example:
101 | Uday | 08:57 AM | Present 102 | Ram | 09:02 AM | Present
17 Heart-Rate + SpO₂ IoT System
A useful ESP32 project is a health-monitoring dashboard.
MAX30102 │ ↓ ESP32 │ ┌─────┴─────┐ ↓ ↓ OLED Wi-Fi │ │ ↓ ↓ Local display Cloud
Example dashboard:
------------------------- HEALTH MONITOR ------------------------- Pulse : 74 BPM SpO₂ : 98% Status: Monitoring -------------------------
The ESP32 can send data to a server or dashboard.
18 Combining Multiple Health Sensors
A more advanced system could include:
- MAX30102
- Temperature sensor
- ECG
- GSR
- OLED
- ESP32
Architecture:
ESP32 │ ┌───────────┼───────────┐ ↓ ↓ ↓ MAX30102 ECG Temp │ │ │ └───────────┼───────────┘ ↓ Processing │ ┌──────┴──────┐ ↓ ↓ OLED Wi-Fi ↓ Dashboard
19 Analog vs Digital Health Sensors
Health sensors can produce different types of signals.
Analog
Example:
ECG EMG Some pulse sensors Some temperature sensors
Signal:
Sensor ↓ Analog voltage ↓ ADC ↓ ESP32
Digital
Example:
MAX30102 DS18B20 Fingerprint modules
Signal:
Sensor ↓ Digital protocol ↓ ESP32
Common communication interfaces include:
- I²C
- SPI
- UART
- 1-Wire
20 ADC and Health Sensors
Many physiological signals are analog.
The ESP32 contains ADC inputs that can convert analog voltage into digital values.
Conceptually:
Body signal ↓ Sensor ↓ Analog voltage ↓ ADC ↓ Digital value ↓ Software
For example:
ADC reading ↓ Filtering ↓ Peak detection ↓ BPM calculation
21 Noise in Health Sensors
Health signals are often very small and sensitive to noise.
Sources include:
- Movement
- Loose wires
- Electrical interference
- Poor grounding
- Ambient light
- Sensor placement
- Muscle movement
For example:
Actual signal: /\ /\ /\ _____/ \____/ \____/ \____ Noisy signal: /\_/\/\___/\_/\/\___/\_/\/\ _/ \_/ \_/ \_
Therefore, signal processing is very important.
22 Basic Filtering
A simple moving average can reduce some random noise.
For example:
Read sensor ↓ Take multiple samples ↓ Calculate average ↓ Use filtered value
Example:
100 102 98 101 99
Average:
(100 + 102 + 98 + 101 + 99) / 5 = 100
For real physiological signals, more appropriate filters may include:
- Low-pass filters
- High-pass filters
- Band-pass filters
- Notch filters
depending on the signal.
23 Heart Rate Calculation
A simplified pulse calculation can use the interval between detected beats.
If two heartbeats are separated by:
0.8 seconds
Then approximately:
BPM = 60 / 0.8 = 75 BPM
General formula:
BPM = 60 / time_between_beats_in_seconds
For real sensors, algorithms need to handle:
- Noise
- False peaks
- Missed beats
- Motion artifacts
24 Biometric Security System
You can combine biometric sensors with IoT.
Example:
Fingerprint ↓ Authentication ↓ ESP32 ↓ Valid? ┌──┴──┐ Yes No ↓ ↓ Unlock Alarm
Add:
- RFID
- Fingerprint
- PIN
- OLED
- Servo
- Relay
- Buzzer
to create a multi-factor access system.
25 Multi-Factor Smart Door
For example:
Fingerprint + PIN ↓ ESP32 ↓ Authentication ↓ Servo / Solenoid ↓ Door unlocked
This is stronger than relying on only one authentication method.
26 Sensor Comparison
| Sensor | Main purpose | Interface commonly seen |
|---|---|---|
| Pulse sensor | Pulse detection | Analog |
| MAX30102 | Pulse/SpO₂ estimation | I²C |
| DS18B20 | Temperature | 1-Wire |
| MLX90614 | IR temperature | I²C |
| AD8232 | ECG signal acquisition | Analog |
| EMG module | Muscle activity | Analog |
| GSR/EDA | Skin conductance | Analog |
| Fingerprint module | Fingerprint authentication | UART |
27 Practical ESP32 Health Project
Components
- ESP32
- MAX30102
- DS18B20
- OLED display
- Buzzer
- Wi-Fi
Architecture
┌─────────────┐ │ ESP32 │ └──────┬──────┘ │ ┌────────────┼────────────┐ ↓ ↓ ↓ MAX30102 DS18B20 OLED │ │ │ Pulse/SpO₂ Temperature Display │ │ └────────────┴────────────┐ ↓ Wi-Fi ↓ Dashboard
Possible display:
==================== HEALTH MONITOR ==================== Pulse : 76 BPM SpO₂ : 98% Temp : 36.8°C WiFi : Connected ====================
Again, this should be treated as an educational monitoring project, not a medical diagnostic device.
28 Important Safety Considerations
Health sensors require more caution than ordinary sensors.
1. Don't treat hobby readings as diagnosis
For example:
ESP32 says 95%
doesn't automatically mean a medical condition exists or doesn't exist.
2. Electrical safety
When sensors are connected to a person, use properly designed, electrically safe hardware.
Never experiment with circuits connected directly to mains electricity while the circuit is connected to a person's body.
3. Sensor calibration
Some sensors require careful calibration.
4. Sensor placement
Poor placement can produce incorrect readings.
5. Motion artifacts
Movement can significantly affect:
- PPG
- ECG
- EMG
- GSR
29 Where Biometric and Health Sensors Are Used
🏥 Healthcare
- Patient monitoring
- Temperature monitoring
- ECG
- Pulse monitoring
⌚ Wearables
- Smartwatches
- Fitness bands
- Activity trackers
🔐 Security
- Fingerprint
- Face recognition
- Iris recognition
🏋️ Fitness
- Heart rate
- Exercise monitoring
- Activity tracking
🤖 Robotics
- EMG-based control
- Human-machine interaction
🎓 Education
- Biomedical signal processing
- IoT
- Embedded systems
- Sensor interfacing
30 Key Points
- Biometric sensors identify or recognize people.
- Health sensors measure physiological signals.
- PPG is commonly used for optical pulse monitoring.
- MAX30102 is popular for educational pulse/SpO₂ projects.
- ECG measures electrical activity associated with the heart.
- EMG measures muscle electrical activity.
- GSR/EDA measures skin conductance.
- Fingerprint sensors can be used for authentication and attendance.
- DS18B20 and MLX90614 can be used for temperature measurement in different ways.
- Health signals often require filtering and signal processing.
- Sensor placement and calibration strongly affect measurements.
- Hobbyist sensor modules should not automatically be considered medical-grade equipment.
- ESP32 can combine several sensors into an IoT health-monitoring system.