Git Product home page Git Product logo

arduinolifx's Introduction

Arduino LIFX bulb

LIFX bulb emulator by Kayne Richens ([email protected])

Emulates a LIFX bulb. Connect an RGB LED (or LED strip via drivers) to redPin, greenPin and bluePin as you normally would on an ethernet-ready Arduino and control it from the LIFX app!

Notes

  • As of Android LIFX app v1.70, you CAN control an Arduino bulb and real LIFX bulbs at the same time with the Android LIFX app. Untested with the iOS LIFX app.
  • Only one client (e.g. app) can connect to the bulb at once

Setup

  • Connect an RGB LED to PWM pins on your ethernet-ready arduino
  • Set the following variables in arduinolifx.ino to suit your Arduino and network environment:
  • mac (unique mac address for your arduino)
  • redPin (PWM pin for RED)
  • greenPin (PWM pin for GREEN)
  • bluePin (PWM pin for BLUE)
  • Connect the arduino to power and network
  • Upload the code to the arduino
  • The LED should light up (warm white) once the arduino gets a DHCP lease from your network
  • Start up the LIFX app - you should see a bulb named "Arduino bulb"
  • Control your arduino bulb from the LIFX app!

Made possible by the work of magicmonkey: https://github.com/magicmonkey/lifxjs/ - you can use this to control your arduino bulb as well as real LIFX bulbs at the same time!

And also the RGBMood library by Harold Waterkeyn, which was modified slightly to support powering down the LED

arduinolifx's People

Contributors

kayno avatar

Watchers

Kalo Pilato avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.