All Projects → dmadison → Adalight Fastled

dmadison / Adalight Fastled

Licence: gpl-3.0
Adalight with FastLED support

Projects that are alternatives of or similar to Adalight Fastled

Webserial
Remote Serial monitor for ESP8266 & ESP32
Stars: ✭ 133 (-42.67%)
Mutual labels:  arduino, serial
Cordovarduino
Cordova/Phonegap plugin for USB host serial communication from an Android device.
Stars: ✭ 156 (-32.76%)
Mutual labels:  arduino, serial
Irremoteesp8266
Infrared remote library for ESP8266/ESP32: send and receive infrared signals with multiple protocols. Based on: https://github.com/shirriff/Arduino-IRremote/
Stars: ✭ 1,964 (+746.55%)
Mutual labels:  arduino, arduino-ide
Firebase Esp8266
ESP8266 Firebase RTDB Arduino Library
Stars: ✭ 228 (-1.72%)
Mutual labels:  stream, arduino
Packetserial
An Arduino Library that facilitates packet-based serial communication using COBS or SLIP encoding.
Stars: ✭ 177 (-23.71%)
Mutual labels:  arduino, serial
Arduino
C# .NET - Arduino library supporting simultaneous serial ASCII, Firmata and I2C communication
Stars: ✭ 130 (-43.97%)
Mutual labels:  arduino, serial
Sonoff wifi switch
Прошивка для ESP8266 (Умный дом)-Firmware for ESP8266 (Smart Home)
Stars: ✭ 156 (-32.76%)
Mutual labels:  arduino, ws2812b
Arduinoxinput
XInput library for USB capable Arduino boards
Stars: ✭ 126 (-45.69%)
Mutual labels:  arduino, arduino-ide
Johnny Five
JavaScript Robotics and IoT programming framework, developed at Bocoup.
Stars: ✭ 12,498 (+5287.07%)
Mutual labels:  arduino, serial
Diozero
Java Device I/O library that is portable across Single Board Computers. Tested with Raspberry Pi, Odroid C2, BeagleBone Black, Next Thing CHIP, Asus Tinker Board and Arduinos. Supports GPIO, I2C, SPI as well as Serial communication. Also known to work with Udoo Quad.
Stars: ✭ 167 (-28.02%)
Mutual labels:  arduino, serial
Web Bluetooth Terminal
Progressive Web Application for serial communication with your own Bluetooth Low Energy (Smart) devices
Stars: ✭ 130 (-43.97%)
Mutual labels:  arduino, serial
Esp32 Ble Mouse
Bluetooth LE Mouse library for the ESP32 (Arduino IDE compatible)
Stars: ✭ 180 (-22.41%)
Mutual labels:  arduino, arduino-ide
Opentracker
OpenTracker - open source GPS/GLONASS hardware
Stars: ✭ 129 (-44.4%)
Mutual labels:  arduino, arduino-ide
Vjoyserialfeeder
Feed Virtual Joystick driver with data from a serial port
Stars: ✭ 133 (-42.67%)
Mutual labels:  arduino, serial
Arduino Plotter
An Arduino library for easy graphing on host computer via serial communication
Stars: ✭ 129 (-44.4%)
Mutual labels:  arduino, serial
Reflowduino
Arduino-compatible wireless reflow oven controller ecosystem of open-source hardware
Stars: ✭ 154 (-33.62%)
Mutual labels:  arduino, arduino-ide
Attiny10ide
A Streamlined IDE for Coding and Programming the ATtiny10 and other ATTiny Devices
Stars: ✭ 124 (-46.55%)
Mutual labels:  arduino, arduino-ide
Arduino Ide
Arduino IDE
Stars: ✭ 125 (-46.12%)
Mutual labels:  arduino, arduino-ide
Garhage
a Home-Automation-friendly ESP8266-based MQTT Garage Door Controller
Stars: ✭ 163 (-29.74%)
Mutual labels:  arduino, arduino-ide
Arduino Applemidi Library
Send and receive MIDI messages over Ethernet (rtpMIDI or AppleMIDI)
Stars: ✭ 177 (-23.71%)
Mutual labels:  arduino, arduino-ide

Adalight-FastLED

Build Status

Adalight-Rainbow

Synopsis

This project modifies the Adalight protocol to use FastLED (fastled.io). This expands Adalight to, in theory, work with any supported FastLED strip including WS2812B (aka Adafruit NeoPixels).

In addition to ambilight setups, the protocol can be used to stream any color data over serial from a computer to supported LED strips.

For this sketch to work, you'll need to have a copy of the FastLED library. You can download FastLED from GitHub or through the libraries manager of the Arduino IDE. This program was writen using FastLED 3 - note that earlier versions of FastLED are untested and may not work properly.

For more information on my own ambilight setup, see the project page on PartsNotIncluded.com.

Basic Setup

Open the LEDstream_FastLED file in the Arduino IDE and customize the settings at the top for your setup. You will need to change:

  • Number of LEDs
  • LED data pin
  • LED type

If you are using a 4-wire LED chipset like APA102 or SK9822, you will need to uncomment the PIN_CLOCK line and set that as well.

Upload to your Arduino and use a corresponding PC application to stream color data. You can get the Processing files from the main Adalight repository, though I would recommend using Patrick Siegler's fork of Lightpacks's Prismatik, which you can find here.

Additional Settings

There are additional settings to allow for adjusting:

  • Max brightness
  • LED color order
  • Serial speed
  • Serial timeout length

There are also optional settings to clear the LEDs on reset or flush the incoming serial buffer after every latch. This latter option is enabled by default to help with flickering when using WS2812B LEDs.

Debug Settings

The code includes two debugging options:

  • DEBUG_LED
  • DEBUG_FPS

DEBUG_LED will turn on the Arduino's built-in LED on a successful header match, and off when the LEDs latch. If your LEDs aren't working, this will help confirm that the Arduino is receiving properly formatted serial data.

DEBUG_FPS, similarly, will toggle a given pin when the LEDs latch. This is useful for measuring framerate with external hardware, like a logic analyzer.

To enable either of these settings, uncomment their respective #define lines.

Issues and LED-types

I've only tested the code with the WS2812B strips I have on hand, but so far it performs flawlessly. If you find an issue with the code or can confirm that it works with another chipset, please let me know!

Credits and Contributions

Thanks to Adafruit for the initial code and for developing the Adalight protocol. The base for the original FastLED modifications is this gist by James Bruce. Thanks James!

Pull requests to improve this software are always welcome!

License

Adalight is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Adalight is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with Adalight. If not, see http://www.gnu.org/licenses/.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].