IoT Baby Monitor

by Hila mizrahi in Circuits > Electronics

691 Views, 0 Favorites, 0 Comments

IoT Baby Monitor

WhatsApp Image 2022-02-10 at 1.46.09 PM.jpeg

Baby Monitor is a hardware-software solution for babysitting.

Our baby monitor allows to supervise a couple of scenarios:

1. Noise Detection - Notify you when the baby is crying

2. Temperature Detection - Displays the current temperature in the baby's room and notifies when the temperature exceed 30 degrees or drops down below 20 degrees.

3. Find My Baby - If necessary, allows you to press a button that helps you find the baby by triggering noise

4. Play a song - Allows you to play a song to calm down the baby

Setting the Environment

FS1HSPPJWB4E1VB.png
download.png
Adafruit_3333_30129221-01.jpg

Arduino IDE

Install Arduino IDE.

Install relevant "drivers" (pun not intended) for the ESP8266 boards to your Arduino IDE.

Blynk

Download the Blynk App from Google Play.

Sign up to Blynk via the App.

Create a Blynk account after downloading the app.

Integromat:

Sign up to Integromat.

Download the Integromat App from Google Play.

Noise Detection

Baby cry

We would liked to be notified when the baby cries!

Follow the steps below:
1. On Integromat site, create a new scenario.

2. choose "Webhooks" -> "custom webhook" -> "add".

3. choose "re-determine data structure". press the "copy address to clipboard" , then open a new tab, and paste the address to url, add to this url the following: "?value="value"".

4. once you press enter you should get "Accepted" message on the screen.

5. On Integromat, press the right side of the webhook symbol, to add a new module, choose Apple iOS, and choose "send a push notification".

6. add your device- scan the QR code int the Integromat app.

7. insert a title for the push notification. for the body choose "message".

8. clicking the clock symbol on the bottom left of the screen will allow you to choose how often to send push notifications.

9. In your project on Blynk, choose V4 as the output.

10. Add the "message" parameter to Query parameters and choose "device_PinValue"

Temperature Detection

Baby Temp

We would like to know the temperature at the baby's room.

When the temperature exceeds 30 degrees or drops below 20 degrees we would like to get notified.

Follow the steps below:

1. On Integromat site, create a new scenario.

2. choose "Webhooks" -> "custom webhook" -> "add".

3. choose "re-determine data structure". press the "copy address to clipboard" , then open a new tab, and paste the address to url, add to this url the following: "?value="value"".

4. once you press enter you should get "Accepted" message on the screen.

5. On Integromat, press the right side of the webhook symbol, to add a new module, choose Apple iOS, and choose "send a push notification".

6. add your device- scan the QR code int the Integromat app.

7. insert a title for the push notification. for the body choose "message".

8. clicking the clock symbol on the bottom left of the screen will allow you to choose how often to send push notifications.

9. In your project on Blynk, choose V4 as the output.

10. Add the "message" parameter to Query parameters and choose "device_PinValue"

Find My Baby

WhatsApp Image 2022-02-10 at 2.14.36 PM.jpeg
Find Baby

Lost your baby?

We will help you find him!

Press the "Find my Baby" button on the blynk app and the CPX will make noise that will help you detect the baby!

Set a virtual pin in the blynk app that gets DataStream from pin V0.

Play a Song

Play Song

Want the CPX to play a nice song to the baby?

Just press the "Play Song" button on the blynk app.

Set a virtual pin in the blynk app that gets DataStream from pin V3.

Code

Download the included file and open it in arduino editor.

Read the comments and change the variables values as you like.

Change the following vars:

1. char auth[] - should be your auth key

2. char ssid[] - should be your wifi name

3. char pass[] - should be your wifi password

4. #define BLYNK_TEMPLATE_ID

5. #define BLYNK_DEVICE_NAME

In order to get the (4), (5) you should enter Blynk >> Templates >> Baby Monitor >> info

Press on the play button to compile and upload the code to the cpx.