CRADLE MONITORING USING IOT
CHAPTER 1
INTRODUCTION
A cradle monitoring system is a network of interconnected sensors, devices, and software
applications designed to monitor and track various aspects of an infant's well-being while they
are resting or sleeping in a crib or cradle. These systems utilize IoT technologies to collect real-
time data about the baby's vital signs, sleep patterns, environmental conditions, and other
relevant parameters. the cradle monitoring system in IoT using LEDs and buzzers is to ensure
the safety and well-being of infants by monitoring environmental conditions such as temperature,
humidity, and sound levels. LEDs provide visual alerts for caregivers regarding detected changes
or emergencies, while buzzers offer audible notifications for immediate attention. Through IoT
connectivity, caregivers can remotely monitor the cradle's status and receive real-time alerts,
enabling timely intervention and ensuring the infant's comfort and security around the clock.
1.1 Problem Identification
The problem identification for the cradle monitoring system in IoT using LEDs and buzzers lies
in the potential risks and uncertainties associated with infant care. This includes challenges such
as inadequate monitoring of environmental factors like temperature and humidity, limited means
of detecting infant distress or emergencies, and the absence of real-time alerts for caregivers.
Without proper monitoring and notification systems, caregivers may face difficulties in ensuring
the safety and well-being of infants, leading to increased stress and potential health risks for both
the infant and the caregivers. Therefore, implementing a comprehensive monitoring solution
becomes imperative to address these concerns effectively.
1.2 Proposed System
The proposed cradle monitoring system in IoT utilizes LEDs and buzzers to provide real-time
monitoring and alerts for infant safety. Sensors track environmental factors like temperature,
humidity, and motion, triggering LED visual indicators and buzzer alarms for caregivers.
Through IoT connectivity, caregivers receive immediate notifications on their devices, enabling
swift response to potential risks or emergencies.
Dept. of CSE, SCE 2023-2024 Page 1
CRADLE MONITORING USING IOT
1.3 Objectives
The of a cradle monitoring system in IoT (Internet of Things) can be multifaceted, aiming to
enhance safety, efficiency, and convenience in childcare settings. Here's a structured objective
for such a system
➢ Safety Enhancement: Ensure the safety of infants and toddlers by continuously monitoring
their vital signs, such as heart rate, body temperature, and respiratory rate, while they are
in the cradle.
➢ Remote Monitoring and Alerts: Enable remote monitoring of the cradle via a smartphone
app or web interface, allowing caregivers to check on the child's status from anywhere and
receive instant alerts in case of any issues.
➢ Privacy and Security: Implement robust security measures to protect the sensitive data
collected by the monitoring system, ensuring compliance with privacy regulations and
providing peace of mind to caregivers.
➢ Scalability and Flexibility: Design the system to be scalable, allowing for seamless
expansion to accommodate multiple cradles in childcare facilities or homes, and flexible
enough to adapt to different setups and environments.
➢ Cost-Effectiveness: Develop the system with cost-effectiveness in mind, utilizing
affordable hardware components and optimizing data transmission and storage to minimize
operational expenses while maintaining reliability and performance.
Dept. of CSE, SCE 2023-2024 Page 2
CRADLE MONITORING USING IOT
CHAPTER 2
SYSTEM REQUIREMENTS
2.1 HARWARE REQUIREMENTS
1. Arduino UNO
Figure 2.1 Arduino UNO
The is a compact board which can be used in various devices and various field. It has overall 22
input/output pins out of which 14 pins are digital pins. It has a flash memory of about 32 kb.
These pins can control the operations of digital pins as well as analogy pins. This module is a
bread board friendly board which can be easily used anywhere.
2. Buzzer:
A buzzer or beeper is an audio signaling device, which may be mechanical, electromechanical,
or piezoelectric (piezo for short). Typical uses of buzzers and beepers include alarm devices,
timers. Working Principle of Magnetic Buzzers. The vibrating disk in a magnetic buzzer is
attracted to the pole by the magnetic field. When an oscillating signal is moved through the coil,
it produces a fluctuating magnetic field which vibrates the disk at a frequency equal to that of
the drive signal.
Dept. of CSE, SCE 2023-2024 Page 3
CRADLE MONITORING USING IOT
Figure 2.2 Buzzer
3.LED:
An LED (Light Emitting Diode) is a semiconductor device that emits light when an electric
current passes through it. LEDs are commonly used in electronic devices as indicators, displays,
and lighting.LEDs have several advantages over traditional incandescent bulbs. They are more
energy efficient, longer-lasting, and more durable. They also come in a variety of colours and
sizes, making them versatile and suitable for many applications. In the context of the code you
provided, the LED is connected to pin 7 and is used as an indicator that someone is near the door.
When the PIR sensor detects motion, the digitalWrite() function is used to turn on the LED,
indicating that someone is near the door. When the PIR sensor does not detect motion, the LED
is turned off.
Figure 2.3 LED
4.IR Sensor:
This Infrared obstacle/object detection sensor is super easy to use. It comes with on board
potentiometer to adjust the sensitivity. The output is digital signal so it is easy to interface with
any microcontroller such as Arduino/Genuino UNO, Mega, Leornado, Zero, 101, even the
Raspberry Pi or Raspberry Pi Zero. And of course it is also compatible with all other controller
boards out there including CIKU, CT-UNO, CT- ARM, etc
Dept. of CSE, SCE 2023-2024 Page 4
CRADLE MONITORING USING IOT
Figure 2.4 IR Sensor
5. Jumper wires:
These are pre-made wires with a pin connector on each end. They are perfect for prototyping
circuits on a breadboard. They come in various lengths and colors. While the colors typically
don't correspond to a specific function, you can use them to improve the readability of your
circuit by using a specific color for ground (GND) or power (VCC).
Figure 2.5 Jumper wires
2.2 Software requirements
AURDINO 1.8.19
Dept. of CSE, SCE 2023-2024 Page 5
CRADLE MONITORING USING IOT
CHAPTER 3
DESIGN
A sound sensor (buzzer) and LED is connected to pin 7 and is IR sensor is connected to pin 2 to
detect and indicate the presence of cradle monitoring whether the baby is woke up or not. The
code also uses a Boolean variable statementPrinted to ensure that the message "Baby is woke
up." is printed only once when the sensor is detected. In the setup() function, the output and input
pins are defined using pin Mode() and serial communication is initiated with Serial. begin().In
the loop() function, the digitalRead() function is used to read the state of the infrared sensor. If
the sensor state is LOW, then the LED is turned off using digitalWrite() and the statementPrinted
variable is false. This ensures that the message is not printed again until motion is detected. If
the sensor state is HIGH and the statementPrinted variable is true, then the LED is turned on
using digitalWrite(), the message "Baby is woke up." is printed to the serial monitor, and the
statementPrinted variable is set to true. The use of the statementPrinted variable ensures that the
message is printed only once when motion is first detected, and not every time the sensor reads
a HIGH state. This can help prevent the serial monitor from becoming cluttered with repeated
messages. Overall, this code provides a simple and effective way to use an infrared sensor and
LED to detect and indicate the presence of baby is woke up or not.
Figure 3.1 : Circuit design with all integrated components
Dept. of CSE, SCE 2023-2024 Page 6
CRADLE MONITORING USING IOT
Here are the steps on how to connect the components in the circuit diagram:
• Connect the VCC pin of the IR sensor to the 5V pin of the Arduino.
• Connect the GND pin of the IR sensor to the GND pin of the Arduino.
• Connect the OUT pin of the IR sensor to digital pin 2 of the Arduino.
• Connect the positive (+) pin of the buzzer to digital pin 7 of the Arduino.
• Connect the negative (-) pin of the buzzer to GND.
Dept. of CSE, SCE 2023-2024 Page 7
CRADLE MONITORING USING IOT
CHAPTER 4
RESULT
Screenshot 4.1 Simulation
Screenshot 4.2(a) Working
Dept. of CSE, SCE 2023-2024 Page 8
CRADLE MONITORING USING IOT
Screenshot 4.2(b) Working
Screenshot 4.3 Serial Monitor
Dept. of CSE, SCE 2023-2024 Page 9
CRADLE MONITORING USING IOT
CHAPTER 5
CONCLUSION AND FUTURE ENHANCEMENTS
IoT-based cradle systems contribute to the health and well-being of infants by monitoring vital
parameters like sleep patterns and activity levels. Future integration could further enhance this
by predicting and addressing baby's needs, such as feeding or diaper changes, based on recorded
data. Compared to conventional cradles, IoT-enabled systems ensure greater safety and security
for infants through features like motion detection, temperature monitoring, and automatic alerts
for any abnormalities.
Growth of technology has been rapidly increased. Since technology has been developed greatly
it can contribute to the society in various way. Automated cradle is the best example where
working parents have lot of workloads already and they have to care of baby as well. Cradle
system assures them that their baby is safe and secure inside the cradle. Cradle which is less
expensive and more secure and have more features. As health of small baby is always factor for
which parents are always worried. So that cradle system is built for that purpose that baby will
be healthier. This automatic baby cradle would let the working mother to do household works
besides taking care of baby at the same time.
Future Enhancements:
In future we can integrate our project that will records all the activity of baby for few days
especially baby biological clock and then tells us when baby more likely to urinate or feel hunger
etc.
➢ Integration with AI: Incorporating artificial intelligence algorithms for advanced pattern
recognition and predictive analysis, allowing the system to anticipate infant needs or detect
potential risks before they escalate.
➢ Behavioural Analysis: Implementing ML algorithms to analyse infant behaviour patterns,
enabling the system to provide personalized recommendations for caregivers based on the
infant's needs.
➢ Predictive Health Monitoring: Utilizing ML models to predict potential health issues or
developmental milestones, empowering caregivers to take proactive measures for the
infant's well-being.
Dept. of CSE, SCE 2023-2024 Page 10
CRADLE MONITORING USING IOT
➢ Adaptive Alerting: Enhancing the alerting mechanism to adaptively adjust alert thresholds
based on historical data and ML predictions, reducing false alarms and ensuring timely
notifications for critical events.
➢ Contextual Environmental Control: Integrating ML to dynamically adjust environmental
parameters such as lighting and sound based on the infant's preferences and sleep patterns,
promoting a conducive sleep environment.
Dept. of CSE, SCE 2023-2024 Page 11