This is a quick post so please consider it a work in progress. I’ve purchased some Limitless RGB LED globes and a wireless controller for them. The wireless controller, you can send it small UDP packets to make the paired globes change. By referencing their API, it’s pretty easy to write your own programs.
In this example I used an Arduino with a network shield and a PIR sensor. The goal was to get the PIR sensor to detect someone in the room and turn a desk lamp on.
Part Specifics: PIR Sensor – HC-SR501 Motion Sensor Module, Network Shield – Ethernet Shield W5100, Arduino UNO, Limitless v2 wireless controller, 2 RGB Globes
This is the program written for the Arduino. DISCLAIMER: The code is pretty dirty with no comments. It also needs some refining and cleaning up: LimitlessLED_Arduino
What the program does: Turns the lamp on, cycle down the disco modes to reach white, turn off, wait for the sensor to detect movement, turn on the lamp, and keep checking to see if there is any further movement before turning off again after a few seconds.
In future revisions of the code I hope to implement other features; Maybe beat/noise detection, and custom color animations.