The BAPPR Keeps Your Addressable LED System Cool

We all love a nice strip or grid of addressable LEDs. It can add flair or an artistic touch to many projects, and it can make gaming computers look extra 1337. However, providing enough current to a long strip of addressable LEDs can sometimes be difficult. Often a separate voltage rail is needed to supply enough juice. At the same time, continually sending out data to animate them can often use 100% of the microcontroller’s CPU power, especially if the serial bus is being bit-banged. A crash or badly timed interrupt can leave the system in a weird state and sometimes with the LEDs not displaying the correct colours. Or you might just want to enter a power-saving mode from time to time on your main MCU? Well, the BAPPR is designed to address all of these problems.

[TheMariday] created the BAPPR and made it fully open-source. It’s a switch-mode power supply that can accept anywhere from 7 V to 17 V and converts it into a strong 5 V rail for typical addressable LEDs. It also has a “smart” mode where it monitors the data line going to the LEDs to see if there is activity. If for some reason the system stops sending data, the BAPPR can intervene and shut off the power to the LEDs, which can help prevent strange colour combinations from being displayed while the system recovers. Once data starts flowing again, power is restored and the light party can resume.

Continue reading “The BAPPR Keeps Your Addressable LED System Cool”

Cheap Power Supplies With Fake Chips Might Not Be That Bad

We all know the old maxim: if it’s too good to be true, it’s probably made with fake components. OK, maybe that’s not exactly how it goes, but in our world gone a little crazy, there’s good reason to be skeptical of pretty much everything you buy. And when you pay the equivalent of less than a buck for a DC-DC converter, you get what you pay for.

Or do you? It’s not so clear after watching [Denki Otaku]’s video on a bargain bag of buck converters he got from Amazon — ¥1,290 for a lot of ten, or $0.85 a piece. The thing that got [Denki]’s Spidey senses tingling is the chip around which these boards were built: the LM2596. These aren’t especially cheap chips; Mouser lists them for about $5.00 each in a reel of 500.

Initial testing showed the converters, which are rated at 3 to 42 VDC in and 1.25 to 35 VDC out, actually seem to do a decent job. At least with output voltage, which stays at the set point over a wide range of input voltages. The ripple voltage, though, is an astonishing 400 mV — almost 10% of the desired 5.0 V output. What’s more, the ripple frequency is 18 kHz, which is far below the 150 kHz oscillator that’s supposed to be in the LM2596. Other modules from the batch tested at 53 kHz ripple, so better, but still not good. There were more telltales of chip fakery, such as dodgy-looking lettering on the package, incorrect lead forming, and finger-scorching heat under the rated 3 A maximum load. Counterfeit? Almost definitely. Useless? Surprisingly, probably not. Depending on your application, these might do the job just fine, especially if you slap a bigger cap on the output to smooth that ripple and keep the draw low. And keep your fingers away, of course.

Worried that your chips are counterfeits? Here’s a field guide for fake chip spotters. And what do you do if you get something fake? A refund might just be possible.

Continue reading “Cheap Power Supplies With Fake Chips Might Not Be That Bad”

Buck Converter Takes 8V To 100V

For those living before the invention of the transistor, the modern world must appear almost magical. Computers are everywhere now and are much more reliable, but there are other less obvious changes as well. Someone from that time would have needed a huge clunky machine like a motor-generator set to convert DC voltages, but we can do it with ease using a few integrated circuits. This one can take a huge range of input voltages to output a constant 5V.

The buck converter was designed by [hesam.moshiri] using a MP9486 chip. While it is possible to use a multipurpose microcontroller like something from Atmel to perform the switching operation needed for DC-DC converters, using a purpose-built chip saves a lot of headache. The circuit was modified a little bit to support the higher input voltage ranges and improve its stability and reliability. The board is assembled in an incredibly tiny package with inputs and outputs readily accessible, so it would be fairly simple to add one into a project rather than designing it from scratch.

Even though buck converters, and other DC converters like boost and the mysterious buck-boost converter, seem like magic even to us, there is some interesting electrical theory going on if you’re willing to dive into the inner workings of high-frequency switching. Take a look at this explanation we featured a while back to see more about how buck converters, the more easily understood among them, work.

Minimizing Stress On A Coin Cell Battery

When it comes to powering tiny devices for a long time, coin cell batteries are the battery of choice for things like keyfobs, watches, and even some IoT devices. They’re inexpensive and compact and a great choice for very small electricity needs. Their major downside is that they have a relatively high internal resistance, meaning they can’t supply a lot of current for very long without decreasing the lifespan of the battery. This new integrated circuit uses a special DC-DC converter to get over that hurdle and extend the life of a coin cell significantly.

A typical DC-DC converter uses a rapidly switching transistor to regulate the energy flow through an inductor and capacitor, effectively stepping up or stepping down the voltage. Rather than relying on a single converter, this circuit uses a two-stage system. The first is a boost converter to step the voltage from the coin cell up to as much as 11 volts to charge a storage capacitor. The second is a buck converter which steps that voltage down when there is a high current demand. This causes less overall voltage drop on the battery meaning less stress for it and a longer operating life in the device.

There are a few other features of this circuit as well, including an optimizer which watches the behavior of the circuit and learns about the power demands being placed on it. That way, the storage capacitor is only charged up to its maximum capacity if the optimizer determines that much charge is needed. With all of these features a coin cell could last around seven times as long as one using more traditional circuitry. If you really need to get every last bit of energy from a battery, though, you can always use a joule thief.

Op Amp Challenge: An Op-Amp Buck Regulator

Switching regulators have delivered such convenience and efficiency compared to their linear siblings, that it’s now becoming rare to see an old-style three-terminal regulator. Modern designs have integrated to such an extent that for many of us the inner workings remain something of a mystery. It’s still possible to make switching regulators from first principles though, which is what [Aaron Lager] has done by designing a buck regulator from a quad op-amp IC,

It’s an entry in our Op Amp Challenge and it appears to be a work in progress, but the design is solid enough. We’re no fans of the schematic style of representing an op-amp chip as a rectangle rather than individual op-amps, but it’s simply a PWM generator with a final op-amp used as a driver for the usual diode-inductor-capacitor network. We’re guessing that the op-amp driver won’t make this the most powerful of switchers, but in this case that’s hardly the point. Build this if you’re interested in taking an op-amp out of its normal sphere, or if you’re interested in the workings of a buck converter.

Need more in the way of switching regulators from first principles? We’ve got you covered, with the ultimate regulator kit of parts, the Fairchild UA723.

Quick And (Not Very) Dirty Negative Voltage Supply

There comes a time in every hardware hacker’s career during which they first realize they need a negative voltage rail in their project. There also comes a time, usually ~10ms after realizing this, when they reach for the Art of Electronics to try and figure out how the heck to actually introduce subzero voltages into their design. As it turns out, there are a ton of ways to get the job done, from expensive power supplies to fancy regulators you can design, but if you’re lazy (like I am) you might just want a simple, nearly drop-in solution.

[Filip Piorski] has got you covered there. In a recent video, he demonstrates how to turn a “China Special” $1 buck converter from Ebay into a boost-buck converter, capable of acting as a negative voltage supply. He realized that by swapping around the inputs and outputs of the regulator you can essentially invert the potential produced. There are a few caveats, of course, including high start-up current and limited max. voltages, but he manages to circumvent some of them with a little clever rewiring and a bit of bodge work.

Of course, if you have strict power supply requirements you probably want to shell out the cash for a professionally-built one, or design one yourself that meets your exact needs. For the majority of us, a quick and easy solution like this will get the job done and allow us to focus on other aspects of the design without having to spend too much time worrying about the power supply. Of course, if power electronics design is your thing, we’ve got you covered there, too.

Continue reading “Quick And (Not Very) Dirty Negative Voltage Supply”

Digital Cribbage Board Saves Scores, Marriage

When [ccooper] told his parents he was gonna start up his electronics habit again, the last thing he expected was to save his parents’ marriage in the process. But as soon as he dropped this news, they made a special request: build us something to replace the multi-purpose manual cribbage board. It’s too ambiguous and starts too many arguments.

Cribbage is a card game that involves scoring based on hands. Traditionally, the score is kept with pegs on a wooden board with two or three sets of 60 holes. To build a digital cribbage board, [ccooper] decided to represent the positions on a field made from chained-together RGBW matrices.

These four matrices are run by an Arduino Nano Every and will display one of three scoring schemes that the parents usually play. A set of eight AA batteries ensures that Mum and Dad can play out in bright daylight and still see the LEDs. You can see how the brightness rivals the sun in the demo after the break. The code and Gerber files for the custom board are there if you want to make one for yourself, or know of another marriage that needs saving.

Every game deserves tidy record-keeping. If you’re more the RPG type, check out this amazing stat tracker made of stacked-up FR4 boards.

Continue reading “Digital Cribbage Board Saves Scores, Marriage”