Professional Documents
Culture Documents
m15100 Khanfinal
m15100 Khanfinal
net/publication/352600525
CITATIONS READS
10 1,307
5 authors, including:
All content following this page was uploaded by Riasat Khan on 21 September 2022.
Abstract— Nowadays, people have a very busy and hectic • Automatic swinging of the cradle at the detection of the
life; thus, taking care of an infant constantly is tough. Especially baby’s crying sound. Subsequently, the system starts a sweet
for working parents, a modernized IoT-enabled baby melody and sends a notification to the parent smartphone.
management system will be beneficial. In these modern times, Sends a text message to parent smartphone if the baby does
most children are taken care of by their grandparents, not stop crying after a specific time.
housemaids, or babysitters during the daytimes. In this work, • Checking whether the mattress or diaper is wet or not.
we are using a very efficient and user-friendly technology to
• Sends a text message (via GSM module) to the parent’s
implement automatic swinging of the baby bassinet with sound
smartphone if the baby is not detected in the cradle.
detection of the baby crying using sound sensor and playing
lullaby through speakers. The humidity sensor has been used to • Real-time video streaming of the baby’s room to parent’s
know the diaper’s moisture level, and notifications have been smartphone.
sent to parents with certain conditions through mobile calls and • Detection of the baby in the room using the face
text messages. A webpage using HTML and CSS has been recognition technique. If the baby is not detected in the cradle
developed, where parents/guardians can supervise the baby in (using Raspberry Pi and image processing), the system will
real-time. Finally, the system will detect if the baby is in the send notifications to the parents.
cradle using the face recognition technique. This exciting feature
is implemented by using a Raspberry Pi 4 (Model B), which is All the notification information can be directly sent to the
equipped with a Pi camera that will also offer the parents a live- parent’s smartphone through the proposed system. As
stream option. The proposed baby monitoring system is believed smartphones are available and almost everyone owns a
to be an improved technology for new and working parents and smartphone, parents can check on their baby anytime from
colossal help and riddance of unrequired tensions. anywhere.
In the next following paragraphs, some of the research
Keywords— Arduino Mega, Baby Monitoring System, Cloud
papers related to this work have been discussed briefly. For
Server, Face Recognition, GSM module, Raspberry Pi, Real-Time
instance, in [3], the authors designed a baby monitoring
Streaming.
system titled “IoT-BBMS,” which used Arduino IDE software
I. INTRODUCTION with MQTT protocol servers and various temperature and
humidity sensors. They employed an electrical box consisting
Life in the 21st century is very fast-paced. We get almost of multiple pieces of equipment mentioned above and
everything done with a few clicks, swipes, and taps due to connected them with the cradle with an appropriate power
faster connectivity and internet. We can observe the intense supply. An MD10-POT 10 Amp AC to DC power supply was
use of smartphones and the internet in every aspect of life. utilized to provide power to the NodeMCU microcontroller
Another common fact of this modern era is dual-earner for monitoring and controlling the sensors. The temperature
families, where both parents work simultaneously [1]. This and humidity sensing device, i.e., DHT22, was mounted to the
scenario is a positive achievement as we are achieving higher side of the designed smart cradle. A condenser MIC was
incomes and gender equality, but this makes babysitting a attached to detect the crying of the infant as the sound sensor.
tough job for working parents. It becomes hard to manage In this paper, the Adafruit MQTT IoT server is used to activate
work and maintain family and take care of the children [2]. the connected actuators, e.g., swinging motor, musical toys,
Thus, continuously monitor the baby in the home becomes and mini fan. The proposed device was also connected with
impossible for the working parents. A solution to this the server, which helps the system to send notifications and
problem can be hiring a nanny or domestic work to meet the start swinging the cradle.
required needs of the baby, but this also raises the question of
safety issues for the baby. In order to bridge this gap between In [4], T. Wu and P. Chen proposed an independent baby
parents and baby, an IoT-based smart real-time baby care system with an Arduino-based system to check on the
monitoring system has been proposed in this work. The heartbeat, temperature, and humidity of a premature baby. The
parents can use the proposed monitoring system to take good Arduino microcontroller is interfaced with input from the
care of their baby. The proposed monitoring system mainly temperature sensor and heartbeat sensor. It sends that data
consists of: through a Wi-Fi module to a web-based server to show
constant real-time data from different sensors regarding the
B. Software Tools/Algorithms
• OpenCV Python Library: In this paper, CV2 and Face
recognition, these two OpenCV Python libraries have been Fig. 3. Hardware connections of the proposed system.
installed for the face-recognition purpose. Also, the NumPy
Python library has been installed for accessing multiple data First, we have successfully connected all the components
and handling image data by converting them into matrices. of the hardware part. In Fig. 3, we have shown the connection
This operation helps us to compare images from the live feed between Arduino Mega and all the sensors. Initially, we have
and source folder. applied 12V input to the Arduino. Later we have taken a
parallel connection between Arduino and DC-DC buck
converter. Using buck converter, we have stepped down the movement, and the baby’s cradle is rocked automatically,
voltage from 12V to 5V as all sensors and other modules can which has been controlled by the pulse with modulation
operate between 3.30-5V except the GSM module, which will (PWM) signals.
operate at 4-4.2V. Then, we have created two bus bars. From
the bus bar, we have given connections to all sensors except
the GSM module. And, we gave contact to the GSM module
from the second bus bar.
We have used a wet sensor to know the diaper’s moisture
by creating a slight electric connection when it is in touch
with wetness or water, and the circuit gets short, so it sends a
signal to Arduino. According to Fig. 4, the wet sensor of the
baby’s diaper is working perfectly.
Fig. 7. Lullaby is played when the baby’s cry has been detected.
Fig. 5. LCD screen display and initiate of a call when the baby is not
present in the cradle. The temperature sensor is used to monitor the temperature
of the place where the baby is located. A higher or lower
The sound sensor does the detection of the baby’s cry. temperature is not beneficial to a baby, and this sensor will
Here, the digital output pin is for the boolean outputs like 1 allow us to monitor the cradle’s temperature, which has been
or 0, which determines whether the baby is crying or not. shown in Fig. 8.
Analog output is the measurement of the crying and time. We
are taking values from digital analog to get a text to the
parents following the range. Fig. 6 demonstrates the LCD
screen and text message to the parents when the proposed
device detects the baby’s crying.
Servo Motor is a motor that works with only predefined
angle values as it creates motion to swing the cradle based on Fig. 8. The temperature of the bassinet of the baby.
the range of angles. In this work, the servo motor initiates the
Finally, we have developed a webpage using HTML and IV. CONCLUSIONS
CSS, where parents/guardians will be able to see whether the Looking after and monitor the babies is hard sometimes
baby is in the cradle or not. We have stored a picture of the in this modern time for working couples. In this paper, we
baby in the system’s profile folder. The system will take the have built an intelligent IoT-based baby monitoring system
image from the profile folder and convert it to a matrix, and using Raspberry Pi and Arduino Mega microcontrollers.
then the camera will detect the baby’s face from the video Using this system, parents/guardians will be able to do their
feed coming from the Pi camera and match it with the stored work outside, and besides, they will also be notified about
picture. As the picture can be large and small, we will resize their babies at home. The baby’s crying, wet diapers, and
the baby’s picture, which we will get from the camera presence in the bassinet have been monitored by the Arduino.
through the system. The image preprocessing will help the The proposed system detects whether the baby is in the cradle
system to process the face recognition faster. in real-time using the Raspberry Pi and Pi camera. It can
The most exciting feature of the proposed system is that identify the baby with the face recognition technique. The
it will allow the user to detect multiple babies simultaneously. existing system can be upgraded by introducing more
The system initially converts all the stored images into complex sensors and advanced face recognition techniques in
matrices for cross-checking. When the live feed starts the future.
broadcasting, the system will detect the face from the live
feed and decode it to cross-check with the pictures stored in REFERENCES
the system’s profile folder. If the picture captured by the [1] K. Boye, “Dual-earner couples/dual-career couples,” In: Michalos
camera matches the image given in the system, the system A.C. (eds) Encyclopedia of Quality of Life and Well-Being Research.
Springer, Dordrecht, 2014.
will show the name of the baby below the picture, which has
[2] A. Gragnano, S. Simbula, and M. Miglioretti, “Work–life balance:
been demonstrated in Fig. 9. Otherwise, it will show weighing the importance of work–family and work–health
“unknown” written under the detected face on the web page, balance,” International Journal of Environmental Research and Public
as illustrated in Fig. 10. Health, vol. 17, no. 3, pp. 907, 2020.
[3] W. A. Jabbar, H. K. Shang, S. N. I. S. Hamid, A. A. Almohammedi, R.
M. Ramli and M. A. H. Ali, “IoT-BBMS: internet of things-based baby
monitoring system for smart cradle,” IEEE Access, vol. 7, pp. 93791–
93805, 2019.
[4] T. Wu and P. Chen, “Baby care system design for multi-sensor
applications,” International Symposium on Intelligent Signal
Processing and Communication Systems (ISPACS), Taipei, Taiwan,
pp. 1–2, 2019.
[5] M. P. Joshi and D. C. Mehetre, “IoT based smart cradle system with an
android app for baby monitoring,” International Conference on
Computing, Communication, Control and Automation (ICCUBEA),
Pune, India, pp. 1–4, 2017.
[6] M. Koli, P. Ladge, B. Prasad, R. Boria and N. J. Balur, “Intelligent
baby incubator,” Second International Conference on Electronics,
Communication and Aerospace Technology (ICECA), Coimbatore,
India, pp. 1036–104, 2018.
[7] M. N. I. Suvon, R. Khan and M. Ferdous, “Real Time Bangla Number
Plate Recognition using Computer Vision and Convolutional Neural
Fig. 9. The proposed system detects the stored/known baby’s image. Network,” IEEE 2nd International Conference on Artificial
Intelligence in Engineering and Technology (IICAIET), Kota
Kinabalu, Malaysia, pp. 1–6, 2020.
[8] Y. Kurnia and J. Sie, “Prototype of Warehouse Automation System
Using Arduino Mega 2560 Microcontroller Based on Internet of
Things”, bit-Tech Journal, vol. 1, no. 3, pp. 122–128, May 2019.
[9] M. Khan, S. Chakraborty, R. Astya and S. Khepra, “Face Detection and
Recognition Using OpenCV,” International Conference on
Computing, Communication, and Intelligent Systems (ICCCIS),
Greater Noida, India, pp. 116–119, 2019.