ChapterPDF Available

An IoT-Based BLYNK Server Application for Infant Monitoring Alert System to Detect Crying and Wetness of a Baby

Authors:

Abstract and Figures

The amount of employability among men and women had raised a lot in comparison with olden days. With this increase in employability, the amount of care taken by the parents toward their infants had also decreased. But, in childhood stage, children need proper rest and sleep for proper health and body growth. Thus, most of parents send their infants to their grandparent’s house, and some may taught of living their babies at baby care houses. But all the people cannot keep nanny, and also, it is always difficult for the parents to keep trust on some strangers to look after their baby. But, in any of the cases, parents may not continuously monitor the situations and conditions of their babies. Therefore, an IoT-based baby monitoring system has been introduced which can be made available at affordable cost and works efficient in real time. The system is developed using Node MCU microcontroller, a speaker and a sound sensor module. The sound sensor module detects the babies cry and executed according to the action provided. The BLYNK application server is used to send the notifications to the registered parent’s mobile number as alert message regarding their kids status.
Content may be subject to copyright.
1
An IoT Based BLYNK Server Application for Infant
Monitoring Alert System to Detect Crying and Wetness of
a Baby
Mr. P. Bhasha*1,4, Dr. T. Pavan Kumar2, Dr. K. K. Baseer3, Dr. V. Jyothsna4
1,2 Department of CSE, Koneru Lakshmaiah Educational Foundation, Vaddeswaram, Guntur,
A.P., India. *E-mail:basha.chanti@gmail.com
3,4 Department of Information Technology, Sree Vidyanikethan Engineering College
(Autonomous), Tirupati, A.P., India.
Abstract: The amount of employability among men and women had raised a lot in
comparison with olden days. With this increase in employability the amount of care
taken by the parents towards their infants had also decreased. But in childhood stage,
children need proper rest and sleep for proper health and body growth. Thus, most of
parents send their infants to their grandparent’s house and some may taught of living
their babies at baby care houses. But all the people cannot keep nanny and also it is
always difficult for the parents to keep trust on some strangers to look after their baby.
But in any of the cases, parents may not continuously monitor the situations and
conditions of their babies. Therefore, an IoT based Baby monitoring system has been
introduced which can be made available at affordable cost and works efficient in real
time. The system is developed using Node MCU microcontroller, a speaker and a sound
sensor module. The sound sensor module detects the babies cry and executed according
to the action provided. The BLYNK application server is used to send the notifications
to the registered parent’s mobile number as alert message regarding their kids status.
Keywords: Node MCU Microcontroller, BLYNK Android Application, Wetness and Sound
Detection, Alert Message Notification.
1. Introduction
In India, percentage of working men and women had raised drastically when compared
to olden days. The percent of employability has increased among men and women. Due
to this work burden parents are not getting sufficient time to look after their infants in
their early and later stages. Once the children grow up it is not a big problem to look
after them, because they can do their own work and won’t depend on their parents for
all the works. Due to this situation most of the parents wish to propel their babies to
their grandparent’s home. This will reduce the burden to the parents but there is a risk
in doing that because grandparents are aged people. But all the families are not
affordable to keep a caretaker. Considering these issues facing by the parents a Baby
monitoring system has been developed through which parents can feel comfortable
even by leaving their infants in their home and involve in their work at home.
Comparable to Arduino, Node MCU is more useful microcontroller because Node
MCU is inbuilt Wi-Fi enabled microcontroller. For detecting the baby cry a sound
sensor is used. Baby cry is compared with a preloaded cry. If it matches then micro
controller plays the songs using speaker to stop the cry of the baby and to fall asleep
again. And an alert message will be sent to the parents or caretaker registered Email id
or to the registered mobile number. By seeing this alert parent can know the present
situation of the baby. Thus, the proposed baby monitoring system will help the parent
to stay comfort wherever they are and helps to do their work without any issues. Alert
2
messages will notify the parents or caretakers at each and every point of time so that
they can look after their baby. The cost of this model is around 950 rupees and makes
it more usable by most of the parents.
2. Related Work
The system consists of an Arduino UNO microcontroller that is inbuilt with a Wi-Fi
module. When the baby is awakening then by using the MCU notifies, and DC motor
will swing the cradle. It will make the baby to fall asleep again. And the mic present in
the system will detect the babies cry, the input received through the microphone module
is amplified and to stop the cry of the baby, system will play the preloaded songs and
cradle is swinging already with help of DC motor. The DHT11 sensor measures the
temperature and if temperature raises more than 39 degrees with respect to room
temperature it sends the message to the node MCU which notifies the Blynk which in
turn notifies the parent. And wetness is measured basing on two electrodes moisture
holding substrate. In this way wetness will be detected and send the message to node
MCU and it notifies the Blynk server for alerting the parents. And also, this system can
turn on or turn off the fan present in the room if the parents are allowed to do so. So
that baby will feel comfort. Thus, this system helps the parents to take care the baby
remotely [1]. These authors mainly focused on developing the smart baby monitoring
system based on IoT technology and Radar technology. Also obstacle detection in the
path of the baby is also provided using the ultrasonic sensors. The main view of this
system is to solve the problems faced by the caretakers and also to secure the baby from
entering into danger zone. Here danger zone refers to the zone where there are obstacles
in the path of the baby. This alert generation is done based upon ultrasonic sensors.
Here the ultrasonic sensors used are the waterproof sensors. And this sensor is placed
on the baby as a simple locket. As soon as the baby enters the danger zone alert
messages will be sent to the caretaker or the parents through mobile number or using
different buzzers [2]. The authors proposed a system that processed using Image
processing techniques which use the different python libraries for proper working of
the system. This system is mainly developed for detecting three types of things. The
activities are performed on Raspberry Pi B+ micro controller can perform many
operations as its connectivity is much better than Arduino or other micro controller. For
sending the pictures of the baby a pi camera is used in the system. This camera captures
the pictures of the baby when baby starts crying and sends the snaps to the parents
through Email. If the baby’s position is abnormal the system will send an alert to the
parent about the abnormality [3]. The authors proposed the real time and low-cost
efficient system. They proposed a new algorithm for taking care of the babies. The
NodeMCU is used to connect and read data from the sensors and uploading into the
AdaFruit MQTT server through Wi-Fi. This system is mainly having cradle like
architecture. It will swing accordingly whenever the baby starts crying. A mini fan is
provided at the top of the cradle to give exposure to air for the baby. The fan and cradle
swings can be altered either remotely or manually through MQTT mobile application
server. The user can get notifications through the IFTTT server once the baby cry is
detected. If the room temperature changes the notification will be raised. If the room
temperature exceeds 28 ◦C the fan will be turned on automatically. The data which is
captured by the sensors are stored in MQTT server through the internet [4].
3
3. The Proposed Architecture of Baby Monitoring System
The basic idea of the proposed baby monitoring system using IoT technology is to
provide the main functionalities like: Detect the baby cry and play songs, Detection of
wetness, send alert messages to the parent, turning on or turning off the fans. The figure
1 shows the architecture of baby monitoring system, how the components are connected
to each other into a device. The sensors are used for detection. These are connected to
the microcontroller as inputs. The sensor data is taken as input by the microcontroller.
It processes the data according the code uploaded and then gives output in the form of
voice and alert messages to the parents.
Fig. 1. Architecture of Baby Monitoring System
3.1. Baby Cry Detection Algorithm
1. Start
2. Initialize pin numbers.
3. Set the pin modes (input/output)
4. Read sound sensor value
5. If value>100
5.1 Play songs using speaker
5.2 Send alert notification to parent
6. Else
6.1 Do Nothing
7. End.
3.2. Wetness Detection Algorithm
Wetness near the baby is detected by using the soil moisture sensor. If wetness value is
1 than it means diaper needs to be changed. This alert will be sent to the registered users
using Blynk application.
Algorithm 1. Start
2. If sensor value equals to 1
2.1 Wetness detected and sends the notification to the Blynk
4
3. Else
3.1 Do nothing
4. End
4. Experimental Results
This Baby monitoring system has a sound sensor, which is used for detecting the baby
cry. The data generated through sensors is sent to the microcontroller for further
processing of information. This sound sensor works based on the sound absorbed. If the
sound absorbed is greater than 100 decibels than it is noticed as the baby cry. As the
baby is cried, the speaker present in the system, plays the songs which are preloaded
into the micro controller. And an alert message will be sent by the micro controller to
the registered users for their registered mail or to the registered mobile number. By
using the soil moisture sensor wetness near the baby is detected and an alert for the
parent are sent. These alerts and monitoring of baby is done using Blynk android
application. Figure 2 shows the developed baby monitoring with all the sensors and
hardware connected.
4.1 Noise Detection by the system: As shown in figure 3 when the sound sensor
absorbs the sound i.e., greater than the threshold value, a led will be blinked in the
system.
Fig. 2 Baby Supervising System Fig. 3 When Baby Crying Sound Detect
Figure 4 shows the user interface of the Blynk application when an alert is sent to the
registered users, about the generated noise.
5
Fig. 4 Alert notification of Noise in Blynk App Fig. 5 Playing Song through Blynk App
4.2 Playing Songs: As shown in Figure 5, when baby is crying, songs can be played
in the system by controlling the system using Blynk app.
4.3 Wetness Detection: As shown in figure 6, when wetness is detected near the
baby by soil moisture sensor a led will be blinked. Figure 7. Shows the user interface
of Blynk app when wetness is detected.
Fig. 6. When wetness is detected. Fig. 7. Alert notification for wetness
4.4 Turning on the Fan: As shown in Figure 8, Through Blynk App user can turn on
the fan. Figure 9 shows the user interface of Blynk app when fan button is turned on.
6
Fig. 8. when fan is in ON state. Fig. 9. Blynk app when fan is turned ON
5. Conclusions and Future Work
Earlier there are baby monitoring systems available but without the parents or
caretaker’s involvement. This makes the risk factor at baby’s end. To overcome this,
with the help of technology, a parent interactive baby monitoring system has been
developed with which parent can track the baby from any place. This system sends the
alert notifications to the parent whenever baby cries. And the speaker present in the
system will play the songs to stop the baby’s cry. And whenever there is wetness
detected then an alert notification will be sent to the parents. And all these alert
notifications are sent using Blynk android application. The main objective of this
system is to provide the baby monitoring with reasonable price so that it will be
affordable by all the people. This project is very useful for parents who are employed.
This baby monitoring system reduces the burden to the parent and they can perform
their tasks properly. Due to the affordable cost of this system, it is more usable by most
of the families. With this system, parents can take care of their baby remotely as this
system can detect the baby cry and play songs to calm the baby and sleep again. This
system sends the alert notification to the parent’s mobile. Parents can turn on or turn
off the fan or AC in the baby’s room. All these futures of this baby monitoring system
make it more usable. The system developed is of moderate budget. It can be reduced in
future with much more enhanced functionalities and technologies in spite of assumption
that reduction in cost makes compromise of performance. The enhancement of this
system may by adding features like: Equipping a camera into the system, Detecting the
temperature of the baby, Detecting the pulse rate of the baby, Monitoring the baby’s
weight for medical analysis.
References
1. Nedheela N Nazar, Mohsina Mohamed Kabeer, Shasna M A, Navami Krishna U A,
Nighila Ashok, “Infant Cradle Monitoring System Using IoT”, International Journal of
Advanced Research in Computer and Communication Engineering, Vol. 8, Issue 4,
April 2019.
7
2. Dipali Badgujar, Neha Sawant, Prof. Dnyaneshwar Kundande, Smart and Secure IoT
Based Child Monitoring System”, International Research Journal of Engineering and
Technology (IRJET), vol.6, Issue 11, Nov. 2019.
3. Yogita K. Dubey, Sachin Damke, “Baby Monitoring System Using Image Processing
and IoT” International Journal of Engineering and Advanced Technology (IJEAT),
vol.8, Issue 6, Aug. 2019.
4. G. Rajesh, R. Arun Lakshman, L. Hari Prasad and R. Chandira Mouli, Baby
Monitoring System Using Wireless Sensor Networks”, Ictact Journal on
Communication Technology, vol.5, Issue 3, pp.963969, Sep. 2014.
5. Waheb A. Jabbar, Saidatul N. I. S. Hamid, Akram A. Almohammedi, Roshahliza M.
Ramli and Mohammed A. H. Ali, “IoT-bbms: Internet of Things-based Baby
Monitoring System for Smart Cradle”, IEEE, volume 7,2019.
6. https://en.wikipedia.org/wiki/NodeMCU
7. https://www.elprocus.com/sound-sensor-working-and-its-applications/
8. Daing Noor Farhanah Mohamad Ishak, Muhammad Mahadi Abdul Jamil, Radzi
Ambar, “Arduino Based Infant Monitoring System”, International Research and
Innovation Summit (IRIS2017).
9. R Firmansyah, A Widodo, A D Romadhon, M S Hudha, P P S Saputra, and N A Lestari,
“The prototype of infant incubator monitoring system based on the internet of things
using NodeMCU ESP8266”, Seminar Nasional Fisika (SNF) 2018, IOP Conf. Series:
Journal of Physics: Conf. Series 1171 (2019) 012015.
10. Aslam Forhad Symon, Nazia Hassan, Humayun Rashid, Iftekhar Uddin Ahmed, S M
Taslim Reza, “Design and Development of a Smart Baby Monitoring System based on
Raspberry Pi and Pi Camera”, Proceedings of the 2017 4th International Conference
on Advances in Electrical Engineering 28-30 September, 2017.
11. Savita P.Patil, Manisha R. Mhetre. “Intelligent Baby Monitoring System”, ITSI
Transactions on Electrical and Electronics Engineering, Volume -2, Issue -1, 2014.
12. Mrudula Borkar, Neha Kenkre and Harshada Patke, An Innovative Approach For
Infant Monitoring System Using Pulse Rate And Oxygen Level”, International Journal
of Computer Applications (0975 8887) Volume 160 No 5, February 2017.
13. R. S. C. Horne, “Sudden Infant Death Syndrome: Current Perspectives,'' Int. Med. J.,
vol. 49, no. 4, pp. 433_438, 2019.
... Blynk IoT is a user-friendly IoT platform that has existed since 2014. It has been used in various published IoT projects over the years, such as Simulation and Construction of a Solar Powered Smart Irrigation System Using Internet of Things (IoT), Blynk Mobile App [13], Home Automation System Using ESP8266 microcontroller and Blynk Application [14], Development of BLYNK IOT platform weather information monitoring system [15] and An IOT-based BLYNK server application for Infant Monitoring Alert System to detect crying and wetness of a baby [16]. It has proven to be extremely useful to researchers the world over. ...
Conference Paper
Successfully setting up IoT projects requires the utilization of IoT platforms. IoT platforms monitor and manage various aspects of an IoT system, including data flow to and from IoT devices. Choosing a platform for an IoT project is of utmost importance. It is a difficult decision to make as hundreds of platforms are available. With this paper, we aim to highlight two free IoT platforms that are simple to use, Blynk IoT and ESP Rainmaker. We compare these platforms using a simple LED blinking system using the ESP32 microcontroller. The ESP32 is popular due to its active developer community and Arduino support. The Blynk IoT platform has the advantage of maturity, while the ESP Rainmaker platform is native to the ESP32. Both platforms are free for developers. We compare various parameters of the platforms, such as performance, ease of implementation, and more. When blinking the LEDs, we observed that the Blynk IoT application was faster in communicating with the ESP32 by two seconds. Also, Blynk IoT’s no-code approach makes for an easily customizable dashboard. The ESP Rainmaker platform also has advantages, like the ESP32 firmware sets up the dashboard by itself. The Rainmaker app makes it easy to connect the ESP32 to WiFi networks. Based on our tests and experience, we conclude that choosing between the platforms depends on one’s goals and capabilities. We recommend Blynk to absolute newcomers to IoT and programming. ESP Rainmaker is better for experienced programmers who want to explore every feature of the ESP32.
Chapter
Due to the rapid growth of e-services including e-commerce, e-finance, and mobile payments, personal loans for consumption have seen a significant uptick in recent years. There will be massive losses due to credit loan fraud because of insufficient grid checking and monitoring. Because of the time and effort required to manually analyse and verify such a high volume of credit/debit card swaps, machine learning methods should be widely deployed to automatically identify fraudulent transactions. This paper offers a unique hybrid supervised & unsupervised learning approach, P-XGBoost that combines Principal Component Analysis (PCA) and XGBoost (Algorithm) to filter out superfluous data while keeping significant information. There, use system search to prevent over-fitting and investigate the showcase of XGBoost, P-XGBoost, and other conventional AI technologies. It comes out that P-XGBoost completely surpasses XGBoost when it comes to detecting fraud, and it also offers a completely novel viewpoint on maintaining client anonymity while searching for forgeries behaviour.KeywordsFraud detectionXGBoostPrincipal component analysis
Chapter
Crypto currencies are one kind of digital currencies that resembles the stock market and operate on a block chain database. A bitcoin is an earliest form of crypto currency and due to its erratic price trends, the market is unstable. Similar to the stock market, bitcoin provides investment opportunities. But due to its volatility, investors find it difficult to invest. A user-friendly interface is used for predicting the price of bitcoin using several algorithms. Hence, to forecast the price of bitcoin, we apply a variety of machine learning (ML) algorithms during this research. The set of algorithms are SVM, Bayesian regression, Random Forest and boosting ensemble, ARIMA, Multilayer LSTM and GRU model. By comparing the resulting values of RMSE, we will establish the most successful method for the prediction of price of bitcoin.KeywordsDigital currenciesVolatileRegressionARIMAGRU
Chapter
Over the last several years, research into the causes and treatments for serious depression has been a hot issue. They are using models of machine learning to fresh data points from the brain that include several sets of information in order to detect depression. However, the predicting accuracy of machine learning algorithms such as SVM & KNN ranged from 98% to 85%. The accuracy of detecting depressed state is still in need of improvement. Here, we use the Brain images picture dataset for our analysis. This data may be used to provide an accurate assessment of the patient’s state of depression. Our strategy is to use the limited data set to fine-tune network weights such that they are optimally suited to the specific job at hand. According to the findings, densenet121 achieved the highest accuracy (up to 95.74%) of all the models tested. Multi-component model designed to outperform the accuracy of its component parts.KeywordsDeep learningMachine learningEnsemble methods
Chapter
Nowadays, the problems confronted besides cyber security manufacturers of between fade tens of billions to across country and world. Cyber Supply Chain (CSC) system is complex which involves different sub-systems performing various tasks. Safeguards such as distribution network has been tricky due to inherent risks and attacks from just about any system can be controlled which can still be abused at every juncture within in the distribution chain. This could trigger a massive interruption upon that business operations connectivity. Therefore, it was indeed supreme useful for understanding but also criterion it and attacks such that agency could really undergo master station initiatives is for operational risk management. To demonstrate the applicability of our approach, malware detection dataset is gathered and a number of ML algorithms, i.e., XGBoost, Gradient Boosting, are used to develop predictive analytics using the Kaggle Malware detection dataset.KeywordsCyber securityBoosting algorithmMalware detection
Article
Full-text available
Non-contact-based baby monitoring system using image processing is proposed in this paper which is used for proper safety and monitoring the activity of baby by their busy parents. The system detects the motion, crying and present position of the baby. If any abnormal action is detected, then the system sends a message in the form of text and images of baby to the particular user through email. Raspberry Pi B+ module is used to process the videos taken by pi camera, MIC is used for crying detection and image processing is used for detection of real-time motion of babies and boundary condition of the bed. The system required to first install OS Raspbian, and all the other packages like OpenCV, Numpy and Virtual environment. Face detection algorithm is trained using Haar classifier for positive face images and negative nonface images. This system will help in decreasing the chances of the baby’s falling from the bed. Also, this system can be used in hospitals while baby is sleeping where the stress among the nurses will be reduced.
Article
Full-text available
The current number of working mothers has greatly increased. Subsequently, baby care has become a daily challenge to many families. Thus, most parents send their babies to their grandparents’ house or to baby care houses. However, the parents cannot continuously monitor their babies’ conditions either in normal or abnormal situations. Therefore, an Internet of Things-based Baby Monitoring System (IoT-BBMS) is proposed as an efficient and low-cost IoT-based system for monitoring in real time. We also proposed a new algorithm for our system that plays a key role in providing better baby care while parents are away. In the designed system, Node Micro-Controller Unit (NodeMCU) Controller Board is exploited to gather the data read by the sensors and uploaded via Wi-Fi to the AdaFruit MQTT Server. The proposed system exploits sensors to monitor baby’s vital parameters, such as ambient temperature, moisture, and crying. A prototype of the proposed baby cradle has been designed using Nx Siemens software, and a red meranti wood is used as the material for the cradle. The system architecture consists of a baby cradle that will automatically swing using a motor when the baby cries. Parents can also monitor their babies’ condition through an external web camera and switch on the lullaby toy located on the baby cradle remotely via the MQTT server to entertain the baby. The proposed system prototype is fabricated and tested to prove its effectiveness in terms of cost and simplicity and to ensure safe operation to enable the baby-parenting anywhere and anytime through the network. Finally, the baby monitoring system is proven to work effectively in monitoring the baby’s situation and surrounding conditions according to the prototype.
Article
Full-text available
Growth parameters that parents often pay attention and monitoring for their infants are weight and temperature to determine the health condition of the infant. Parents don't realize that the size of the head circumference reflects the brain volume. The head circumference is an important thing that should always be monitored the growth to see whether the infant's brain grow and develop normally or not. Generally, doctors or midwives use a separate measuring instrument. The use of separate measuring instruments requires considerable time and digital measuring instrument. This study aims to make a tool in one system that consists of three measurement parameters including weight, temperature, and head circumference. The tool can record the parameters automatically. The parameters automatically measure the infant's weight, temperature, and head circumference to determine the condition of the infant. The tool is operated through IoT (internet of things) which can facilitate paramedic to monitor the infant's situation wherever and whenever through internet network that can be accessed via web or Android. The three parameters are controlled directly with the NodeMCU ESP8266 module using two ultrasonic sensors to determine the circumference of the infant's head, the weight sensor using load cell, and the temperature sensor using an SHT31 temperature sensor. It is expected that this tool can help the paramedic work to act quickly because it can monitor the state of the infant online.
Conference Paper
Full-text available
This project presents a baby monitoring system for busy parents so that they can ensure the proper care and safety of their babies. This system can detect the baby’s motion and sound; especially crying and video output of baby’s present position can be displayed on a display monitor so that the mother or another responsible person can watch the baby while away from him or her. This baby monitoring system is capable of detecting motion and crying condition of the baby automatically. The Raspberry Pi B+ module is used to make the total control system of the hardware, condenser MIC is used to detect baby’s crying, PIR motion sensor is incorporated to detect baby’s movement and Pi camera is used to capture the baby’s motion. A display is used to have video output of sleeping baby. Finally, the developed hardware is tested to analysis the capability of detecting the motion and crying sound of baby as well as the video output. This proposed system can provide an easier and convenient way for busy parents in terms of taking care of their babies.
Article
Full-text available
Sudden Infant Death Syndrome (SIDS) is marked by the sudden death of an infant during sleep that is not predicted by the medical history and remains unexplained even after thorough forensic autopsy and detailed death investigation. In this we developed a system that provides solutions for the above problems by making the crib smart using the wireless sensor networks (WSN) and smart phones. The system provides visual monitoring service through live video, alert services by crib fencing and awakens alert, monitoring services by temperature reading and light intensity reading, vaccine reminder and weight monitoring.
Article
IoT is the vast area which is getting upgraded in the field of security as well as in the field of industry. In the field of security the IOT also plays an important role for the child's safety. To overcome the problems of guardians we have used the radar sensors and the obstacle sensors for identifying the child problem and for maintaining his safety. In this proposed system we have worked on child safety where we have detected the danger zone in which the child enters and the signals or alarm buzzers are given to the guardians.
Article
Despite significant reductions in incidence since the introduction of safe infant sleeping recommendations, sudden infant death syndrome is still the major cause of neonatal death in western countries. In the United States, over 2500 infants die suddenly and unexpectedly each year with nearly 100 deaths annually in Australia. Health professionals play a critical role in advising parents how to sleep their infants safely to minimise the risk of sudden infant death syndrome and sleeping accidents. Infants should be placed supine to sleep in a cot with a firm well‐fitting mattress in the parental bedroom with no soft or loose bedding which could obstruct the airway. Exposure to smoking both before and after birth should be minimised. Breastfeeding should be encouraged, as should immunisation. Dummies can be recommended after breastfeeding has been established. This review outlines the evidence behind these recommendations.