Custom Circuit Makes For Better Battery Level Display

Isn’t it always the way? There’s a circuit right out of the textbooks, or even a chip designed to do exactly what you want — almost exactly. It’s 80% perfect for your application, and rather than accept that 20%, you decide to start from scratch and design your own solution.

That’s the position [Great Scott!] found himself in with this custom LED battery level indicator. As the video below unfolds we learn that he didn’t start exactly from scratch, though. His first pass was the entirely sensible use of the LM3914 10-LED bar graph driver chip, a device that’s been running VU meters and the like for the better part of four decades. With an internal ladder of comparators and 1-kilohm resistors, the chip lights up the 10 LEDs according to an input voltage relative to an upper and lower limit set by external resistors. Unfortunately, the fixed internal resistors make that a linear scale, which does not match the discharge curve of the battery pack he’s monitoring. So, taking design elements from the LM3914 datasheet, [Great Scott!] rolled his own six-LED display from LM324 quad-op amps. Rather than a fixed resistance for each stage, trimmers let him tweak the curve to match the battery, and now he knows the remaining battery life with greater confidence.

Perhaps the 18650 battery pack [Great Scott!] is building is for the e-bike he has been working on lately. If it is, we’re glad to see that he spot-welded the terminals, unlike a recent e-bike battery pack build that may have some problems down the road.

Continue reading “Custom Circuit Makes For Better Battery Level Display”

LEDs Make An “Analog” Wristwatch

If you just came down in the last shower, you’re probably used to living in a world where LEDs are cheap, awesome, and practically everywhere. Spare a thought for those of us who lived before the invention of high brightness LEDs – these things still amaze us! A great example of how far we’ve come is this “analog” watch build by [Kevin], featuring no less than 73 of the critters.

The microcontroller running the watch is an STM32, chosen for its easy programmability. It’s running the LEDs in an emulation of the dial of an analog clock, hence the high part count. Naturally, it’s no simple task to cram 73 LEDs and all the necessary connections into the confines of a watch-sized PCB. [Kevin] goes into great detail about the challenges involved, from routing the traces to a tricky power draw problem caused by some odd blue LEDs.

Watch builds are always fun, and they make great conversation pieces for when you want to amaze strangers with your tales of battles fought in the PCB design suite. Now check out this similar build with an entirely different style. 

 

Wireless SMD microscope ring light

Wireless Ring Light For SMD Microscope

When [Felix Rusu], maker of the popular Moteino boards which started life as wireless Arduino compatibles, says he’s made a wireless ring light for his SMD microscope, we redirect our keystrokes to have a look. Of course, it’s a bit of wordplay on his part. What he’s done is made a new ring light which uses a battery instead of having annoying wires go to a wall wart. That’s important for someone who spends so much time hunched over the microscope. Oh, and he’s built the ring light on a rather nice looking SMD board.

The board offers a few power configurations. Normally he powers it from a 1650 mAh LiPo battery attached to the rear of his microscope. The battery can be charged using USB or through a DC jack for which there’s a place on the board, though he hasn’t soldered one on yet. In a pinch, he can instead power the light from the USB or the DC jack, but so far he’s getting over 6 hours on a single charge, good enough for an SMD session.

The video below shows his SMD board manufacturing process, from drawing up the board in Eagle, laser cutting holes for a stencil, pasting, populating the board, and doing the reflow, along with all sorts of tips along the way. Check it out, it makes for enjoyable viewing.

Here’s another microscope ring light with selectable lighting patterns for getting rid of those pesky shadows. What features would make your SMD sessions go a little easier?

Continue reading “Wireless Ring Light For SMD Microscope”

After The Sun Set On San Mateo, LED Takes Over Hackaday’s BAMF Meetup

After this Spring’s Bay Area Maker Faire closed down for Saturday night and kicked everybody out, the fun moved on to O’Neill’s Irish Pub where Hackaday and Tindie held our fifth annual meetup for fellow Maker Faire attendees. How do we find like-minded hackers in a crowded bar? It’s easy: look for tables lit by LEDs and say hello. It was impossible to see everything people had brought, but here are a few interesting samples.

Continue reading “After The Sun Set On San Mateo, LED Takes Over Hackaday’s BAMF Meetup”

An Artsy And Functional LED Filament Lamp

Some projects end up being more objet d’art than objet d’utile, and we’re fine with that — hacks can be beautiful too. Some hacks manage both, though, like this study in silicon and gallium under glass that serves as a bright and beautiful desk lamp.

There’s no accounting for taste, of course, but we really like the way [commanderkull]’s LED filament lamp turned out, and it’s obvious that a fair amount of work went into it. Five COB filament strips were suspended from a lacy frame made of wire, which also supports the custom boost converter needed to raise the 12-volt input to the 60 volts needed by the filaments. The boost converter is based on the venerable 555 timer chip, which sits in the middle of the frame suspended by its splayed-out legs and support components. The wooden base sports a few big electrolytics and some hand-wound toroidal inductors, as well as the pot for adjusting the lamp’s brightness. The whole thing sits under a glass bell jar, which catches the light from the filaments and plays with it in a most appealing way.

There’s just something about that dead bug building technique that we love. We’ve seen it before — this potentially dangerous single-tube Nixie clock comes to mind — but we’d love to see it done more.

[via r/electronics]

A YouTube Subscriber Counter With A Tetris Twist

When it comes to YouTube subscriber counters, there’s not much wiggle room for creativity. Sure, you can go with Nixies or even more exotic displays, but in the end a counter is just a bunch of numbers.

But [Brian Lough] found a way to jazz things up with this Tetris-playing YouTube sub counter. For those of you not familiar with [Brian]’s channel, it’s really worth a watch. He tends toward long live-stream videos where he works on one project for a marathon session, and there’s a lot to learn from peeking over his virtual shoulder. This project stems from an earlier video, posted after the break, which itself was a condensation of several sessions hacking with the RGB matrix that would form the display for this project. He’s become enamored of the cheap and readily-available 64×32 pixel RGB displays, and borrowing an idea from Mc Lighting author [toblum], he decided that digits being assembled from falling Tetris blocks would be a nice twist. [Brian] had to port the Tetris-ifying code to Arduino before getting the ESP8266 to do the work of getting the subs and updating the display. We think the display looks great, and the fact that the library is open and available means that you too can add Tetris animations to your projects.

None of this is to say that more traditional sub counters can’t be cool too. From a minimalist display to keeping track of all your social media, good designs are everywhere. And adding a solid copper play button is a nice touch too.

Continue reading “A YouTube Subscriber Counter With A Tetris Twist”

Buttery Smooth Fades With The Power Of HSV

In firmware-land we usually refer to colors using RGB. This is intuitively pleasing with a little background on color theory and an understanding of how multicolor LEDs work. Most of the colorful LEDs we are use not actually a single diode. They are red, green, and blue diodes shoved together in tight quarters. (Though interestingly very high end LEDs use even more colors than that, but that’s a topic for another article.) When all three light up at once the emitted light munges together into a single color which your brain perceives. Appropriately the schematic symbol for an RGB LED without an onboard controller typically depicts three discrete LEDs all together. So it’s clear why representing an RGB LED in code as three individual values {R, G, B} makes sense. But binding our representation of color in firmware to the physical system we accidentally limit ourselves.

The inside of an RGB LED

Last time we talked about color spaces, we learned about different ways to represent color spatially. The key insight was that these models called color spaces could be used to represent the same colors using different groups of values. And in fact that the grouped values themselves could be used to describe multidimensional spacial coordinates. But that post was missing the punchline. “So what if you can represent colors in a cylinder!” I hear you cry. “Why do I care?” Well, it turns out that using colorspace can make some common firmware tasks easier. Follow on to learn how!

Continue reading “Buttery Smooth Fades With The Power Of HSV”