Negative Voltage Pushes AVR To New Heights

If we say that a hacker is somebody who looks at a “solved” problem and can still come up with multiple alternative solutions, then [Charles Ouweland] absolutely meets the grade. Not that we needed more evidence of his hacker cred given what we’ve seen from him before, but he recently wrote in to tell us about an interesting bit of problem solving which we think is a perfect example of the principle. He wanted to drive a salvaged seven segment LED display with an AVR microcontroller, but there was only one problem: the display needs 15V but the AVR is only capable of 5V. So what to do?

As it turns out, the first step to solving the problem was verifying there was actually a problem to begin with. [Charles] did some experimentation and found that the display didn’t actually need 15V to operate, and in fact would light up well enough at just 6.5V. This lowered the bar quite a bit, but it was still too high to power directly from the chip.

There were a few common ways to solve this problem, which no doubt the Hackaday reader is well aware of. But [Charles] wanted to take the path less traveled. More specifically, the path with the least amount of additional components he had to put on his PCB. He set out to find the absolute easiest way to make his 5V AVR light up a 6.5V LED, and ended up coming with a very clever solution that some may not even know is possible.

He reasoned that if he connected the source pins of two BS170 MOSFETs to a voltage of -1.5V, even when the AVR pin was 0V, they would be still be receiving 1.5V. This virtual “step ladder” meant that once the AVR’s pin goes high (5V), the relative voltage would actually be 6.5V and enough to drive his LEDs. Of course the only problem with that is that you need to have a source for -1.5V.

Getting a negative voltage would normally require adding more components to the design (which he set out to avoid in the first place), but then he came up with another clever idea. To pull the trick off, he actually feeds the AVR 6.5V, but raises the ground voltage by 1.5V with the addition of two 1N4007 diodes. This way the AVR gets a voltage within its capabilities and still can provide a relative 6.5V to the LEDs.

One might say [Charles] took the Kobayashi Maru approach, and simply redefined the rules of the game. But such is the power of the confounding negative voltage.

Solar Heart Engineered To Beat For Decades

It’s often said that if something is worth doing it’s worth doing right, or maybe even worth overdoing. This is clearly a concept that [ANTALIFE] takes very seriously, as made abundantly clear by projects like the solar powered “beating” heart he made as a gift for his wife. What for most of us would have ended up being a junk bin build becomes a considerable engineering project in his hands, with a level of research and fine tuning that’s frankly staggering.

But [ANTALIFE] didn’t put this much thought into the device just for fun. He wants it to remain functional for as long as 30 years, and hopes he and the missus can still look on it fondly in their retirement years. Keeping an electronic device up and running for decades straight means you need to look carefully at each component and try to steer clear of any potential pitfalls.

The biggest one was the battery. More specifically, the fact he couldn’t use one. The lifetime of most rechargeable batteries is measured in hundreds of cycles, which for a device which will be charged by solar every day, means the battery is going to start showing its age in only 4 to 5 years. That simply wasn’t going to cut it.

[ANTALIFE] did some digging and realized that the solution was to use a supercapacitor, specifically the AVX SCMS22C255PRBA0. This is little wonder is rated for a staggering half million cycles, which in theory means that even with daily use it should still take a charge in the year 3300. In practice of course there are a lot of variables which will reduce that lifetime such as temperature fluctuations and the Earth being conquered by apes; but no matter what caveats you put on the figure it should still make 30 years without breaking a sweat.

Similar thought was given to choosing a solar cell with a suitably long lifetime, and he did plenty of testing and experimentation with his charging circuit, including some very nice graphs showing efficiency over time, to make sure it was up to snuff. Finally he walks the reader though his light-sensitive ring oscillator circuit which gives the device its pleasing “breathing” effect once the lights go down.

We’d love to bring you an update on this device in 30 years to see how close [ANTALIFE] got, but as we’re still trying to work the kinks out of the mobile version of the site we can’t make any guarantees about what the direct-brain interface version of HaD might look like. In the meantime though, you can read up on the long term battle between supercapacitors and traditional batteries.

Continue reading “Solar Heart Engineered To Beat For Decades”

A Neat Pen POV Build

We’ve seen a lot of persistence of vision (POV) builds on bike wheels, sticks, and many other holders, but this one puts it on something new: a pen. [Befinitiv] was looking for a new way to add some smarts to everyday devices, and the result is a neat POV display that fits over a pen. At 128 by 64 pixels, it is not high definition, but this build uses a number of interesting techniques.

Continue reading “A Neat Pen POV Build”

A Guide For Driving LED Matrices

Building an LED matrix is a fun project, but it can be a bit of a pain. Usually it starts with hand-soldering individual LEDs and resistors together, then hooking them up to rows and columns so they can be driven by a microcontroller of some sort. That’s a lot of tedious work, but you can order an LED matrix pre-built to save some time and headache. You’ll still need a driver though, and while building one yourself can be rewarding there are many pitfalls and trade-offs to consider when undertaking that project as well. Or, you can consider one of a number of drivers that [deshipu] has outlined in detail.

The hangups surrounding the driver board generally revolve around the issue of getting constant brightness from LEDs regardless of how many in the row or column are illuminated at one time. Since they are typically driven one row or column at a time, the more that are on the lower the brightness each LED will have. Driver boards take different approaches to solving this problem, which usually involve a combination of high-speed scanning of the matrix or using a constant-current source in order to eliminate the need for resistors. [deshipu] outlines four popular chips that achieve these purposes, and he highlights their pros and cons to help anyone looking to build something like this.

Most of these boards will get you to an 8×8 LED matrix with no problem, with a few going a few pixels higher in either direction. That might be enough for most of our needs, but for something larger you’ll need other solutions like the one found in this 64×32 LED matrix clock. There are also even more complicated drivers if you go into extra dimensions.

Photo credit: Komatta [Public domain], from Wikimedia Commons

LED-ifying A Guitar, Part Two

An electric guitar is all about stage presence. Need to be cooler than a single guitar? No problem — there are double neck guitars. Need to be cooler than that? No problem, the guy from Cheap Trick has a five-neck guitar. Need to be cooler than that? Robbie Robertson played a guitar with an extra mandolin neck on The Last Waltz. Where do you go from there? Obviously, the solution is putting a TV in your guitar with a boatload of individually addressable LEDs in a guitar. That’s what [Englandsaurus] is doing, and the build thread is now getting into how to turn a bunch of LEDs into a display.

In the first installment of this build thread, [Englandsaurus] went over the construction of the guitar itself and how a hundred individually addressable RGB LEDs were installed inside two pieces of plexiglass. When the guitar is displaying white at full brightness, the power draw is 500 W. This, in itself, is remarkable; no sane person would ever plug a guitar into a 500 W amp, and even 100 Watts is just too damn loud. There’s more power going to the lights here than the amplifier, and that’s awesome.

Simply sticking LEDs in a guitar does not a build log make, so how are these pixels addressed? How do you make a display out of a bunch of LEDs? This is a hell of a problem, but with Artnet and Resolume Arena 6 these pixels can be mapped into a cartesian grid, and from there it’s just putting video on the guitar.

While the first installment of this build is great and shows you how far you can take electronics in a guitar, this installment is a great demo of turning a bunch of LEDs into a display, something that applies to more than just a gigantic glowey guitar.

Disco Ain’t Dead: Blinky Ball Makes You Solder Inside A Dome

Disco balls take a zillion mirrors glued to a sphere and shine a spotlight on them. But what if the ball itself was the light source? Here’s a modern version that uses addressable LEDs in a 3D-printed sphere that also hides the electronics inside the ball itself.

Check out the video below to see the fantastic results. It’s a Teensy 3.6 driving a whopping 130 WS2812 LEDs to make this happen. (Even though the sphere has the lowest surface area to volume ratio.) There’s even a microphone and an accelerometer to make the orb interactive. Hidden inside is a 4400 mAh battery pack that handles recharging and feeds 5 V to the project.

For us, it’s the fabrication that really makes this even more impressive. The sphere itself is 3D printed as four rings that combine to form a sphere. This makes perfect spacing for the LEDs a snap, but you’re going to spend some time soldering the voltage, ground, and data connections from pixel to pixel. In this case that’s greatly simplified because the LEDs were sourced from AliExpress already hosted on a little circle of PCB so you’re not trying to solder on the component itself. Still, that’s something like 390 wires requiring 780 solder joints!

We love seeing an LED ball you can hold in your hand. But if you do want something bigger, try this 540 LED sphere built from triangular PCBs.

Continue reading “Disco Ain’t Dead: Blinky Ball Makes You Solder Inside A Dome”

Beautiful Moving Origami Light Made From Scrap

Whenever [MakerMan] hits our tip line with one of his creations, we know it’s going to be something special. His projects are almost exclusively built using scrap and salvaged components, and really serve as a reminder of what’s possible if you’re willing to open your mind a bit. Whether done out of thrift or necessity, he proves the old adage that one man’s trash is often another’s treasure.

We’ve come to expect mainly practical builds from [MakerMan], so the beautiful ceiling light which he refers to as a “Kinetic Chandelier”, is something of a change of pace. The computer controlled light is able to fold itself up like an umbrella while delivering a pleasing diffuse LED glow. He tells us it’s a prototype he’s building on commission for a client, and we’re going to go out on a limb and say he’s going to have a very satisfied customer with this one.

Like all of his builds, the Kinetic Chandelier is almost entirely built out of repurposed components. The support rods are rusty and bent when he found them, but after cutting them down to size and hitting them with a coat of spray paint you’d never suspect they weren’t purpose-made. The light’s “hub” is cut out of a chunk of steel with an angle grinder, and uses bits of bike chain for a flexible linkage.

Perhaps most impressive is his DIY capstan which is used to raise and lower the center of the light. [MakerMan] turns down an aluminum pulley on a lathe to fit the beefy gear motor, and then pairs that with a few idler pulleys held in place with bits of rebar welded together. It looks like something out of Mad Max, but it gets the job done.

Finally, he salvages the LED panels out of a couple of cheap work lights and welds up some more rebar to mount them to the capstan at the appropriate angle. This gives the light an impressive internal glow without a clear source when viewed from below, and really gives it an otherworldly appearance.

This isn’t the first time we’ve seen a hacker put together their own chandelier, or even the first time we’ve seen it done with scrap parts. But what [MakerMan] has put together here may well be the most objectively attractive one we’ve seen so far.

Continue reading “Beautiful Moving Origami Light Made From Scrap”