Project showcase
World Mood Lamp

World Mood Lamp © GPL3+

A lamp which changes color according to the tweets of people.

  • 15,792 views
  • 10 comments
  • 55 respects

Components and supplies

Apps and online services

About this project

I always thought that a lamp would look very cool on my desk but it would be way cooler if it changed color. This project represents a lamp which changes color according to the tweets of the world. This project consists of an Arduino Uno, some RGB LEDs, Blynk app and IFTTT maker channel. You don't even need to write code for this application :D.

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, Twitter and many more. IFTTT is an abbreviation of "If This Then That".

User can use the maker channel to connect there hardware with other services and trigger them according to the recipes. One such is using the twitter API to extract tweets according to the trigger words and using it to trigger future actions.

For example we can make a recipe on IFTTT that would search for a trigger word like "sad" and if it finds one then it makes a web request to connect to the Blynk cloud and triggers the action. 


Code

Mood LampArduino
#define BLYNK_PRINT Serial
#include <SPI.h>
#include <Ethernet.h>
#include <BlynkSimpleEthernet.h>
#include <SimpleTimer.h>

// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "";


void setup() {
  // put your setup code here, to run once:
   Serial.begin(9600);
  Blynk.begin(auth); 
    while (Blynk.connect() == false) {
    // Wait until connected
  }
pinMode(3,OUTPUT);
pinMode(4,OUTPUT);
pinMode(5,OUTPUT);
}

void loop() {
  // put your main code here, to run repeatedly:

}

Schematics

Mood Lamp
Led

Comments

Similar projects you might like

Lights On/Off using Twitter

Project showcase by Kaustubh Agarwal

  • 4,257 views
  • 0 comments
  • 15 respects

Control Lights with your Phone from Anywhere in the World!

Project showcase by Kaustubh Agarwal

  • 15,870 views
  • 4 comments
  • 39 respects

Laura: Emotional Compass Lamp

Project showcase by Tittiamo

  • 6,909 views
  • 2 comments
  • 23 respects

Remote Controlled Smart Lamp

Project tutorial by Team gadget programmers

  • 4,900 views
  • 2 comments
  • 16 respects

Smart Doorbell

Project showcase by Kaustubh Agarwal

  • 50,792 views
  • 20 comments
  • 108 respects

Wifi Death Lamp

Project showcase by Jhn S

  • 29,029 views
  • 3 comments
  • 82 respects
Add projectSign up / Login