Project showcase

Lights On/Off using Twitter © GPL3+

Control your Home Lights using the Twitter platform.

  • 4,202 views
  • 0 comments
  • 15 respects

Components and supplies

A000066 iso both
Arduino UNO & Genuino UNO
×1
Ethernet Shield W5100
×1
Relay module
×1
11026 02
Jumper wires (generic)
×1
Adafruit industries ada62 image 75px
USB-A to B Cable
×1
LAN cable
×1

Apps and online services

About this project

Our life is getting more and more affected by what's happening around us. With the social media literally throwing toms of data at our faces, it's time i decided to use it to make my life easier. 

We all Know about twitter- the website that keeps us glued for hours. What if we can use it to actually make our life easier? I have always been a lazy boy and always try to find short cuts. I made a system that would help Switch my bedroom lights with twitter.

I have used the services of IFTTT to link our device to Twitter. IFTTT is a free web-based service that allows users to create chains of simple conditional statements, called "recipes", which are triggered based on changes to other web services such as Gmail, Facebook, Instagram, and Pinterest.

IFTTT is an abbreviation of "If This Then That”. With the use of a maker channel and twitter channel, we connected our lamp to the twitter API. The Maker Channel allows you to connect IFTTT to your personal DIY projects. With Maker, you can connect a Recipe to any device or service that can make or receive a web request. We have made some recipes on IFTTT with a trigger word to use  when scanning twitter. So whenever a person tweets the mood lamp changes its color accordingly. Figure  shows the process in a simpler way that if Twitter is triggered then react to the maker channel.

Code

Twitter LightArduino
#define BLYNK_PRINT Serial    
#include <SPI.h>
#include <Ethernet.h>   // Including Ethernet Library
#include <BlynkSimpleEthernet.h> // Including Blynk Ethernet Library
#include <SimpleTimer.h> // Including Timer Library

char auth[] = "";  // This the unique blynk code of our application
SimpleTimer timer;
void setup()
{
  Serial.begin(9600); // Start Serial Communication
  Blynk.begin(auth);  // Start connecting to the Blynk Server
  pinMode(3,OUTPUT);  // Setting Digital Pin 3 To OUTPUT to be connected to light
}

void loop()
{
  Blynk.run(); // Run the Application 
    timer.run(); // Starting the timer
}

Schematics

Twiiter LIght
Voice recognation bb

Comments

Similar projects you might like

Control Lights with your Phone from Anywhere in the World!

Project showcase by Kaustubh Agarwal

  • 15,047 views
  • 4 comments
  • 36 respects

World Mood Lamp

Project showcase by Kaustubh Agarwal

  • 14,077 views
  • 10 comments
  • 47 respects

Smart Doorbell

Project showcase by Kaustubh Agarwal

  • 50,796 views
  • 20 comments
  • 108 respects

Room temperature sensor with display on Mobile

Project showcase by Kaustubh Agarwal

  • 23,958 views
  • 8 comments
  • 54 respects

Arduino and AC Devices - Automatic Lights

Project tutorial by Ahmed Hamdy

  • 21,951 views
  • 7 comments
  • 51 respects

How to Configure NeoPixels Using Vixen Lights and Arduino

Project tutorial by Victor Aguilar

  • 13,219 views
  • 23 comments
  • 28 respects
Add projectSign up / Login