Crying Baby Monitor With Email Notification

1,204

19

1

Introduction: Crying Baby Monitor With Email Notification

Maybe you're leaving you're baby at the hands of a nanny or even the day care and being a concerned parent you want to gauge whether he or she is being treated well. This alarm notes the high peaks when a baby is crying and when it passes a certain threshold alerts the user.

I made this project in the hopes of preventing abuse for both children's and toddlers alike and hope that it will make a difference in parent's lives!

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: BoM

* Arduino 101 (because it has a real time clock and Bluetooth low energy)

* Alternatively, Arduino Uno + RTC + Bluetooth module

* Sound Detector Board

* Bluetooth Low energy-capable phone

Step 2: Wiring

I/OI/O Pin #Wire Colour Arduino pin#
Sound Detector BoardVCCOrangeVCC
GNDWhiteGND
EnvelopeYellowA0

Step 3: Code

#define BLYNK_PRINT Serial
#define BLYNK_MAX_SENDBYTES 128
#include <BlynkSimpleCurieBLE.h><blynksimplecurieble.h>
#include <CurieBLE.h</blynksimplecurieble.h>>
// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "795aa10d38cf4a4c987de4be9b6d0de3";
int counter - 0
BLEPeripheral  blePeripheral;
void emailOnButtonPress()
{
  // *** WARNING: You are limited to send ONLY ONE E-MAIL PER 15 SECONDS! ***
  // Let's send an e-mail  given the following conditions
  
  if (analogRead(A0)>300) {
    long logTime = time();
  }
  if (analogRead(A1)>300 && (time() - logTime() > 300){
    counter +=1;
    Serial.println("Dog / Baby is Overheating in the Car!!!"); // This can be seen in the Serial Monitor
    Blynk.email("techmartian@techmartian.com", "Subject: BABY Crying for over 5 minutes", "Your Baby could be in danger or being abused!!!");

  }
}
void setup()
{
  // Debug console
  Serial.begin(9600);
  delay(1000);
  blePeripheral.setLocalName("TechMartian");
  blePeripheral.setDeviceName("TechMartian");
  blePeripheral.setAppearance(384);
  Blynk.begin(blePeripheral, auth);
  blePeripheral.begin();
}
void loop()
{
  blePeripheral.poll();
  Blynk.run();
}

Step 4: App Making

Follow the images above on how to setup your own application.

* Grab the following widgets:

  1. BLE
  2. Email
  3. Notification

* Connect to your device.

* Add your email address

* Click Run

That's it, you're done. Enjoy!

Automation Contest 2017

Participated in the
Automation Contest 2017

Bluetooth Challenge

Participated in the
Bluetooth Challenge

Makerspace Contest 2017

Participated in the
Makerspace Contest 2017

Be the First to Share

    Recommendations

    • Backyard Contest

      Backyard Contest
    • Silly Hats Speed Challenge

      Silly Hats Speed Challenge
    • Finish It Already Speed Challenge

      Finish It Already Speed Challenge

    Discussions

    0
    Matis24
    Matis24

    Question 1 year ago

    hi this is a very good project
    i have a question about using bluetoot with arduino
    sorry iam a little bit new in this but can you quick explain why you use bluetoot if you send a email notificaton
    thank you