Project Description

This easy tutorial helps you to build an Alert System for your home or office.
To do this, we use an Arduino able to detect light and Carriots Engine to send alerts by email.
In this project you will learn how to:

  • Connect an Arduino to Carriots to send data streams using Carriots HTTP REST API
  • Build an Alert App on Carriots by programming a Listener to send an email using the SDK

This project is a quick way to create an alarm app and understand the basics of combining Arduino and Carriots.

Here is overall diagram of the project:

Arduino is programmed to send a data stream to Carriots stating whether or not receiving light

All the data streams sent by Arduino are collected and stored in Carriots. Carriots is a huge database that collects all the information that your sensors send.

In addition to storing data, the true power of Carriots is to let you build Apps very quickly with few lines of Groovy code. In this scenario we are going to build a very simple Alert App that sends an email to you in case that Arduino detects light.

With Carriots you can build very complex Apps to support all the logic of your product on the cloud and integrate it with other devices and IT systems. But for now let’s keep it simple.

Although this Alert App is very simplistic, you can use to detect someone enters in a dark room and turns on the lights. In fact this project is quite useful in our data-center, where light are always turned off.

Author : https://www.carriots.com

Source : https://www.carriots.com/tutorials/arduino_carriots/alert_system