Arduino UNO Based Multi-Sensor Health and Environmental Monitoring System
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit designed to interface with various sensors and modules, including environmental sensors, a heart rate and oxygen sensor, motion sensors, and communication modules. The circuit is controlled by an Arduino UNO microcontroller, which manages sensor data and module interactions. The circuit is powered by a 5V supply from the Arduino UNO and includes a 3.3V connection for components requiring lower voltage. Communication with some sensors is achieved via analog and digital I/O pins, while others use the I2C protocol.
Component List
- Arduino UNO: A microcontroller board based on the ATmega328P, featuring digital and analog I/O pins.
- Sound Sensor: A module that detects sound levels with digital and analog outputs.
- DHT11 Humidity and Temperature Sensor: A sensor that measures ambient humidity and temperature.
- MAX30102 Heart Rate and Oxygen Sensor: A sensor for measuring heart rate and blood oxygen levels.
- DS18B20 Module: A digital temperature sensor module.
- AD8232 Heart Rate Monitor: A single-lead heart rate monitor.
- MPU-6050: A motion tracking device with a 3-axis gyroscope and a 3-axis accelerometer.
- LED (Red): A red light-emitting diode.
- LED (Green): A green light-emitting diode.
- Resistor (220 Ohms): A resistor with a resistance of 220 Ohms.
- Resistor (4.7 Ohms): A resistor with a resistance of 4.7 Ohms.
- MQ-3 Alcohol Sensor: A sensor for detecting alcohol vapor in the air.
- MQ-2 Sensor: A sensor for detecting flammable gases and smoke.
- Sim800l: A GSM/GPRS module for cellular communication.
- RTC Module: A real-time clock module for timekeeping.
- Buzzer: An electronic buzzer for audible alerts.
- KY-037 Microphone: A microphone module with digital and analog outputs.
Wiring Details
Arduino UNO
- 5V: Powers various sensors and modules.
- 3.3V: Powers the AD8232 Heart Rate Monitor.
- GND: Common ground for all components.
- A0: Connected to analog outputs of the AD8232 Heart Rate Monitor, KY-037 Microphone, MQ-2 Sensor, and Sound Sensor.
- A1: Connected to the analog output of the MQ-3 Alcohol Sensor.
- A4 (SDA): Connected to the I2C data line of the MPU-6050, RTC Module, and MAX30102 Heart Rate and Oxygen Sensor.
- A5 (SCL): Connected to the I2C clock line of the MPU-6050, RTC Module, and MAX30102 Heart Rate and Oxygen Sensor.
- D2: Connected to the digital output of the KY-037 Microphone and the data line of the DS18B20 Module.
- D5: Connected to the anode of the red LED through a 220 Ohm resistor.
- D6: Connected to the anode of the green LED and the positive terminal of the buzzer.
- D7: Connected to the data pin of the DHT11 Humidity and Temperature Sensor.
- D9: Connected to the TXD pin of the Sim800l module.
- D10: Connected to the RXD pin of the Sim800l module.
Sound Sensor
- VCC: Powered by 5V.
- GND: Connected to common ground.
- DO: Connected to Arduino UNO A0.
DHT11 Humidity and Temperature Sensor
- VDD: Powered by 5V.
- DATA: Connected to Arduino UNO D7.
- GND: Connected to common ground.
MAX30102 Heart Rate and Oxygen Sensor
- VIN: Powered by 5V.
- SCL: Connected to Arduino UNO A5.
- SDA: Connected to Arduino UNO A4.
- GND: Connected to common ground.
DS18B20 Module
- VCC: Powered by 5V.
- DQ: Connected to Arduino UNO D2.
- GND: Connected to common ground.
AD8232 Heart Rate Monitor
- 3.3v: Powered by 3.3V from Arduino UNO.
- OUTPUT: Connected to Arduino UNO A0.
- GND: Connected to common ground.
MPU-6050
- VCC: Powered by 5V.
- GND: Connected to common ground.
- SCL: Connected to Arduino UNO A5.
- SDA: Connected to Arduino UNO A4.
LED (Red)
- Anode: Connected to Arduino UNO D5 through a 220 Ohm resistor.
- Cathode: Connected to common ground.
LED (Green)
- Anode: Connected to Arduino UNO D6.
- Cathode: Connected to common ground.
Resistor (220 Ohms)
- Pin1: Connected to Arduino UNO D5.
- Pin2: Connected to the anode of the red LED.
Resistor (4.7 Ohms)
- Pin1: Connected to the digital output of the KY-037 Microphone.
- Pin2: Powered by 5V.
MQ-3 Alcohol Sensor
- VCC: Powered by 5V.
- GND: Connected to common ground.
- A0: Connected to Arduino UNO A1.
MQ-2 Sensor
- VCC: Powered by 5V.
- GND: Connected to common ground.
- A0: Connected to Arduino UNO A0.
Sim800l
- VCC: Powered by 5V.
- GND: Connected to common ground.
- RXD: Connected to Arduino UNO D10.
- TXD: Connected to Arduino UNO D9.
RTC Module
- VCC: Powered by 5V.
- GND: Connected to common ground.
- SCL: Connected to Arduino UNO A5.
- SDA: Connected to Arduino UNO A4.
Buzzer
- POSITIVE: Connected to Arduino UNO D6.
- NEGATIVE: Connected to common ground.
KY-037 Microphone
- VCC: Powered by 5V.
- Ground: Connected to common ground.
- Analog output: Connected to Arduino UNO A0.
- Digital output: Connected to Arduino UNO D2.
Documented Code
Arduino UNO (sketch.ino)
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
Note: The provided code is a template and does not include specific functionality. It should be populated with initialization code in the setup() function and operational code in the loop() function to interact with the connected sensors and modules.