Smart Baby Sitter
Smart Baby Sitter
Smart Baby Sitter
ABSTRACT
According to the study on 182 dual-earner couples who become parents for first time, the working hours
affects equally for both father and mother. Before their baby arrived, men and women in the study were
both working roughly the same number of hours inside and outside the home. And after having a baby,
they still worked the same number of hours at their jobs. Finding a babysitter in metro cities is challenging
and provides support for a limited time period for a high cost. A babysitter cares for a child in 9 to 5 routine
and as a professional leave your child after that but in a situation you stuck in a traffic then it may be
serious problem you never know how a professional babysitter may leave your baby.
INTRODUCTION
In a nuclear family, when a first child is born a full attention is needed which can be provided by a mother
but most often a father is on a work and a mother needs to care a baby and home as well. A mother has
to manage kitchen, she may have to go to the market for daily needs and she may not 100% available for
a baby. To solve this problem we have designed a gadget which can mounted on the baby bed and it
provides a fan, camera and a automatic movable feature which can fill the void between a mother and a
baby.
CIRCUIT DESCRIPTION
The circuit consist of an ESP32 development board with ESP32 CAM, DHT sensor, DC motor, Relay, Electret
microphone and a Servo motor.ESP32 CAM can be accessed using Blink application to monitor whether
the baby is sleeping or not. DHT sensor is used which measures the temperature and humidity, on getting
values greater than threshold value it induce the relay coil and it will turn the fan ON. Microphone detect
the baby sound and which will activate the servo motor where servo motor is use to move the baby cradle.
PROGRAM
void setup()
//Serial.begin(9600);
Serial.begin(115200);
dht_sensor.begin();
pinMode(MIC, INPUT);
int MIC=7;
void loop()
if (isnan(temperature))
else
if (temperature >
TEMP_UPPER_THRESHOLD)
TEMP_LOWER_THRESHOLD)
{
//Serial.println("Turn the fan off"); digitalWrite(RELAY_FAN_PIN, LOW);
delay(2000);
camera_config_t config;
config.ledc_channel = LEDC_CHANNEL_0;
config.ledc_timer = LEDC_TIMER_0;
config.pin_d0 = Y2_GPIO_NUM;
config.pin_d1 = Y3_GPIO_NUM;
config.pin_d2 = Y4_GPIO_NUM;
config.pin_d3 = Y5_GPIO_NUM;
config.pin_d4 = Y6_GPIO_NUM;
config.pin_d5 = Y7_GPIO_NUM;
config.pin_d6 = Y8_GPIO_NUM;
config.pin_d7 = Y9_GPIO_NUM;
config.pin_xclk = XCLK_GPIO_NUM;
config.pin_pclk = PCLK_GPIO_NUM;
config.pin_vsync = VSYNC_GPIO_NUM;
config.pin_href = HREF_GPIO_NUM;
config.pin_sscb_sda = SIOD_GPIO_NUM;
config.pin_sscb_scl = SIOC_GPIO_NUM;
config.pin_pwdn = PWDN_GPIO_NUM;
config.pin_reset = RESET_GPIO_NUM;
config.xclk_freq_hz = 20000000;
config.pixel_format = PIXFORMAT_JPEG;
// Frame parameters
// config.frame_size = FRAMESIZE_UXGA;
config.frame_size = FRAMESIZE_QVGA;
config.jpeg_quality = 12;
config.fb_count = 2;
#if defined(CAMERA_MODEL_ESP_EYE)
pinMode(13, INPUT_PULLUP);
pinMode(14, INPUT_PULLUP);
#endif
cam.init(config);
IPAddress ip;
WiFi.mode(WIFI_STA);
WiFi.begin(SSID1, PWD1);
delay(500);
Serial.print(F("."));
ip = WiFi.localIP();
Serial.println(F("WiFi connected"));
Serial.println("");
Serial.println(ip);
Serial.print(ip);
Serial.println("/mjpeg/1");
server.onNotFound(handleNotFound);
server.begin();
val =digitalRead(MIC);
Serial.println (val);
if (val==HIGH) {
servo_motor();
else {
break;
void servo_motor()
SERVO_MOTOR.write(pos);
delay(15);
SERVO_MOTOR.write(pos);
delay(15);
}
FUTURE EXPANSION
One of the most important features that can be added to this device is that a trigger can be added in such
a way that if the parents are very far away in a different city or they could not reach their baby then
through the app they should be able to trigger an emergency help with the nearest police station. For this
GPS services can also be included. This ensures expert-level safety for the child.