Ian Grady
Published

Door Bell Using RF Module

Every time a bell switch at door is pressed, an alarm will be generated and an email will also be sent to a specific person.

IntermediateFull instructions provided3 hours1,310
Door Bell Using RF Module

Things used in this project

Hardware components

UNO R3
×1
NodeMCU ESP8266 Breakout Board
NodeMCU ESP8266 Breakout Board
×1
RFduino Dev Kit
RFduino Dev Kit
×1

Software apps and online services

Arduino IDE
Arduino IDE

Story

Read more

Schematics

Schematic 1

Schematic 2

Schematic 3

Schematic 4

Schematic 5

Schematic 6

Schematic 7

Schematic 8

Code

Sending the “DATA” followed by the Message body of the e-mail.

Arduino
See schematic images for reference.
client.println(“DATA”);
client.println(“To: receiver@gmail.com”);
client.println(“From: sender@gmail.com”);
client.println(“Subject: ESP8266 test e-mail\r\n);
client.println(“This is is a test e-mail sent from ESP8266.\n); client.println(“Second line of the test e-mail.”);
stage 8: Finally, terminate the mail with “.” and send the quit command. client.println(“.”);
client.println(“QUIT”);

Credits

Ian Grady
2 projects • 1 follower

Comments