PauliusPlus
Published © GPL3+

Multifunctional RGB LED Light

Create the perfect mood in your room, wake-up easily, light up your room as you enter or be alerted when someone enters your private space.

IntermediateProtip5 hours5,762
Multifunctional RGB LED Light

Things used in this project

Hardware components

Arduino UNO & Genuino UNO
Arduino UNO & Genuino UNO
×1
Arduino Ethernet shield
×1
RGB LED module
×1
RGB LED Controller
×1
PIR Motion Sensor (generic)
PIR Motion Sensor (generic)
×1

Software apps and online services

Arduino IDE
Arduino IDE
Cayenne
myDevices Cayenne

Story

Read more

Schematics

RGB LED light schematic

This circuit diagram show you how to connect the main components
K2q26cwqhy8ohdegsccx

Code

Cayenne code

C/C++
This sketch connects to the Cayenne server using an Arduino Ethernet Shield W5100
and runs the main communication loop.
//#define CAYENNE_DEBUG         // Uncomment to show debug messages
#define CAYENNE_PRINT Serial  // Comment this out to disable prints and save space
#include <CayenneEthernet.h>

// Cayenne authentication token. This should be obtained from the Cayenne Dashboard.
char token[] = "AuthenticationToken";

void setup()
{
	Serial.begin(9600);
	Cayenne.begin(token);
}

void loop()
{
	Cayenne.run();
}

Credits

PauliusPlus

PauliusPlus

2 projects • 9 followers
Automation Engineer

Comments