Image showing differences between WS2815 and WS2813 LED strips - the WS2815 strip lighting is more uniform throughout the strip's length.

Teaching You Everything You Might Have Missed About Addressable LEDs

Often, financial motivation results in people writing great educational material for hackers. Such is absolutely the case with this extensive documentation blog post on addressable LEDs by [DeRun]. This article could very be named “Addressable LEDs 101”, and it’s a must-scroll-through for anyone, whether you’re a seasoned hacker, or an artist with hardly any technical background and a desire to put LEDs in your creations.

This blog post is easy to read, painting a complete picture of what you can expect from different addressable LED types, and with apt illustrations to boot. Ever wonder which one of the addressable strips you should get from your retailer of choice, and what are the limitations of any specific type? Or, perhaps, you’d like to know – why is it that a strip with a certain LED controller is suspiciously cheap or expensive? You’re more than welcome to, at least, scroll through and fill into any of your addressable LED knowledge gaps, whether it’s voltage drops, color accuracy differences, data transfer protocol basics or dead LED failsafes.

Addressable LEDs have a special place in our hearts, it’s as if the sun started shining brighter after we’ve discovered them… or, perhaps, it’s all the LEDs we are now able to use. WS2812 is a staple of the addressable LED world, which is why we see them even be targets of both clone manufacturers and patent trolls. However, just like the blog post we highlight today mentions, there’s plenty of other options. Either way do keep coming cover a new addressable LED-related hack, like rewriting their drivers to optimize them, or adding 3.3V compatibility with just a diode.

We thank [Helge] for sharing this with us!

Levitating With Light

The University of Pennsylvania has a team that did a little light research. Well, not light in the usual sense of that phrase. They used very strong light to levitate Mylar disks in a vacuum chamber.

Of course, it is no secret that light can exert pressure. That’s how solar sails work and some scientists have used it to work with aerosols and the like. But this appears to be the first time light lifted a large item against gravity. The team claims that their tests showed that a sunlight-powered flying vehicle might carry up to ten milligrams of payload. That doesn’t sound like much, but it’s impressive and the paper mentions that since the lift is not from aerodynamic forces, there might be applications in flying at very high altitudes.

The Mylar disks were 500 nanometers thick and had a 300 nanometer layer of carbon nanotubes beneath. The nanotubes absorb light, make the disks more rigid, and improve the Mylar’s surface-gas characteristics. The light source had a strong center beam and an even stronger ring around the center beam that causes the disk to remain over the center beam. The LED system used eight arrays, each consuming 100 watts of input power.

Preparing the disk might be difficult, but the LED power isn’t that hard. Even if you do like the researchers did and use water cooling.

A Ball Lens For Optical Fiber Coupling On The Cheap

It’s fair to say that for most of us, using a fiber optic cable for digital audio or maybe networking will involve the use of an off-the-shelf termination. We snap the cable into the receptacle, and off we go. We know that inside there will be an LED and some lenses, but that’s it. [TedYapo] though has gone a little further into the realm of fibers, by building his own termination. Faced with the relatively high cost of the ball lenses used to focus light from an LED into the end of the fiber he started looking outside the box. He discovered that spherical glass anti-bumping balls used when boiling fluids in laboratories make an acceptable and much cheaper alternative.

A ball lens has an extremely short focal length, meaning that this same property which allowed Antonie van Leeuwenhoek to use them in his microscopes is ideal for LED focusing in a small space at the end of a fiber. Chromatic aberrations are of no consequence for light of a single wavelength. It seems that the glass balls are uniformly spherical enough to do the job. Fitted with the LED and fiber termination in a 3D-printed block, the relative position of the ball can be controlled for optimum light transfer. It’s a relatively simple hack mentioned in passing in a Twitter thread, but we like it because of its cheapness and also for an insight into the world of optical fiber termination.

Curious to know more about optical fibers? We covered just the video for you back in 2011.

Weird Phosphor Conversion LEDs Found In Cheap LED String

[Tim] recently found himself tinkering with a cheap string of LEDs. Far from an advanced, IC-controlled addressable set, these were merely a string with LEDs of four colors that could be switched on and off. However, digging in to the LEDs themselves turned up a curious find.

The LEDs were set up in a parallel/anti-parallel fashion. The two power lines ran the length of the string, with all the LEDs installed across them. If polarity was applied in one direction, the red and yellow LEDs would light up, in the other, the blue and green LEDs would light together.

This raised a question for [Tim], as typically, different LEDs light up at different forward voltages and this can cause issues when running different color LEDs in parallel together. What he instead found was that all the LEDs were actually blue LEDs in their fundamental construction. However, the red, yellow, and green LEDs had all been given a phosphor coating. In these devices, when the blue LED underneath lit up, the phosphor converted the light into the desired color. [Tim] was able to confirm this behaviour by illuminating the phosphor manually using an external UV-A LED.

It’s an interesting choice, but it’s certainly one way of making a multicolored string of LEDs. If you wanna get fancier though, consider studying this tutorial on working with addressable LED strings!

[Thanks to J Peterson for the tip!]

Backpack Board For OLEDs Boasts Fancy Features

Back when LCD character displays based on the HD44780 controller were the bee’s knees, a way to make them easier to work with came in the form of “backpack” PCBs, which provided an accessible serial interface and superior display handling at the same time. [Barbouri] has updated that idea with a backpack board that mounts to OLED displays using the US2066 display driver, and provides an I2C interface with powerful and convenient high-level functions that make the display simple to use.

On the software side, the backpack uses this I2cCharDisplay driver project which provides functions like cursor control, fading, display shifting, and of course writing characters or strings. While [Barbouri] designed the board specifically to accommodate Newhaven Slim Character OLED displays, it should in theory work with any US2066-based OLED character display. [Barbouri]’s design files for the Slim-OLED Display backpack board are available for download directly from the project page (link is near the bottom), or boards can be purchased directly from OSH Park.

OLED technology is nifty as heck; we’ve seen some neat tricks done by stacking transparent OLED displays, and even seen OLEDs made in the home lab.

This ESP32 Pico Wristwatch Has Plenty Of Potential

First hand-built prototype. Nurse! isopropyl alcohol, stat!

Prolific hacker [Sulfuroid] is a medical doctor by day, and an electronics hobbyist by night, and quite how he finds the time, we have no idea.

The project we want to highlight is an ESP32 based LED smart watch, which we’ll sure you’ll agree, looks pretty nicely developed so far, and [Sulfuroid] has bigger plans, as you may find, when you dig into the GitHub repo. This analog-style design uses four groups of 0603-sized LEDs, arranged circularly to indicate the passage of time, or anything else you fancy. Since there are four control buttons, a pancake vibration motor, as well as Wi-Fi and Bluetooth, the possibilities are endless.

In order to stand a hope of driving those 192 LEDs from a single ESP32-Pico-D4, it was necessary to use a multiplexed LED driver, courtesy of the Lumissil IS31FL3733 device, which can handle arrays up to 12 x 16 devices. This chip is one to remember, since it has some really nice features, such as global current control to reduce CPU overhead, automatic breathing loops for those fancy fade effects, and even includes a handy open/short detection function, so it can report back assembly problems, assisting in reworking your dodgy soldering!

Routing circular arrays is such a pain.

Power and interfacing are taken care of via USB-C, with a TP4054 single Li-Ion cell charger chip handling the battery. This is a Taiwanese clone of the popular LTC4054, but that chip may be a bit hard to get at the moment. There is the common-as-muck CP2104 USB chip dealing with the emulated serial port side of things, since for some reason, the ESP32 still does not support USB. The Pico-D4 does have RTC support, but [Sulfuroid] decided to use a DS3231M RTC chip instead. We noticed the touch functionality wasn’t broken out – that could be added easily in the next revision!

We’ve covered watches a lot, because who doesn’t want custom geek-wear! Here’s a slick one, a fun one with the brains on display, and finally one using charlieplexing to get the component count down.

 

Tutorial Teaches You To Use Neopixels With Micropython

Addressable LEDs are wonderful things, with products like Neopixels making it easy to create all kinds of vibrant, blinking glowables. However, for those without a lot of electronics experience, using these devices can seem a bit daunting. [Bhavesh Kakwani] is here to help, with his tutorial on getting started with Neopixels using the MicroPython environment. 

The tutorial flows on from [Bhavesh’s] Blink example for MicroPython, and is aimed at beginners who are learning for the first time. It explains the theory behind RGB color mixing that allows one to generate all manner of colors with WS2812B-based LED strings, and how to code for the Raspberry Pi Pico to make these LEDs do one’s bidding.

The guide even covers the use of the Wokwi simulation tool. This is a great way for beginners to test their projects before having to play with actual hardware. This is useful for beginners, because it’s a great way to catch mistakes – is there a software problem, or did they push the soldering iron through the microcontroller? It’s also a technique that pays dividends when working on more complicated projects.

Whether you’re entirely new to the embedded world, or just want to learn the intricacies of talking to addressable LEDs and make sense of color mixing theory, this tutorial will serve you well. Before you know it, you’ll be building glowing projects with the best of them!