Main Content

Build a Simple Presence Alarm system with email notifications

Based on our ESP03 demoboard, this device sends out email notifications through Gmail when the onboard P.I.R. detects movement.

The traditional alarm system which just makes a sound alarm go off and maybe sends out an SMS, forcing you to cash out for recharging the built-in Sim Card, is not enough for you? Have you decided to take advantage of a simple and intuitive system in order to receive access notification anywhere in the world, even your cell phone, over the Internet? Are you beginners of the Arduino and IOT word and you would like to start out with a good and exciting project that will show your friends what you can do? Well, you don’t need to worry, because we have developed an ideal project to satisfy all your needs, based on the ESP03 Wi-Fi module and operating in the security field, which we are going to describe in these pages. In fact, the circuit is an alarm system that takes advantage of the “ESP03 demoboard” for the ESP03 Wi-Fi module, described in the post: Let’s play with the ESP-03 Demoboard

The above-mentioned module, besides being versatile and cost-effective, it is well fitted for applications requiring wireless Internet access, as we already showed you in the past.

While browsing the net, we found a very interesting example of ESP03 usage, created by an enthusiast who developed a library capable of sending out emails formed module. By using his library, the author of this article, therefore, decided to implement the code for managing an alarm system, which is easy and cheap but at the same time powerful and customizable, and can be added to any house today, without breaking a wall or calling your electrician.

The system
In this post, we are going to provide you a step-by-step explanation about how to send out email notifications, to the advantage of a Gmail account and accessing the web through the connection carried out by the ESP03 module that can be found on our ESP03 demoboard.

Given the necessity to manage sensors and outputs using the demoboard, we have developed and created an additional shield which is ready for a P.I.R. sensor (movement sensor), a 12 V sound alarm output, and hardware key input (to enable/disable the alarm system) and an output for the 5 V buzzer or LED indicator. The shield has been designed in order to be applied to the ESP03 demoboard; everything is powered by 12 V applied on the shield, which in turn powers the ESP03 demoboard. Having just one power source for everything make the system very compact, as you can see from the prototype photos in these pages.”

Link to article