Adalight Reloaded: Super Elite Chuck Norris Edition!

Adalight Reloaded: Super Elite Chuck Norris Edition! pburgess writes –

Funny how that happens…I’d gone in just to test out a little change to the Adalight code, and ended up spending most of the weekend on a nearly complete rewrite with a double-helping of awesomesauce! This involves changes on both the Arduino and Processing sides, and as always you can download the latest from the Git repository:

https://github.com/adafruit/Adalight

(New visitors: if you’re just joining us, this is Adalight: http://ladyada.net/make/adalight/ )

So what’s new?

  • Support for multiple monitors. There have been occasional tweaks and suggestions posted to the forums on achieving this. Here’s the official implementation. Handles any number of displays, and each can be a different size/layout if needed.
  • Performance improvements. The exact speedup you’ll see depends on many factors, but a few systems we’ve tested show anywhere from 10 to 30 percent better frame rates.
  • More nuanced lighting control. LEDs “fade” from frame to frame, rather than an immediate, seizure-inducing flash. Also, a minimum background brightness can be set. Both are configurable, or can be switched off to run like the old code.
  • Auto timeout on LEDs. If the Arduino doesn’t receive any data from the PC in 15 seconds (configurable), the LEDs will be switched off. This avoids that annoying “stuck pixel” effect when quitting the Adalight sketch in certain situations.
  • Automatic port detection. Adalight can scan through all serial ports until it identifies an Arduino running the LEDstream code.Update: due to a conflict between Processing 1.5.1 and the 32u4 board, this doesn’t work in all settings, so it’s no longer the default mode. If you’re using a “classic” Arduino and/or Processing 2.0 alpha, this should work fine, you’ll just need to enable that code (very easy, see comments in source).
  • 100% gluten-free, and no trans-fats! No animals were harmed in the making of this software. Any time the cat wanted food or to go outside, I’d stop working and take care of it.

Load the “LEDstream” sketch in the Arduino IDE, compile and upload to your board. Then load the “Adalight” sketch in Processing and give it a try…and remember, you can always use the “Export Application” feature in Processing to create a standalone double-clickable program; no need to launch the Processing IDE every time you want to run Adalight.

The old LEDstream and Adalight are both cross-compatible with the newer versions, so reprogramming the Arduino isn’t absolutely 100% essential if you can’t get to it…they both still speak the same protocol. This is mostly for the LED timeout and auto-detection in the new code.


Adalight Lrg

Adalight – DIY Ambient Monitor Lighting Project Pack. Build your own ambient-light addition for a monitor or media PC television with the Adalight project pack! This project pack is for our “Adalight” project tutorial. By running the Processing code on your computer, the halo of LEDs will follow the screen colors to provide an awesome ambient light display that adds pop to TV shows, movies or games!

This pack contains:

You’ll also need an Arduino (or compatible) and a USB cable, those are not included! You will also need some basic soldering tools and some wire, see the tutorial page for instructions.


Adafruit publishes a wide range of writing and video content, including interviews and reporting on the maker market and the wider technology world. Our standards page is intended as a guide to best practices that Adafruit uses, as well as an outline of the ethical standards Adafruit aspires to. While Adafruit is not an independent journalistic institution, Adafruit strives to be a fair, informative, and positive voice within the community – check it out here: adafruit.com/editorialstandards

Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.

Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7:30pm ET! To join, head over to YouTube and check out the show’s live chat and our Discord!

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Join over 38,000+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

CircuitPython – The easiest way to program microcontrollers – CircuitPython.org


New Products – Adafruit Industries – Makers, hackers, artists, designers and engineers! — New Products 11/15/2024 Featuring Adafruit bq25185 USB / DC / Solar Charger with 3.3V Buck Board! (Video)

Python for Microcontrollers – Adafruit Daily — Python on Microcontrollers Newsletter: CircuitPython 9.2.1, What is DMA, PyConUS 2025 and More! #CircuitPython #Python #micropython @ThePSF @Raspberry_Pi

EYE on NPI – Adafruit Daily — EYE on NPI Maxim’s Himalaya uSLIC Step-Down Power Module #EyeOnNPI @maximintegrated @digikey

Adafruit IoT Monthly — Halloween, WiLo, and more!

Maker Business – Adafruit Daily — Checking in on Intel

Electronics – Adafruit Daily — Probe Compensation

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !



No Comments

No comments yet.

Sorry, the comment form is closed at this time.