This App Note describes how to implement a presence simulator controlled from the Cloud. The system consists in a combination of different internet free services as Twitter and IFTTT (www.ifttt.com). An Arduino Ethernet board is used to control a power switch to turn on and turn off a light. This design is intended to show you how the NearBus Connector simplifies the way in which these kind of Internet-based projects can be implemented.
As showed in the picture the system consists of an Internet configurable clock that sends ON / OFF messages through Twitter to the NearBus connector. The NearBus connector forwards these messages to the Arduino Ethernet board (through Internet) who Turns On and Turns Off a power switch allowing in this way to control the light sequence form any place with a simple browser.
Required Components To implement this App Note you will need: - 1 Arduino Ethernet Board - 1 Power Relay (5Vdc coil - 110/220Vac 5Amp power side) - 1 transistor BC548C (or equivalent) - 1 Diode 1N4148 (or equivalent) - 1 Resistor ( 2 KOhm 1/4 W) - 1 Ethernet Internet connection (with a RJ45 cable) - Difficulty Level: Low-Medium
Step 1: Setup a New NearBus Account
To setup a new account in the NearBus Connector, please follow the steps 1 to 6 in the Hello World example www.nearbus.net/hello_world.html. The Step 6 allows you to test the system without connecting the power circuit :)