Baby Monitoring System
We are very well familiar with the hurdles faced by Parents to nurture their infant and especially in case if both the Parents are working. So, we found the need to develop something unique that can help Parents to have a continuous surveillance on the baby and can notify about the same. Thus, we have come up with an idea to design a Baby Monitoring System which will help the Parents to monitor their child even if they are away from home. The design uses the technologies which include GSM module, cry detection mechanism, temperature sensing mechanism and motion detection mechanism. Measurements of these vital parameters can be done easily and can be conveyed to the parents.
Problem Statement
At present, female participation in the workforce in the industrialized nations has greatly increased, thereby affecting infant care in many families. Both parents are required to work due to the high cost of living. However, they still need to look after their babies, thereby increasing workload and stress, especially for the mother. Working parents cannot always care for their babies. They either send their babies to their parents or hire a baby caregiver while they are working. Some parents worry about the safety of their babies in the care of others. Thus, they go home to check on their babies during their free time, such as lunch or tea break. A baby monitoring system that can monitor the babies’ condition real time is proposed to solve these problems.
This proposed system is an innovative, smart & protective system to nurture an infant in an efficient way. This system considers all the minute details required for the care & protection of the Baby. These days people seem to be always in a rush with their work and they may not be able to monitor the child all the time. The baby monitoring system is a kind of alarm system which can detect baby movements and activities . In the proposed system baby monitoring has been designed and developed using PIR motion sensor, temperature sensor. The baby's sound, like crying, is detected by a sound sensor. If the temperature rises, the sensor detects it. It is detected and sent to parents. The system operates at a voltage range of 12V and the sensors provide data with an accuracy of ±1% . The proposed system provides an easier and convenient way for busy parents to take care of their babies.
PROBLEM STATEMENT
As we are very well familiar with the hurdles faced by Parents to nurture their infant and
especially in case if both the Parents are working. To give 24 hours of time in such cases is
next to impossible. So, we need to develop something unique that can help Parents to have a
continuous surveillance on the baby and can notify about the same. Thus, we have come up
with an idea to design a Baby Monitoring System which will help the Parents to monitor their
child even if they are away from home. The design uses the technologies which include
GSM module, cry detection mechanism, temperature sensing mechanism and motion
detection mechanism. Measurements of these vital parameters can be done easily and can be
conveyed to the parents.
MATERIALS REQUIRED
Hardware
- Jumper wire
- Bread board
- Arduino uno
- SIM 900A
- Sound sensor
- PIR motion sensor
- DHT 11
Software
- Arduino IDE
- Fritzing
Flowchart
STEP 1 : FOLLOW THE CIRCUIT DIAGRAM
STEP 2 : USE THE CODE
Code is provided at the bottom of the page
TEST PLAN BLOCK DIAGRAM
DESIRED OUTPUT
#include "arduinoFFT.h" #define SAMPLES 128 //SAMPLES-pt FFT. Must be a base 2 number. Max 128 for Arduino Uno. #define SAMPLING_FREQUENCY 1024 //Ts = Based on Nyquist, must be 2 times the highest
expected frequency. arduinoFFT FFT = arduinoFFT();
unsigned int samplingPeriod;
unsigned long microSeconds;
double vReal[SAMPLES]; //create vector of size SAMPLES to hold real values
double vImag[SAMPLES]; //create vector of size SAMPLES to hold imaginary values
#include<SoftwareSerial.h>
SoftwareSerial gsm(2,3);
#include "DHT.h" #define DHTPIN 4 // Digital pin connected to the DHT sensor
#define DHTTYPE DHT11 // DHT 11
DHT dht(DHTPIN, DHTTYPE);
const int pirPin = 5;
int pirState = LOW;
8
unsigned long previousMillis = 0; // will store last time LED was updated
const long interval = 10000; // interval at which to blink (milliseconds)
int motionCount = 0;
void setup() {
Serial.begin(9600);
samplingPeriod = round(1000000*(1.0/SAMPLING_FREQUENCY)); //Period in microseconds
gsm.begin(9600);
dht.begin();
pinMode(pirPin, INPUT);
}
void loop() {
double soundPeak = readSoundData();
Serial.print(F("soundPeak: "));
Serial.println(soundPeak);
Serial.print("__");
pirState = digitalRead(pirPin);
Serial.print(F("pirState: "));
Serial.println(pirState);
Serial.print("__");
float temp = getTemprature();
float humid = getHumidity();
if(soundPeak>800){
makeCall();
9
}
unsigned long currentMillis = millis();
if(pirState==HIGH){
motionCount++;
Serial.println();
Serial.println();
Serial.println("motionCount: ");
Serial.println(motionCount);
Serial.println();
Serial.println();
if (currentMillis - previousMillis >= interval) {
motionCount=0;
previousMillis = currentMillis;
}
if(motionCount>2){
sendMessage(temp, humid);
}
}
delay(300);
}
double readSoundData(){
//Sample SAMPLES times/
double reading = 0;
10
for(int i=0; i<SAMPLES; i++)
{
microSeconds = micros(); //Returns the number of microseconds since the Arduino board
began running the current script. vReal[i] = analogRead(0); //Reads the value from analog pin 0 (A0), quantize it and save it as
a real term. reading = vReal[i];
vImag[i] = 0; //Makes imaginary term 0 always
//remaining wait time between samples if necessary/
while(micros() < (microSeconds + samplingPeriod))
{
//do nothing
}
}
//Perform FFT on samples/
FFT.Windowing(vReal, SAMPLES, FFT_WIN_TYP_HAMMING, FFT_FORWARD);
FFT.Compute(vReal, vImag, SAMPLES, FFT_FORWARD);
FFT.ComplexToMagnitude(vReal, vImag, SAMPLES);
//Find peak frequency and print peak/
double peak=FFT.MajorPeak(vReal, SAMPLES, SAMPLING_FREQUENCY);
Serial.print(F("Frequency: "));
Serial.println(peak);
Serial.print("__");
return reading;
}
11
float getTemprature(){
// Read temperature as Celsius (the default)
float t = dht.readTemperature();
// Check if any reads failed and exit early (to try again). if (isnan(t)) {
Serial.println(F("Failed to read from DHT sensor!"));
return 0;
}
return t;
}
float getHumidity(){
float h = dht.readHumidity();
// Check if any reads failed and exit early (to try again). if (isnan(h)) {
Serial.println(F("Failed to read from DHT sensor!"));
return 0;
}
return h;
}
void sendMessage(float temp, float humid){
Serial.println(F("Sending message"));
12
gsm.println("AT+CMGF=1");
delay(1000);
gsm.println("AT+CMGS=\"+916235207024\"\r"); //replace x by your number
delay(1000);
gsm.println("Baby is moving");
delay(100);
gsm.print("Temprature: ");
delay(100);
gsm.println(String(temp, 1));
delay(100);
gsm.print("Humidity: ");
delay(100);
gsm.println(String(humid, 1));
delay(100);
gsm.println((char)26);
delay(2000);
}
void makeCall(){
Serial.println(F("Sending call"));
gsm.println("ATD+916235207024;"); //replace x by your number
delay(100);
gsm.println("ATH");
delay(1000);
}
Baby Monitoring System
- Comments(0)
- Likes(0)
- 0 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
More by mohdazhar
- Automatic Bus Stop Announcement System When we travel by bus ,the route of the bus is unknown to a new passenger. It mostly affects the ill...
- Earthquake Alert System Based On IOT Many countries have implemented EEW(early earthquake warning) systems to save human lives. The earth...
- Smart Street Light Smart Street Light spotlights different restrictions and difficulties identified with traditional an...
- Line Break Detector With Alert System Line Break Detector With Alert System is a mechanism which helps the consumer and KSEB officers to d...
- Smart Railway Gate Opening System Using IOT The railway crossing accidents are increasing day by day due to human-manned railway crossings. Live...
- Advanced Biometric Finger Print Scanner We took the case of our hostel mess and concluded that there is no proper way to manage the hostel m...
- Baby Monitoring System We are very well familiar with the hurdles faced by Parents to nurture their infant and especially i...
- TOKEN MACHINE AND QUEUE MANAGEMENT SYSTEM FOR HOSPITALS ABSTRACTPatient wait times have a strong influence on patient satisfaction levels. A common scenario...
- Make your own branded ESP32 development board with PCBWay! What about making your own custom PCB boards with your own branding? Doesn't that sound nice? PCB ma...
- FOODIE BOT Automation has become an integral part of today's modern life. We are increasingly noticing that mor...
- A ESP32 BASED BLUETOOTH MINI ROBOT A simple mini robot that you can control with your phone. The robot can be improvised and implemente...
- IOT smart AC plug A smart plug is a home automation device and is a hot new thing. Several types of smart plugs are av...
- "A perfectly working line follower robot using arduino" LINE FOLLOWER ROBOT - THE EASIEST!This is a simple tutorial to make a line follower robot using Ardu...
- IOT PLANT - GROW YOUR PLANTS FROM ANYWHERE AROUND THE WORLD. Watch the video The device and plant setupWhat about growing any plants from anywhere around the wor...
- HOW TO PROGRAM ESP8266 - 01 In this tutorial, I am going to show how to program ESP8266 - 01 using an Arduino board or using FTD...
- Make Your First Arduino Robot - the Best Tutorial Out There Smartphone-controlled obstacle avoiding and wall follower robot.Are you a beginner in Arduino and ha...
- THE ULTIMATE OFFROAD RC ROVER Let's make an all-terrain remote-controlled rover bot. This is a great starter project for hobbyists...
- MAKE A 3.3 VOLT REGULATOR FOR ESP8266 The 3.3-volt power supply is one of the main issues when we use ESP8266 - 01 as a standalone board. ...
-
-
-
kmMiniSchield MIDI I/O - IN/OUT/THROUGH MIDI extension for kmMidiMini
125 0 0 -
DIY Laser Power Meter with Arduino
174 0 2 -
-
-
Box & Bolt, 3D Printed Cardboard Crafting Tools
164 0 2 -