Professional Documents
Culture Documents
A PROJECT REPORT
ON
“Auto Baby Cry Detector & Sleep Music Player”
SUBMITTED IN PARTIAL FULFILLMENT OF THE REQUIREMENT FOR THE AWARD
OF
DIPLOMA IN
ELECTRONICS AND TELECOMMUNICATION ENGINEERING
SUBMITTED TO
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION,
MUMBAI
SUBMITTED BY
Name Of Students Enrollment No.
GUIDED BY
Smt. Pathan J.J.
Government Polytechnic, Awasari (Kh)
2019-2020
March 2022
Submitted by
Name Of Students Enrollment No.
In partial fulfillment of
Diploma in
Electronics and Telecommunication Engineering
Guided by
Smt. Pathan J.J.
CERTIFICATE
This is to certify that the project report entitled “Coin Insertion Based
Mobile Charging System” was successfully completed by student of sixth
semester Diploma in Electronics and Telecommunication Engineering
Dighe Atul Sambhaji
Borkar Prathmesh Balu
Bangar Sushant Manjaba
Revgade Abhishek Punjaram
In partial fulfillment of the requirements for the award of the Diploma in
Electronics and Telecommunication Engineering of Government
Polytechnic, Awasari (Kh.) work carried out during a period for academic
year 2021-2022 as per curriculum.
Dr. D. R. Nandanwar
External Examiner Principal
March 2022
ACKNOWLEDGEMENT
This project done as final year project title “Coin Insertion Based
Mobile Charging System” in partial fulfillment of the requirements for the
award of the Diploma in Electronics And Tele-communication Engineering.
We are really thankful to the Principal Dr. D. R. Nandanwar, and the
Head of Department Dr. P. S. Sharma, Electronics and Telecommunication
Engineering Department, Government Polytechnic, Awasari (Kh.) for their
valuable guidance and assistance without which the accomplishment of the
project would have never been possible.
We also thank Smt. Pathan J. J. for guiding and giving this opportunity
to explore into the real world, realize the interrelation without which a project can
never progress. We are also grateful to parents, friends and all staff of
Electronics and Telecommunication Engineering Department, for providing
us relevant information, and support.
ABSTRACT
Parents in the present world are busy in their professional life, so they
do not get sufficient time to take care of their babies. it is inconvenient for
parents to constantly watch over their newborn baby while doing their work or
chores. So we have designed an simple system which helps parents in taking care
of baby.
This system proposes a simple voice detection system which can be applied
practically for designing a device with capability to detect a baby’s cry and
automatically turning on a Baby sleep music.
The system is based on Arduino microcontroller. Whenever the baby cries it is
detected by the controller with the help of Mic and in order to that turns on the
music and sleep mechanism which creates soothing sound as well as dim lights
which makes baby sleep again gently. In this project a program is implemented to
detect an infant’s crying. It can detect baby’s cry while ignoring other sounds like
clap, sneeze, fan, sudden sounds, environment sounds etc.
March 2022
Content
______________________________________________
CHAPTER 1 - INTRODUCTION….…………………………..….1
CHAPTER 2 -BLOCK DIAGRAM………………………………..3
2.1 Block Diagram …………………………………....………………4
2.2Component Used In Block Diagram…………......………………..5
2.3 Block Diagram Description………………………………….……6
CHAPTER 3 – Circuit Diagram…………………………......……..8
3.1 Circuit Diagram………………………..………………….………9
CHAPTER 4- INTRODUCTION OF ATMEGA328P……………..10
4.1Introduction……………………………………………………..…11
4.2Pin Diagram………………………………………………………..17
4.3 Features……………………………………………..……………..19
CHAPTER 5 –HARDWARE DESCIPTION…………………..…..20
5.1 Power Supply………………………….........................………....21
5.2 Sound Sensor.. ……......…………………………………………..27
5.3 LED………… .........……………………..…………………..…....30
5.4 Relay Module….……………………………………………….…32
CHAPTER 6- PROGRAMMING………………………………...….41
6.1 Algorithm…………………………………………………….....…..42
6.2 Flowchart……………………………………………………….…..43
6.3Program……………..………….…………………………..……….44
CHAPTER 7 – RESULT, CONCLUSION AND FUTURE SCOPE
7.1 Result………………………………………………………………..52
7.2 Conclusions…………………………………………….…………...54
7.3 Future scope………………………………………….……………..54
March 2022
CHAPTER 8 – REFERENCES…………………………….…….......55
8.1 Books……………………………………………………………….56
8.2 Websites……………………………………………….…………....56
CHAPTER 9 –APPENDIX………………………………………........57
List of Component with Price……………..…………………….…..….58
March 2022
CHAPTER 1
INTRODUCTION
March 2022
Many modern parents may not be able to spend time simply monitoring
their babies because of their other responsibilities. However, babies and infant
need care and monitoring 24 hours a day. Recently, smart technologies have
become widespread in most life fields due to their ability to take automatic
actions. Baby care services is a field that could also employ these technologies by
means of embedded systems. Embedded systems combine hardware and software
to implement a desired function, and, designed correctly, these systems can help
parents in terms of baby care and monitoring. Generally, the baby cradle is used
for to make sleep and soothe to baby. For example guardian have to take care of
their child till as they asleep. However, conventional cradle does not
electronically equipped such like battery or adapter to automate the cradle
automatically. In Addition to that, these kind of conventional cradle is used in
villages areas or non-developed cities due to its low prices. But the problem of
this kind of designated cradle is that you need manpower to take care of your
child and your child may not be safe and feel comfortable in the conventional
cradle. Thus, we need automatic cradle to take care of child which uses the
battery or power source. Besides, there are extra features or function is provided
by the newly automatic cradle that is beneficial for parents. Because in the
present world people are very busy in their professional life so they do not get
ample time to take care of their infants. It will be very difficult control the babies
and if someone is hiring professional to take care of their infants. It may increase
your expenses from monthly expenditure. Moreover, in today, life it is very hard
to even for the homemakers (mummy) to sit nearby their babies and sooth them
whenever they feel uncomfortable. Though, it is automatic this application is very
useful for the nurses in maternity units of hospital.
.
March 2022
CHAPTER 2
BLOCK DIAGRAM
March 2022
In this block diagram, we shows how to work the project in a simple method. In
the project the main part is controller that is Arduino board. we will connect different
peripherals to the Arduino. In this we connect Sound Sensor, Relay Module, etc. this
project will helpful for baby sheeter. So here we use sound sensor to detect the voice
of crying baby. Then the relay module is used to turn on or off the music system. In
music player we added some music which will helpful to sleep the baby. Whenever
the baby will cry the sound sensor will detect it and send signal to the Arduino. Then
Arduino send signal to the relay. The relay will turn on so automatically music will
be playing. And this process will continuously happen until baby isn’t stop crying.
March 2022
1. Arduino (Atmega328p)
2. DC Power Supply.
3. Sound sensor
4. Relay module
5. Music player
6. Connecting wires
March 2022
CHAPTER 3
CIRCUIT DIAGRAM
March 2022
3 .1 CIRCUIT DIAGRAM :-
March 2022
CHAPTER 4
INTRODUCTION TO ATMEGA328P
Pin Descriptions:-
1. Power USB:- Arduino board can be powered by using the USB cable from your
computer. All you need to do is connect the USB cable to the USB connection.
5. Arduino Reset:-You can reset your Arduino board, i.e., start your program from
the beginning. You can reset the UNO board in two ways. First, by using the reset
button on the board. Second, you can connect an external reset button to the
Arduino pin labelled RESET.
March 2022
6. Analog pins:-The Arduino UNO board has six analog input pins A0 through A5.
These pins can read the signal from an analog sensor like the humidity sensor or
temperature sensor and convert it into a digital value that can be read by the
microprocessor.
7. Digital I/O:-The Arduino UNO board has 14 digital I/O pins (15) (of which 6
provide PWM (Pulse Width Modulation) output. These pins can be configured to
work as input digital pins to read logic values (0 or 1) or as digital output pins to
drive different modules like LEDs, relays, etc. The pins labeled “~” can be used to
generate PWM.
4.3 FEATURES:-
The operating voltage is 5V
The recommended input voltage will range from 7v to 12V
March 2022
CHAPTER 5
HARDWARE DESCRIPTION
Bridge rectifier:
A bridge rectifier can be made using four individual diodes, but it is also available
in special packages containing the four diodes required. It is called a full-wave
Rectifier because it uses the entire AC wave (both positive and negative sections).
1.4V is used up in the bridge rectifier because each diode uses 0.7V when
conducting and there are always two diodes conducting, as shown in the diagram
below. Bridge rectifiers are rated by the maximum current they can pass and the
maximum reverse voltage they can withstand (this must be at least three times the
supply RMS voltage so the rectifier can withstand the peak voltages
Smoothing:
March 2022
Voltage regulator:
Voltage regulator ICs are available with fixed (typically 5, 12 and 15V) or
variable output voltages. They are also rated by the maximum current they can pass.
Negative voltage regulators are available, mainly for use in dual supplies. Most
regulators include some automatic protection from excessive current ('overload
protection') and overheating ('thermal protection'). Below is the circuit diagram of
power supply which gives output of 5V, as only that much is required for
microcontroller. Its circuit diagram and designing calculation are given below.
The +5 volt power supply is based on the commercial 7805 voltage regulator
IC. This IC contains all the circuitry needed to accept any input voltage from 9 to
12 volts and produce a steady +5 volt output, accurate to within 5% (0.25 volt). It
March 2022
The advantage of a bridge rectifier is you don’t need a center tap on the
secondary of the transformer. A further but significant advantage is that the ripple
frequency at the output is twice the line frequency (i.e. 50Hz) and makes filtering
somewhat easier.
The use of capacitor c1 and c2 is to make signal ripple free. The capacitor
used before the regulator is to make ac signal ripple free and then later which we
are using is for safety, if incase there is a ripple left after regulating, then c2nwill
remove it.
The drop out voltage of the regulator is 2V As per the data sheet)
Vdc = 5+2 = 7V
Vdc = 2Vm/Pi
=5 x 3.14/2
=7.85V
Vm= 7.85V
=7.85+1.4= 9.25V
Vim=9.25V
Vrms = Vim/sqrt(2)
= 9.25/sqrt(2)
= 6.54V
Vrms = 6.54V
Similarly
Im=Idc x pi/2
Im=700m x 3.14/2
= 1.099A.
Irms= Im/sqrt(2)
= 1.099A/sqrt(2)
` = 777.11mA
Irms = 777.11mA
2. Rectifier Design:
March 2022
Im= 628mA
BRIDGE RECTIFIER –
R = Vdc/Idc
= 9 / 400m
= 22.5Ohms.
Vr = 2(Vim – Vdc)
= 2(20.24 – 5)
= 8.24V
C = Vdc/ (FxRxVr)
= 5/ (100x17.5x8.24)
= 832.17uF
So the power supply made from the above mentioned components gives the
output of 5V.
March 2022
You can set a threshold value using a potentiometer so that when the amplitude of
the sound exceeds the threshold value, the module will output LOW otherwise
HIGH.
One object of this design is to provide a system for coin identification that does
not require close tolerances, and therefore cannot be so readily jammed as prior
systems.
5.3 LED:-
WORKING PRINCIPLE:-
A light-emitting diode is a two-lead semiconductor light source. It is a p–n
junction diode that emits light when activated. When a suitable voltage is applied
to the leads, electrons are able to recombine with electron holes within the device,
releasing energy in the form of photons. This effect is called electroluminescence,
and the colour of the light (corresponding to the energy of the photon) is
determined by the energy band gap of the semiconductor.
March 2022
FEATURES:
Energy Saving:- The LEDs are extremely efficient low energy light sources.
Light gains:- In 2005 the white LEDs reached outputs of over 30 lumens /
Watt and coloured versions 50 lumens / Watt.
Long operational life:- up to 50,000 hours.
Compact light source:- no other lamp possesses such small dimensions for a
comparative light output.
No radiation:- the LEDs do not emit ultraviolet (UV) or infrared (IR)
radiation.
Durable lamps:- The LEDs are durable against impact and vibration.
Dimmable LEDs:- the LEDs can be dimmed.
Coloured lamps:- Coloured light can be produced effectively – over 16
million colours.
March 2022
from a micro controller. When activated, the electromagnet pulls to either open or
A simple relay consists of wire coil wrapped around a soft iron core, or
solenoid, an iron yoke that delivers a low reluctance path for magnetic flux, a
movable iron armature and one or more sets of contacts. The movable armature is
hinged to the yoke and linked to one or more set of the moving contacts. Held in
place by a spring, the armature leaves a gap in the magnetic circuit when the relay
March 2022
is de-energized. While in this position, one of the two sets of contacts is closed
field that in turn activates the armature. This movement of the movable contacts
makes or breaks a connection with the fixed contact. When the relay is de-
energized, the sets of contacts that were closed, open and breaks the connection
and vice versa if the contacts were open. When switching off the current to the
coil, the armature is returned, by force, to its relaxed position. This force is
usually provided by a spring, but gravity can also be used in certain applications.
Products is the industry leader in high power relay module design and
manufacturing.
endless options such as terminal position assurance available for wire retention,
CHAPTER 6
PROGRAMMING
March 2022
6.1 ALGORITHM:
1) Start
4) If baby is not crying then turn off relay to stop the music
5) End
March 2022
6.3 PROGRAM:
include<one.sheeld.h>
String account = "imtheparent2015";// The parent account on twitter
String Message0 ="Arduino Now is on Monitoring Mode , Stay tuned for any
updates";
String Message1 = "The baby is crying ,The Arduino is on SleepingMode right
now stay Tuned For any updates";// The Arduino message for the parent at the
Sleeping Mode
String Message2 = "The baby is awake ,The Arduino is on WakingMode right
now , and playing some songs";// The Arduino message for the parent at the
Waking Mode
String Message3 = "The baby is now asleep ,You Are Safe :D";// The Arduino
message for the parent at the Sleeping Mode
String Message4 ="The Baby is still crying ,Stay tuned for any updates";
int green=13;//Green LED (Checking LED)
int red=12;//Red LED (Alert LED)
int toy=10;//Toy relay pin
int cry=0;//Checking if the baby is crying,If cry ==10 so the baby is crying
int x=0;//For checking if the program passes through sleepingMode 1
int y=1;//For checking if the program passes through sleepingMode 2
int z=0;//For checking if the program passes through WakingMode
boolean mon=true;//For the monitoring mode to run it only one time
////////////////////////////////////////////
void setup()
{
pinMode(toy,OUTPUT);//Toy relay circuit
March 2022
CHAPTER 7
RESULT, CONCLUSION AND
FUTURE SCOPE
March 2022
7.1 RESULT:
Our project is helpful for baby sheeter or parents. There is no need to seat 24
hours with baby for taking care of her/him. We design a very simple project that
will help parents or baby sheeter. Whenever the baby cries it is detected by the
controller with the help of Mic and in order to that turns on the music and sleep
mechanism which creates soothing sound as well as dim lights which makes baby
crying. It can detect baby’s cry while ignoring other sounds like clap, sneeze, fan,
7.2 CONCLUSION:
In this paper, an intelligent baby cradle system was developed. The cradle was
capable of detecting the baby crying sound while ignoring other sounds like clap,
sneeze, fan, sudden sounds, environment sounds etc. The individual devices were
assembled and was observed to be working efficiently at the time of baby’s cry
detected by the sound sensor and turn on music player until baby doesn’t stop
crying and it will turn on music player. This product is mainly useful for working
The proposed system now consuming to much power because the system
sufficient system. We will able to sleep our system until baby is not crying and
whenever baby is start crying our system will detect and start music player so it
will consume less power. Also we can add some sensors to detect the cushion is
dry or wet so it will helpful to alert the parents through the bluetooth module.
March 2022
CHAPTER 8
REFERENCES
March 2022
8.1 BOOKS:
8.2 WEBSITES:
1. https://www.arduino.cc/
2. https://www.irjet.net/archives/V6/i5/IRJET-V6I5402.pdf
3. https://nevonprojects.com/auto-baby-cry-detector-sleep-music-player-
pic/
4. https://youtu.be/mex9A3AQ9Ic
5. https://create.arduino.cc/projecthub/kirollosawad/crying-baby-detector-
using-1sheeld-9f23c9
March 2022
CHAPTER 9
APPENDIX
March 2022
2 Dc Jack - 10 1 10
5 Capacitor 1000uF/25v 3 1 3
7 Diode 1N4007 3 5 15
8 LED 3.3V/20mA 3 5 15
9 Connector - 10 3 30
- TOTAL - - - 1245
March 2022