Crying Baby Monitor With Email Notification
by TechMartian in Circuits > Assistive Tech
2712 Views, 23 Favorites, 0 Comments
Crying Baby Monitor With Email Notification
![IMG_20170829_184143.jpg](/proxy/?url=https://content.instructables.com/FQM/0QKX/J6WGLV3M/FQM0QKXJ6WGLV3M.jpg&filename=IMG_20170829_184143.jpg)
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!
BoM
![IMG_20170829_185502.jpg](/proxy/?url=https://content.instructables.com/F1T/P2DQ/J6WGLVMK/F1TP2DQJ6WGLVMK.jpg&filename=IMG_20170829_185502.jpg)
* 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
Wiring
![IMG_20170829_184208.jpg](/proxy/?url=https://content.instructables.com/F43/ZGYV/J6WGLVDG/F43ZGYVJ6WGLVDG.jpg&filename=IMG_20170829_184208.jpg)
![IMG_20170829_184143.jpg](/proxy/?url=https://content.instructables.com/FQM/0QKX/J6WGLV3M/FQM0QKXJ6WGLV3M.jpg&filename=IMG_20170829_184143.jpg)
I/O | I/O Pin # | Wire Colour | Arduino pin# |
---|---|---|---|
Sound Detector Board | VCC | Orange | VCC |
GND | White | GND | |
Envelope | Yellow | A0 |
Code
![Screen Shot 2017-08-29 at 8.39.51 PM.png](/proxy/?url=https://content.instructables.com/FGC/JWP7/J6WGLIKR/FGCJWP7J6WGLIKR.png&filename=Screen Shot 2017-08-29 at 8.39.51 PM.png)
![Screen Shot 2017-08-29 at 8.39.53 PM.png](/proxy/?url=https://content.instructables.com/FJQ/NT5P/J6WGLIMG/FJQNT5PJ6WGLIMG.png&filename=Screen Shot 2017-08-29 at 8.39.53 PM.png)
#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(); }
App Making
![UNADJUSTEDNONRAW_thumb_b40.jpg](/proxy/?url=https://content.instructables.com/FLA/UMKW/J6WGLVWR/FLAUMKWJ6WGLVWR.jpg&filename=UNADJUSTEDNONRAW_thumb_b40.jpg)
![UNADJUSTEDNONRAW_thumb_b3f.jpg](/proxy/?url=https://content.instructables.com/FFT/4C10/J6WGLVV4/FFT4C10J6WGLVV4.jpg&filename=UNADJUSTEDNONRAW_thumb_b3f.jpg)
![UNADJUSTEDNONRAW_thumb_b46.jpg](/proxy/?url=https://content.instructables.com/FDQ/5TA5/J6WGLX0W/FDQ5TA5J6WGLX0W.jpg&filename=UNADJUSTEDNONRAW_thumb_b46.jpg)
![UNADJUSTEDNONRAW_thumb_b42.jpg](/proxy/?url=https://content.instructables.com/FSW/GJ34/J6WGLWE2/FSWGJ34J6WGLWE2.jpg&filename=UNADJUSTEDNONRAW_thumb_b42.jpg)
Follow the images above on how to setup your own application.
* Grab the following widgets:
- BLE
- Notification
* Connect to your device.
* Add your email address
* Click Run
That's it, you're done. Enjoy!