Kaustubh Agarwal
Published © GPL3+

World Mood Lamp

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

IntermediateShowcase (no instructions)1 hour13,502
World Mood Lamp

Things used in this project

Hardware components

Arduino UNO & Genuino UNO
Arduino UNO & Genuino UNO
×1
Breadboard (generic)
Breadboard (generic)
×1
3 mm LED: Red
3 mm LED: Red
×1
3 mm LED: Green
3 mm LED: Green
×1
5 mm LED: Yellow
5 mm LED: Yellow
×1

Software apps and online services

Blynk
Blynk
Maker service
IFTTT Maker service

Story

Read more

Schematics

Mood Lamp

Led

Code

Mood Lamp

Arduino
#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:

}

Credits

Kaustubh Agarwal

Kaustubh Agarwal

14 projects • 141 followers
IOT Enthusiast

Comments