Normally, when a project calls for addressable LEDs, we just throw a strip of WS2812s and an Arduino together, cobble together some code from the examples in the FastLED library, and call it a day. We don’t put much thought into what’s going on under the hood, unless and until we run into an LED project that’s a little more challenging.
Inventor [Leo Fernekes] found himself in such a situation recently, when he pitched in on an LED art installation. The project called for rings of LED bars around the trunks of trees on a private estate. The physical size of the project and the aesthetic requirements created significant challenges, though. One of these was finding a way to control the LED bars, each of which draws about 100 mA and needs to be very smoothly dimmed. [Leo] looked at the WS2811 LED driver, but found that the low drive current and the 8-bit PWM output failed to tick either of those boxes.
[Leo] solved both problems by using two of the three PWM channels on the chip in concert — one to control the current and one to PWM the LED. The circuit he came up with is deceptively simple — just four transistors, a Schottky diode, and a bunch of passives. The other clever bit is the data interface between LED bars, which can be configured as either single-ended or differential. This allows the same interface to be used for the short distance between bars on a tree, and the longer runs between trees.
As usual, [Leo] does a great job of explaining his design and how it works, which we find very instructional. He did something similar when he managed to dim a non-dimmable LED fixture.
Continue reading “Cool WS2811 Trick Makes LED Art Installation Smooth”
There’s a problem with fuses. On the face of it, testing would seem to be a one-shot deal — exceed the rated current and see if it blows. But once you know the answer, the device is useless. If only there were a way to test fuses without damaging them.
As it turns out there is, and [Kerry Wong] weaves quite a tale about his attempts to non-destructively test fuses. The fuses in question are nothing fancy — just the standard glass tube type, from a cheap assortment kit off Amazon. Therein lies the problem: can such cheap devices be trusted? Finding out requires diving much deeper into the technology of fuses than many people will have done, including understanding how the thermal and electrical characteristics of the fuse element behave.
[Kerry]’s test setup is simple, consisting of a constant current power supply and a voltmeter across the fuse to measure the voltage drop caused by the resistance of the fuse element. As he ramps up the current, the voltage drop increases linearly due to the increase in resistance of the alloy with increasing temperature. That only lasts up to a point, where the fuse resistance starts increasing exponentially. Pushing much past the point where the resistance has doubled would blow the fuse, so that’s the endpoint of his tests. Perhaps unsurprisingly, his no-name fuses all went significantly beyond their rated current, proving that you get what you pay for. See the video below for the tests and an analysis of the results.
It’s handy to know there’s a way to check fuses without popping them, and we’ll file this one away for future reference. Don’t forget that you should always check the fuse when troubleshooting, because you never know what the last person did to it.
Continue reading “Test Unknown Fuses Without Destroying Them”
‘Tis the season for dropping hints on what new doodads would make a hacker happy, and we have to admit to doing a little virtual window shopping ourselves. And as a decent bench power supply is on our list, it was no surprise to see videos reviews that the hive mind thinks will help us make a choice pop up in our feed. It’s a magical time to be alive.
What did surprise us was this video on a mashup of two power supplies, both of which we’ve been eyeing, with the result being one nicely hacked programmable bench PSU. It comes to us courtesy of [jeffescortlx], who suffered with one of those no-name, low-end 30V-5A bench supplies that has significant lag when changing the settings, to the point that it’s difficult to use, not to mention dangerous for sensitive components.
So he got a hold of a Riden RD6006 programmable buck converter, which is something like those ubiquitous DPS power supply modules we’ve seen so much of, only on steroids. The Riden takes up to 70V input and turns it into a 0-60V output at up to 6 amps, at constant current or constant voltage. It also just happens to (almost) fit as a replacement for the faceplate of the dodgy old supply. A few SMD resistors simulate the original front panel pots being pegged so that the supply outputs maximum voltage and current, and a little finagling with the case and fan was needed to fit everything up, but the finished product actually looks really good, and fixes all the problems of the original.
We love this hack, and may well cobble this together for our bench.
Continue reading “Turning A Bad Bench Supply Into A Better Bench Supply”
Is it ironic when a YouTube channel named “The Current Source” needs to build a current source? Or is that not ironic and actually just coincidental?
Regardless of linguistic considerations, [Derek], proprietor of the aforementioned channel has made and disassembled a few current sources in his day. Most of those jobs were for one-off precision measurements or even to drive a string of LEDs in what he describes as a pair of migraine-inducing glasses. Thankfully, The junk box current source presented in the video below is more in service of the former than the latter, as his goal is to measure very small resistances in semiconductors using Kelvin clips.
The current source uses a 24-volt switch-mode power supply and the popular LM317 adjustable voltage regulator. The ‘317 can be configured in a constant current mode by connecting the chip’s adjustment pin to the output through a series resistance. A multiturn pot provides current adjustment, although the logarithmic taper is not exactly optimal for the application. We spotted a pair of what appear to be optoisolators in the build too, but there’s no schematic and no discussion of what they do. [Derek] puts the final product to use for a Kelvin measurement of a 0.47-Ω 1% resistor at the end of the video.
We’re glad to see [Derek] in action; you may recall his earlier video about measuring his own radiation with a Geiger counter after treatment for thyroid cancer. Here’s hoping that’s behind him now.
Continue reading “Junkbox Constant Current Source Helps With Kelvin Sensing”
Nerd Ralph loves cheap and dirty hacks, and for that we applaud him. His latest endeavor is a LiFePO4 battery charger that he made out of parts he had on hand for under $0.50 US. (Although we think he really made it for the fun of making it.)
The circuit is centered around a TL431 programmable shunt regulator, which is an awesome and underrated chip in its own right. If you don’t know the TL431 (aka LM431), you owe it to yourself to fetch the datasheet and pick up a couple with your next electronics part order. In fact, it’s such a great chip, we can’t resist telling you about it for a minute.
Continue reading “Ode To The TL431, And A LiFePO4 Battery Charger”
Some projects are both educational and useful. We believe that [Jasper’s] Arduino based electronic load is one of those project.
[Jasper’s] electronic load can not only act as a constant current load, but also as a constant power and constant resistive load as well. The versatile device has been designed for up to 30V, 5A, and 15W. It was based on a constant current source that is controlled by a DAC hooked up to the Arduino. By measuring both the resulting voltage and current of the load, the system can dynamically adapt to achieve constancy. While we have seen other Arduino based constant loads before, [Jasper’s] is very simple and straight forward compartively. [Jasper] also includes both the schematic and Arduino code, making it very easy to reproduce.
There are tons of uses for a voltage controlled current source, and this project is a great way to get started with building one. It is an especially great project for putting together your knowledge of MOSFET theory and opamp theory!
Here is a nice hack you may find very useful if you have a cheaper bench power supply that supports constant current limit protection (CC mode) and the only way to set or check your max current limit is to disconnect your circuit, short the power supply outputs and then check or set your limit. Yes, what a pain! [Ian Johnson] was enduring this pain with a couple of Circuit Specialist bench power supplies and decided to do something about it. After finding a download of the circuit diagram for his CSI3003X-5 supply he was able to reverse engineer a hack that lets you press a new button and dial-in the max current setting. Your first guess is that he simply added a momentary button to short the power supply outputs, but you would be wrong. [Ian’s] solution does not require you to remove the load, plus the load can continue running while you set your current limit. He does this by switching the current display readout from using 0–3 volts off an output shunt resistor to using the 0-3 volts output from a digital potentiometer which is normally used to set the power supplies’ constant current limit anyway. So simple it’s baffling why the designers didn’t include this feature.
Granted this is a simple modification anybody can implement, however [Ian] still wasn’t happy. A comment by [Gerry Sweeney] set him on the path to eliminate the tedious multi-button pressing by implementing a 555 momentary signal to switch the circuit from current load readout to current set readout. This 2nd mod means you just start pressing your up-down CC set buttons and it momentarily switches over the display to read your chosen max current and a few moments later the display switches back to reading actual load current. Brilliant! Just like the expensive big boy toys.
[Ian] doesn’t stop with a simple one-off hack job either. He designed up a proper PCB with cabling and connectors, making an easy to install kit that’s almost a plug-in conversion kit for Circuit Specialist bench power supplies (CSI3003X-5, CSI3005X5, CSI3003X3, CSI3005XIII). It is not a 100% plug-in kit because you do have to solder 3 wires to existing circuit points for signal and ground, but the video covering that task seemed trivial.
This hack could very well work with many other power supplies on the market being Circuit Specialist is just rebadging these units. For now, only the models listed after the break are known to work with this hack. If you find others please list in the comments.
After the break we will link to all three progressive mod videos incase you want to learn how to mod your own power supply or you could just order a prebuilt kit from [Ian].
Continue reading “Bench Power Supply Constant Current EZ-SET”