Exploring An Aftermarket LED Headlight Retrofit Kit

There’s plenty of debate about drop-in LED headlight bulbs, especially when they’re used with older reflector housings that were designed for halogen bulbs. Whether or not you personally feel the ultra-bright lights are a nuisance, or even dangerous, one thing we can all agree on is that they’re clearly the result of some impressive engineering.

Which is why we were fascinated to see the teardown [TechChick] did on a “Ultra 2 LED” retrofit from GTR Lighting. Apparently one of the diodes was failing, and as part of the warranty replacement process, she was informed she had to make it completely inoperable. Sounds like a teardown dream come true. If a manufacturer ever told us we needed to take something apart with extreme prejudice and provide photographic evidence that the deed was done, we’d be all too happy to oblige.

The driver itself ended up being completely filled with potting compound, so she doesn’t spend much time there. Some will no doubt be annoyed that [TechChick] didn’t break out the small pointy implements and dig all that compound out, but we all pretty much know what to expect when it comes to driving LEDs. The real interesting bit is the bulb itself.

As is common with these high-output automotive LEDs, the Ultra 2 is actively cooled with a small fan that’s actually enclosed within the heatsink. With the fan and the two-piece heatsink removed, she’s able to access the LED module itself. Here, two PCBs are sandwiched back to back with a hollow copper chamber that leads out of the rear of the module. When [TechChick] cut into the copper she said she heard a hiss, and assumed it was some kind of liquid cooling device. Specifically we think it’s a vapor chamber that’s being used to pull heat away from the diodes and into the heatsink at the rear of the module, which speaks to the advanced technology that makes these bulbs possible.

While laser headlights are arguably the future of automotive lighting, it’s going to be quite some time before they trickle down to those of us that don’t own supercars. Until then, when used responsibly, these LED retrofits can inject a bit of cutting-edge tech into your old beater without breaking the bank.

Continue reading “Exploring An Aftermarket LED Headlight Retrofit Kit”

Bringing The Quake Flicker To Life With A Hacked Light

If you ever feel a pang of shame because you’ve been reusing the same snippets of code in your projects for years, don’t. Even the big names do it, as evidenced by the fact that code written to govern flickering lights back in 1996 for Quake is still being used in AAA titles like 2020’s Half-Life: Alyx. In honor of this iconic example of digital buck-passing, [Rodrigo Feliciano] thought he’d port the code in question over to the Arduino and recreate the effect in real-life.

Since the Quake engine has been released under the GPLv2, it’s easy to pull up the relevant section of the code to see how the lighting was configured. Interestingly, lighting patterns were implemented as strings, where the letters from a to z referenced how bright the light should appear. So for example, a strobe light that goes between minimum and maximum brightness would be written as “aaaaaaaazzzzzzzz”, while a flickering light could be represented with the string nmonqnmomnmomomno“.

An emergency light provided the LEDs and enclosure.

This ended up being very easy to implement on the Arduino in just a few lines, as [Rodrigo] simply had to assign each letter in the string a numerical value between 0 and 255 using map, and then use the resulting number to set the LED brightness with analogWrite.

With the code written, [Rodrigo] then had to put the hardware together. He stripped down a basic emergency light to get an array of white LEDs and a handy enclosure. He also wired up a simple transistor circuit on a scrap of perfboard so the Arduino Pro Mini could control all the LEDs from a single GPIO pin. Combined with a long USB cable to power it, and he’s got a perfect desk accessory for late-night gaming sessions.

In the video below you can see the final result, which [Rodrigo] has even synced up to footage from the classic 1996 shooter. The light makes for an interesting conversation piece, but we think the logical next step is to work this technique into an ambilight-like system to really make it feel like you’re wandering down those dimly lit corridors.

Continue reading “Bringing The Quake Flicker To Life With A Hacked Light”

PCB Metro Maps Are A Gorgeous Labor Of Love

Is your love of public transportation matched only by your passion for designing custom PCBs? If so, then you’re going to love these phenomenal transit maps created by [Chai Jia Xun]. Using the painstakingly refined principles outlined in his detailed write-up, he’s created versions for Tokyo, Singapore, and the comparatively spartan San Francisco Bay Area. All you need to make one up for your home town is an incredible amount of patience and dedication. No problem, right?

As [Xun] explains, the first part of creating one of these maps isn’t unlike generating a normal PCB. Just make a footprint for the stations, consult with Google Maps as to where they should be placed on the board, and then connect them all up with traces to stand in for the rail lines. A little silkscreen work, and you’re done.

Well…unless you want them to light up, anyway. To pull that off, [Xun] created a second PCB that places an LED behind each station hole drilled in the previous board. With a microcontroller and shift register, he’s able to selectively illuminate individual lines and run through different patterns. To combat light bleeding through the PCB, a CNC-cut piece of 3 mm MDF sits between the two boards to make sure each LED is only visible through the respective hole in the top surface.

You could call the map finished here as well, assuming you don’t mind all the stations lighting up white. If you want them to be different colors, you’ll need to insert some colored diffusers. [Xun] went through several different approaches here, but in the end, the idea that seemed to work best was to simply print out all the colored dots on a piece of transparency paper and use a second sheet of tracing paper to soften the light. Alignment here is critical, but once everything is dialed in, the results are quite impressive.

It’s quite a bit of work, and we haven’t even mentioned the fact that [Xun] had to modify the circuit when it came time to do the Tokyo map, as some MOSFETs had to be added into the mix for the microcontroller to reliably control 350+ LEDs. So there’s certainly no shame in simply buying one of them when they go on sale instead of trying to recreate it from scratch. Assuming you live in one of the cities he’s offering, anyway. Otherwise, you might want to take a look at our HackadayU class on KiCad and get yourself a comfortable chair.

What’s Cooler Than A 7-Segment Display? A 7200-Segment Display!

If you look around your desk right now, odds are you’ll see a 7-segment display or two showing you some vital information like the time or today’s weather. But think of how much information you could see with over 1,100 digits, like with [Chris Combs’] 7200-segment display.

For [Chris], this project started the same way that many of our projects start; finding components that were too good of a deal to pass up on. For just “a song or two plus shipping”, he was the proud owner of two boxes of 18:88 7-segment displays, 500 modules in total. Rather than sitting and using up precious shelf space, [Chris] decided to turn them into something fancy he could hang on the wall.

the 7200 segment display grayscaling to show the time
The IS31FL3733 can produce 8 levels of dimming 8-bit PWM, allowing [Chris] to display in grayscale
The first challenge was trying to somehow get a signal to all of the individual segments. Solutions exist for running a handful of displays in one device, but there are certainly no off-the-shelf solutions for this many. Even the possible 16 addresses of the IS31FL3733 driver IC [Chris] chose for this project were not enough, so he had to get creative. Fearing potential capacitance issues with simply using an i2C multiplexer, he instead opted to run 3 different i2C busses off of a Raspberry Pi 4, to interface with all 48 controllers.

The second challenge was how to actually wire everything up. The finished display comes out to 26 inches across by 20.5 inches tall, much too large for a single PCB. Instead, [Chris] opted to design a series of self-contained panels, each with 6 of the display modules and an IS31FL3733 to drive them. While the multiplexing arrangement did leave space for more segments on each panel, he opted to go for this arrangement as it resulted in a nice, clean, 4:3 aspect ratio for the final display.

The end result was a unique and beautiful piece, which Chris titled “One-to-Many”. He uses it to display imagery and art related to the inevitability of automation, machines replacing humans, and other “nice heartwarming stuff like that”, as he puts it. There’a video after the break, but if you are interested in seeing the display for yourself, it will be on display at the VisArt’s Concourse Gallery in Rockville, MD from September 3 to October 17, 2021. More info on [Chris’s] website.

This isn’t [Chris’s] first adventure in using 7-segment displays in such a unique way, click here to read about the predecessor to this project that we covered last year.

Continue reading “What’s Cooler Than A 7-Segment Display? A 7200-Segment Display!”

Salvaging Working LEDs From “Dead” Light Bulbs

Sure the box said they would last for years or even decades, but anyone who’s picked up some bargain LED bulbs knows the reality is a bit more complicated. Sometimes a few LEDs in the array pop, reducing the overall light output. More commonly, the power supply starts to fail and the bulb begins to flicker or hum. In either event, you end up pulling the bulb and replacing it.

But [Bifferos] thinks we can do a bit better than that. Rather than just chalking it up to poor QA and tossing the bulb, why not do a little exploratory surgery to identify salvageable LEDs in an otherwise “dead” bulb? After pulling apart a couple of burned out bulbs (name brand and otherwise), he was able to pull out an impressive number of handy LED panels that could be easily repurposed. Naturally, with a little more coaxing, the individual SMD LEDs could be liberated and pushed into service as well.

Separate PCBs with banks of LEDs are ideal for reuse.

As you might expect, there are far too many different LED bulbs out there to create a comprehensive teardown guide, but [Bifferos] does provide some tricks to help get the bulb open without hurting yourself or destroying the thing in the process. Once inside, the design of the bulb will dictate what happens next. Bulbs with multiple arrays of LEDs on their own PCBs can be easily broken down, but if there’s just the single board, you may want to pull the LEDs off individually. To that end, the write-up demonstrates efficient methods of stripping the LEDs using either hot air or a pair of soldering irons.

We’ve talked previously about the rather underwhelming performance of modern LED bulbs compared to the manufacturer’s lofty claims. We’d rather see these bulbs designed well enough that they actually live up to their full potential, but the ability to salvage useful components from the failed luminaries at least softens the blow of having to toss them early. Though that’s not the only reason you should disassemble your LED bulbs before you put them in the trash.

Interactive LED Shoes That Anyone Can Build!

Normally when we see blinky projects these days, it’s using addressable LED strips with WS2812Bs, or similar alternatives. However, old-school blobby round LEDs are still on the market, and can still be put to great use. These DIY LED shoes from [TechnoChic] are an excellent example of just that.

The shoes use big 10mm LEDs that have color-changing smarts baked in. Simply power them up and they’ll fade between a series of colors. They’re run from a coin cell sewn on to the side of each shoe, with the LEDs jammed into the rear of the sole. A conductive product called Maker Tape is then used to create a circuit for the LEDs and the coin cell, along with a pressure switch inside each shoe. When the wearer puts weight on their heel, the switch conducts, lighting up the LEDs as the wearer takes each step.

This isn’t the first time we’ve seen a pair of shoes bedazzled with LEDs, but it’s arguably the easiest version of the concept to grace these pages. This is a quick way to create interactive flashing LED gadgets, and a great way for beginner makers to jazz up their projects.

Continue reading “Interactive LED Shoes That Anyone Can Build!”

Small sensor built into audio jack, held in tweezers

Measuring LED Flicker, With Phototransistor And Audio App

No one likes a flickering light source, but lighting is often dependent on the quality of a building’s main AC power. Light intensity has a close relation to the supply voltage, but bulb type plays a role as well. Incandescent and fluorescent bulbs do not instantly cease emitting the instant power is removed, allowing their output to “coast” somewhat to mask power supply inconsistencies, but LED bulbs can be a different story. LED light output has very little inertia to it, and the quality of both the main AC supply and the bulb’s AC rectifier and filtering will play a big role in the stability of an LED bulb’s output.

Mobile phone spectrum analyzer pointed at light source
The DIY photosensor takes the place of the microphone input.

[Tweepy] wanted to measure and quantify this effect, and found a way to do so with an NPN phototransistor, a resistor, and a 3.5 mm audio plug. The phototransistor and resistor take the place of a microphone plugged into the audio jack of an Android mobile phone, which is running an audio oscilloscope and spectrum analyzer app. The app is meant to work with an audio signal, but it works just as well with [Tweepy]’s DIY photosensor.

Results are simple to interpret; the smoother and fewer the peaks, the better. [Tweepy] did some testing with different lighting solutions and found that the best performer was, perhaps unsurprisingly, a lighting panel intended for photography. The worst performer was an ultra-cheap LED bulb. Not bad for a simple DIY sensor and an existing mobile phone app intended for audio.

Want a closer look at what goes into different LED bulbs and how they tick? We have you covered. Not all LED bulbs are the same, either. Some are stripped to the bone and others are stuffed with unexpected goodness.