Big RGB LED Cube You Can Build Too

LED cubes are really nothing new, many of us consider the building of a good sized one almost an electronics rite of passage that not so many manage to find the time or have the skill to pull off. It’s our pleasure to draw your attention to a lovely build, showing all the processes involved, the problems and the solutions found along the way.

Building a small cube is somewhat of a trivial affair, especially without considering PWM colour mixing, however as simple maths will illustrate, as you increase the number of LEDs on each side, the total number will quickly get quite large. More LEDs need more power and increase control complexity considerably. A larger matrix like this 16 x 16 x 16 LED build, has a total of 4096. This would be a nightmare to drive with plain RGB LEDs, even with cunning multiplexing, but luckily you can buy indexable LEDs in a through-hole package similar to the ubiquitous WS2812-based SMT LEDs you see around. These are based on the PD9823 controller, which can be programmed as if they were a WS2812, at least according to this analysis. Now you can simply chain a column of LEDs, with the control signal passed from LED to nearest neighbour.

Early on in the video build log, you will note there are four power supply modules needed to feed this juice. If we assume each LED consumes 60 mA on full-white (the data for this product link shows a peak value of 100 mA) that is still a total of 246 A or around 1 kW of power. The video does shows a peak power measurement of around this figure, for the whole array on full white, so the maths seems about right.

Control is via a Teensy 4.0 using the FlexIO function of the IMXRT1060RM CPU, and a bunch of 74AHCT595 shift registers giving 32 channels of up to 1000 LEDs per channel if needed. Roughly speaking, using the DMA with FlexIO, the Teensy can drive up to 1 Million LED updates per second, which works out about 32 channels of 100 LEDs per channel updated at 330 frames/sec, so plenty of resource is available. All this is with almost no CPU intervention, freeing that up for handling the 2.4-inch LCD based UI and running the animations, which looks pretty darn slick if you ask us. You can checkout the description of the firmware in the firmware section of the GitHub project. 3D printed jigs allowed for bending and clipping the LEDs leads as well as fixing and aligning the LED column units, so there really is enough detail there to allow anyone so inclined reproduce this, so long as you can swallow the cost of all those LEDs.

For a different approach to LED cubes, checkout this sweet panel based approach, and here’s a really small 4x4x4 module for those with less space to spare.

Continue reading “Big RGB LED Cube You Can Build Too”

Simplify 3D Printer Wiring With CAN Bus

[mark] had an interesting idea when looking at all the wiring of a typical 3D printer; Use CAN Bus. There are a lot of wires going to the extruder assembly, and with most designs this thing is flying around at quite some speed. You’ve got connections for powering the heater, fan power, four wires for the extruder motor, thermistor sensor wires. You get the idea. Lots of wires. Worse, they’re all moving around with the axis, and if failures occur at either end due to poor strain relief, or the conductors themselves break, then all manner of interesting failures can occur. If the hot end thermistor connection goes open circuit, usually no damage occurs but the temperature control goes out the window and your print will fail.

Now if you push the electronics needed to drive and control the extruder, directly onto the moving body itself, and hook-up to the main printer electronics with CAN Bus, you can do the whole moving interconnect thing with a measly four wires. Yes, you need another PCB assembly, so it adds cost, but it does also simply the electronics at the control end, so some savings can be made. [mark] has used CAN Bus due its availability with modern microcontrollers and also its designed-in robustness, thanks to its automotive and industrial heritage. When you think about it, this is a rather obvious thing to do, and we’re not sure why we’ve not see it much before.

If you want to dig into the detail, the project GitHub has the schematics and code ready to go.

 

Continue reading “Simplify 3D Printer Wiring With CAN Bus”

A Builders Guide For The Perfect Solid-State Tesla Coil

[Zach Armstrong] presents for your viewing pleasure a simple guide to building a solid-state Tesla coil. The design is based around a self-resonant setup using the UCC2742x gate driver IC, which is used in a transformer-coupled full-wave configuration for delivering maximum power from the line input. The self-resonant bit is implemented by using a small antenna nearby the coil to pick up the EM field, and by suitably clamping and squaring it up, it is fed back into the gate driver to close the feedback loop. Such a setup within reason allows the circuit to oscillate with a wide range of Tesla coil designs, and track any small changes, minimizing the need for fiddly manual tuning that is the usual path you follow building these things.

Since the primary is driven with IGBTs, bigger is better. If the coil is too small, the resonant frequency would surpass the recommended 400 kHz, which could damage the IGBTs since they can’t switch much faster with the relatively large currents needed. An important part of designing Tesla coil driver circuits is matching the primary coil to the driver. You could do worse than checkout JavaTC to help with the calculations, as this is an area of the design where mistakes often result in destructive failure. The secondary coil design is simpler, where a little experimentation is needed to get the appropriate degree of coil coupling. Too much coupling is unhelpful, as you’ll just get breakdown between the two sides. Too little coupling and efficiency is compromised. This is why you often see a Tesla coil with a sizeable gap between the primary and secondary coils. There is a science to this magic!

Pretty Lithium Carbonate plasma

A 555 timer wired to produce adjustable pulses feeds into the driver enable to allow easily changing the discharge properties. This enables it to produce discharges that look a bit like a Van De Graaff discharge at one extreme, and produce some lovely plasma ‘fire’ at the other.

We’ve covered Tesla coils from many angles over the years, recently this plasma tweeter made sweet sounds, and somehow we missed an insanely dangerous Tesla build by [StyroPyro] just checkout that rotary spark gap – from a distance.

Continue reading “A Builders Guide For The Perfect Solid-State Tesla Coil”

3D Printed Printing Plates Made Using Modern Tools

It’s widely accepted that the invention of the printing press by Gutenberg in the 15th Century was the event that essentially enabled the development of the modern world, allowing access to knowledge beyond anything that came before, even if the Chinese got in on the bookmaking act some 500 years previously. Fast-forward a few centuries more and we’ve got the ability to design electronics from our arm chairs, we can print 3D objects from a machine on the coffee table, and 3D modeling can be done by your kids on a tablet computer. What a time to be alive! So we think it’s perfectly fine that [Kris Slyka] has gone full circle and used all these tools to make printing plates for a small press, in order to produce cards for her Etsy business.

Now before you scoff, yes she admits quite quickly that KiCAD wasn’t the best choice for designing the images to print, since she needed to do a lot of post-processing in Inkscape, she could have just dropped the first step and started in Inkscape anyway. You live and learn. Once the desired image was fully vectorised, it was popped into OpenSCAD in order to extrude it into 3D, thickening the contact to the base to improve the strength a little.

[Kris] demonstrates using the registration marks to align the front and rear side plates, and even (mostly) manages adding a second colour infill for a bit more pizzazz. The results look a little bit wonky and imperfect, exactly what you want for something supposed to be handmade. We think it’s a nice result, even if designing it in KiCAD was a bit bonkers.

For those interested in the OpenSCAD code, have a butchers at this gist. This project is not the first 3D-printed printing press we’ve covered, checkout the Hi-Bred for an example, and here’s the Open Press Project if you’re still interested.

Continue reading “3D Printed Printing Plates Made Using Modern Tools”

NE-2 neon lamp illuminated side-by-side with non-illuminated

The Humble NE-2 Neon Lamp Has A New Trick

Ah, the humble neon lamp. The familiar warm orange glow has graced the decks of many a DIY timepiece, sometimes in a purely indicating duty, and sometimes forming a memory element in place of a more conventional semiconductor device. Capable of many other tricks such as the ability to protect RF circuits from HV transients, its negative resistance operating region after it illuminates gives us usable hysteresis which can used to form a switching element and the way the pair of electrodes are arranged give it the ability to indicate whether a voltage source is AC or DC. Now, due to some recent research by [Johan Carlsson] and the team at Princeton University, the humble NE-2 tube has a new trick up its sleeve: acoustic transduction.

The idea is not new at all, with some previous attempts at using electric discharge in a gas to detect audio, going back to the early part of last century, but those attempts either used atmospheric pressure air or other non-sealed devices that exhibited quite a lot of electrical noise as well as producing noxious gases. Not ideal.

Continue reading “The Humble NE-2 Neon Lamp Has A New Trick”

Is A Diode A Switch?

Many hardware people around these parts will be familiar with devices used as switches, using at least three-terminals to effect this, an input, an output and a gate. Typical devices that spring to mind are bipolar transistors, triacs and and ye olde triode valve. Can you use a diode to switch a signal even if it has only two terminals? Of course you can, and it’s a tried and trusted technique very common in test equipment and circuits that handle RF signals. (Video, embedded below.)

The trick is that diodes block current in one direction but allow it to flow in the other, denoted by the deliberately obvious symbol. So your DC signals can’t swim upstream, but the same isn’t true for AC. Signals can be passed “the wrong way” through a diode by inducing small fluctuations in the current. Put another way, if you bias the diode into conduction, changes in the downstream voltage level result in changes in the current flowing through the diode, and the (smaller) AC signal gets through. But if you take away the bias, by turning off the DC bias voltage source, the diode switches back to non-conducting, blocking the signal. And that makes a diode a DC controlled switch for AC signals.

While [IMSAI Guy] demonstrates this with a signal diode, as he explains, one would typically use a PIN diode, which has an extra intrinsic (undoped) region between the P and the N, allowing the device to fully turn off, reducing leakage significantly.

Of course, we’ve covered diodes many times from different angles, there is always something to learn. Checkout how high voltage diodes are constructed, diodes detecting ionising radiation, and finally this great series about our new favourite two-terminal device.

See, the humble diode can be fun after all!

Continue reading “Is A Diode A Switch?”

Line of electromechanical water valves dispensing a pattern of water droplets

Gravity-Defying Water Drop Display Shows Potential

[3DPrintedLife aka Andrew DeGonge] saw that advert for gatorade that shows some slick stop-motion animation using a so-called ‘liquid printer’ and wondered how they built the machine and got it to work so well. The answer, it would seem, involves a lot of hard work and experimentation.

Conceptually it’s not hard to grasp. A water reservoir sits at the top, which gravity-feeds into a a series of electromechanical valves below, which feed into nozzles. From there, the timing of the valve and water pressure dictate the droplet size. The droplets fall under the influence of gravity, to be collected at the bottom. From that point it’s a ‘simple’ matter of timing droplets with respect to a lighting strobe or camera shutter and hey-presto! instant animation.

As will become evident from the video, it’s just not as easy as that. After an initial wobble when [Andrew] realised that cheap “air-only” solenoids actually are for air-only when they rusted up, he took a slight detour to design and 3D print his own valve body. Using a resin printer to produce fine detailed prints, enabled the production of small internal passages including an ‘air spring’ which is just a small chamber of air. After a lot of testing, proved to be a step in the right direction. Whether this could have been achieved with an FDM printer, is open to speculation, but we suspect the superior fine detail capabilities of modern resin printers are a big help here.

In a nice twist, [Andrew] ripped open and dissolved a fluorescent marker pen, and used that in place of plain water, so when illuminated with suitably triggered UV LED strips, discernable animation was achieved, with an eerie green glow which we think looks pretty neat. All he needs to do now is upgrade the hardware to make a 3D array with more resolution, and he can start approaching the capability of the thing that inspired him. Work on some custom electronics to drive it has started, so this is one to watch in the coming months!

We’ve seen many water-based display device before, like this one that projects directly onto a thin stream of water, and this strangely satisfying hack using paraffin and water, but a full 3D Open Source display device seems elusive so far.

All project details can be found on the associated GitHub.

Continue reading “Gravity-Defying Water Drop Display Shows Potential”