CONTENT
● Flow chart
SENSOR ● Components
TECHNOLOGY ● Main objective
● Background study
● Output
● Steps left
IOT BASED SAFETY
SECURITY FOR REAL
TIME MONITORING OF
BABY ACTIVITY
VARSHINI Y
1 22bec1294
NADIA FARHEEN
2 22bec1513
MANDAVA VEDA
3 VARSHINI
22bec1233
FLOW CHART
INITIALIZE DH11,
TEMP AND
START INITIALIZE ARDUINO
HUMIDITY SOUND
SENSOR
READ
TEMPERATURE
AND HUMIDITY
SENSOR
VALIDITY
READ SOUND
SENSOR
VALID INVALID
DISPLAY ‘BABY IS ACTIVATE BUZZER
CALM’ AND RETRY
COMPONENTS REQUIRED
1. ARDUINO UNO
2. DHT11 or DHT22 TEMPERATURE AND HUMIDITY SENSOR
3. SOUND SENSOR (e.g., KY-038 or KY-037)
4. PIEZO BUZZER OR SPEAKER
5. BREADBOARD AND JUMPING WIRES
6. POWER SOURCES (e.g., USB cable or battery pack)
7. LCD DISPLAY OR A SMARTPHONE APP FOR REMOTE
MONITORING (Wi-Fi module or Bluetooth module
required)
OBJECTIVE
1. ENHANCE BABY SAFETY : Create a safe environment for the baby by monitoring
various parameters such as video surveillance, motion detection, and vital signs.
This system can quickly alert caregivers to any potential dangers or emergencies.
2. REAL-TIME MONITORING : Offer real-time monitoring of the baby's activity,
including live video and audio feeds, so parents can check on their child anytime,
anywhere, via their smartphones.
3. CONVENIENCE : Provide parents with the flexibility to remotely manage and
control the system, adjusting settings and responding to alerts without the need
for physical presence.
4. PEACE OF MIND : Alleviate parental anxiety by offering continuous insights
into the baby's well-being, reducing stress associated with leaving the baby
unattended.
5. DATA INSIGHTS : Enable parents to collect and analyze data over time, helping
them understand their baby's routines, sleep patterns, and development
milestones.
6. EMERGENCY RESPONSE : Facilitate rapid response to emergency situations
such as sudden temperature fluctuations, loud noises, or abnormal vital signs,
ensuring the baby's safety.
7. PRIVACY AND SECURITY : Maintain robust privacy and security measures to
protect sensitive data and ensure that unauthorized individuals cannot access the
system.
8. SCALABILITY : Allow for easy expansion and integration with other smart home
devices and services, creating a comprehensive ecosystem for baby care.
9. USER-FRIENDLY : Design an intuitive mobile app and user interface that is
accessible to caregivers of all technological backgrounds.
10. COMPLIANCE : Ensure compliance with relevant regulations and standards,
particularly concerning data privacy and security, to build trust with users
BACKGROUND STUDY
1. Arduino Platform: Arduino is an open-source hardware and software platform
.
designed for building electronics projects.
It uses a simple programming language and development environment, making it
accessible for beginners and experienced makers alike.
Arduino boards come in various models, with the Arduino Uno being one of the most
popular for simple projects.
2. Sensors:DHT11 or DHT22 Temperature and Humidity Sensor:
These sensors can measure temperature and humidity and provide digital data.
DHT22 is more accurate but slightly more expensive than DHT11.
Sound Sensor:
A sound sensor (like KY-038 or KY-037) can detect sound levels as analog data.
The sensitivity can be adjusted based on the project requirements.
3. Piezo Buzzer: A piezo buzzer can generate sound output based on the input frequency
and duration.
It's commonly used for alarms and notifications in Arduino projects.
4. Programming Arduino:Arduino programming is done using the Arduino IDE
(Integrated Development Environment).
You write code in C/C++ syntax and upload it to the Arduino board via USB.
Understanding functions like setup() and loop() is crucial for writing Arduino programs.
5. DHT Library: To interface with DHT sensors, you can use Arduino libraries like "DHT"
or "Adafruit DHT."
These libraries simplify the process of reading temperature and humidity data.
6. Analog and Digital Pins: Arduino boards have both digital and analog pins for
connecting sensors and other components.
Digital pins are used for on/off (high/low) signals, while analog pins can read varying
voltage levels.
7. Monitoring Baby's Environment: Your baby monitor project aims to monitor the baby's
room temperature, humidity, and sound levels.
Temperature and humidity readings help ensure the baby's comfort.
Sound detection can alert caregivers if the baby is crying or making noise.
8. Project Flow: The project flow involves initializing the sensors, reading data, and
responding to specific conditions (e.g., crying baby).
The buzzer is activated based on predefined sound level thresholds.
9. Safety Considerations: When building electronic projects around babies, safety is
paramount. Ensure that all components are securely connected, wires are insulated, and
there are no exposed parts.
Avoid the use of small parts or components that could be choking hazards.
10. Further Enhancements: Depending on your goals, you can enhance the project by
adding features such as Wi-Fi or Bluetooth connectivity for remote monitoring via a
smartphone app.
You can also consider integrating a camera module for visual monitoring.
11. Troubleshooting: Understanding how to troubleshoot common issues in Arduino
projects, such as sensor connectivity problems or code errors, is valuable during the
project.
OUTPUT
Software Code has been developed so far. It has been included
below.
#include <dht.h>
dht DHT;
#define DHT11_PIN 2 // Define the pin for the DHT11 sensor
#define SOUND_SENSOR_PIN A0 // Define the analog pin for the sound sensor
#define BUZZER_PIN 4 // Define the pin for the piezo buzzer
void setup() {
[Link](9600);
}
void loop() {
// Read temperature and humidity from the DHT11 sensor
int chk = DHT.read11(DHT11_PIN);
float temp = [Link];
float humidity = [Link];
// Read sound level from the sound sensor
int soundLevel = analogRead(SOUND_SENSOR_PIN);
// Check if the baby is crying (adjust the threshold as needed)
if (soundLevel > 500) {
// Baby is crying, sound the buzzer
tone(BUZZER_PIN, 1000); // You can adjust the frequency and duration
delay(1000);
noTone(BUZZER_PIN);
}
// Display temperature and humidity on the serial monitor
[Link]("Temperature (°C): ");
[Link](temp);
[Link]("Humidity (%): ");
[Link](humidity);
[Link]("Sound Level: ");
[Link](soundLevel);
delay(2000); // Update readings every 2 seconds
}
STEPS YET TO COMPLETE
Hardware model of the experiment is yet to be
completed.