LED Matrix Hack Chat

Join us on Wednesday, June 9 at noon Pacific for the LED Matrix Hack Chat with Garrett Mace!

It’s pretty amazing how quickly light-emitting diodes went from physics lab curiosity to a mainstream commodity product made in the millions, if not billions. Everything about LEDs has gotten better, smaller, and cheaper over the years, going from an “any color you want as long as it’s red” phase to all the colors of the rainbow and beyond in a relatively short time. LEDs have worked their way into applications that just didn’t seem likely not that long ago, like architectural lighting, automotive applications, and even immense displays covering billboards, buildings, and sporting venues with multicolor, high-resolution displays.

It’s that latter application that seems to have provided a boon to electronics hobbyists, in the form of cheap and plentiful LED matrix modules. These are easily sourced at the usual places, and with their tightly packed pinpoints that can show any color at any intensity, they have a ton of fun and useful applications for the hacker. But how exactly do you put them to use? Usually the electronics end is pretty straightforward, but some of the math involved in figuring out how to address all these LEDs can be a little mind-bending.

To help us sort all this out, Garrett Mace will drop by the Hack Chat. You’ve probably seen Garrett’s cool LED matrix shades, which have gone through a ton of revisions and are a much-copied fashion accessory among the cool hackers. They look simple, but there are tricks to making them work right, and Garrett will share his secrets. Come with your questions on putting LED matrix modules to work, especially those odd-size modules and strange arrangements that defy simple Cartesian coordinates.

join-hack-chatOur Hack Chats are live community events in the Hackaday.io Hack Chat group messaging. This week we’ll be sitting down on Wednesday, June 9 at 12:00 PM Pacific time. If time zones have you tied up, we have a handy time zone converter.

Click that speech bubble to the right, and you’ll be taken directly to the Hack Chat group on Hackaday.io. You don’t have to wait until Wednesday; join whenever you want and you can see what the community is talking about.

Triangle Tiles Form Blinky Networks Using Clever Interconnects

We love to see LEDs combined in all shapes and sizes, so we were especially ticked when we caught a glimpse of [Debra Ansell]’s (also known as [GeekMomProjects]) interlocking triangular TriangleLightPanel system glowing on our screen. This unusually shaped array seemed to be self supporting and brightly glowing, so we had to know more.

The TriangleLightPanel is a single, triangular, light panel (refreshing when everything is in the name, isn’t it?).  Each panel consists of a single white PCBA holding three side-firing SK6812 LEDs aimed inward, covered by transparent acrylic. When the LEDs are doing their thing, the three-position arrangement and reflective PCB surface does diffuses the light sufficiently to illuminate each pane — if not perfectly evenly — very effectively. Given the simple construction it’s difficult to imagine how they could be significantly improved.

The real trick is the mechanical arrangement. Instead of being connected with classic Dupont jumper wires and 0.1″ headers or some sort of edge connector, [Debra] used spring contacts. But if you’re confused by the lack of edge-plated fingers think again; the connectors are simple plated strips on the back. There is a second PCBA which effectively acts as wires and a surface to mount the spring contacts on, which is bolted onto the back of the connected leaves to bridge between each node. The tiles need to be mechanically connected in any case, so it’s a brilliantly simple way to integrate the electrical connection with the necessary mechanical one.

All the requisite source files are available on the project’s GitHub page and the original Tweets announcing the project are here for reference. We can’t wait to see what this would look like with another 30 or 40 nodes! Enterprising hackers are already building their own setup; see [arturo182]’s 24 tile array glowing after the break.

Continue reading “Triangle Tiles Form Blinky Networks Using Clever Interconnects”

Electric Vehicles Could Be The Grid Storage Solution We’ve Been Dreaming Of

As nation states grapple with the spectre of environmental and economic losses due to climate change, we’ve seen an ever greater push towards renewable energy sources to replace heavier polluters like coal and natural gas. One key drawback of these sources has always been their intermittent availability, spurring interest in energy storage technologies that can operate at the grid level.

With the rise in distributed energy generation with options like home solar power, there’s been similar interest in the idea of distributed home battery storage. However, homeowners can be reluctant to make investments in expensive batteries that take years to pay themselves off in energy savings. But what if they had a giant battery already, just sitting outside in the driveway? Could electric vehicles become a useful source of grid power storage? As it turns out, Ford wants to make their electric trucks double as grid storage batteries for your home.

Continue reading “Electric Vehicles Could Be The Grid Storage Solution We’ve Been Dreaming Of”

An ALU As A Desktop Calculator Has Stunning Style From Days Gone By

Those of you with an interest in microcomputer history will know that there is a strong crossover between the path of electronic calculator evolution and the genesis of the integrated CPU. Intel’s 4000 was famously designed for a calculator, and for a while in the 1970s these mathematical helpers were seen as the wonder of the age. [Simon Boak]’s calculator is a curious throwback to that era, as it’s not a decimal calculator as we’d know it but a hexadecimal device that simply computes using the functions of the famous 74181 ALU chip.

An ALU, or to give it its full name an Arithmetic Logic Unit, is a component of a CPU with two inputs and one output that can perform any of a range of binary functions upon the two inputs and return the result on the output. This calculator has two of them for eight bits of raw adding power, with a hexadecimal keypad for setting the inputs and a set of 7-segment displays for showing the results. It’s housed in an achingly retro folded sheet metal console case with wooden end pieces that would have graced any engineer’s desk with pride back in about 1975. We may not need one, but we really want one!

If the 74181 is a mystery to you then fear not, because chip master [Ken Shirriff] has produced some handy explanation work on its operation.

Thanks [Ted Yapo] for the tip.

Ryobi Power Packs As Ebike Batteries

By now, the process of creating custom lithium-ion battery packs is well-known enough to be within the reach of most makers. But it’s not a path without hazard, and mistakes with battery protection and management can be costly. Happily for those who are apprehensive on the battery front there’s a solution courtesy of a group of engineering students from the University of Pittsburgh. Their project was to convert a pedal bicycle to electric assisted power, and in doing so they didn’t make their own pack but instead used off-the-shelf 40V Ryobi power tool packs.

The bike conversion is relatively conventional with the crank replaced by a crank and motor assembly, and a pair of the Ryobi packs in 3D-printed holders on the frame. The value in this is in its reminder that these packs have evolved to the point at which they make a viable alternative to a much more expensive bike-specific pack, and that their inclusion of all the balancing and protection circuitry make them also a much safer option than building your own pack. The benefits of this are immense as they bring a good-quality conversion within reach of many more bicycle owners, with all parts being only a simple online order away. Take a look at the video below the break for more details.

Those Ryobi cells certainly seem to have carved themselves a niche in our community!

Continue reading “Ryobi Power Packs As Ebike Batteries”

Aquarium Plotter Shows Sisyphish’s Submerged Sand Stripes

Sisyphus is cursed to roll a boulder up a hill for eternity. Pet fish generally content themselves to swimming the same lap over and over in a glass tank. Perpetuity can be soothing, so long as you’re not shouldering a boulder.

[Zach Frew] wants to integrate and automate the boulder on a smaller scale and one that can benefit his aquarium full of colorful Taiwanese bee shrimp. Instead of an inert rock and a Greek, Sisyphish uses a magnet and servo motors connected to a microcontroller to draw Spirograph-style shapes in the tank’s sand.

There are a couple of gears beneath the tank to trace the geometric patterns but they’re clear of any water. One gear rotates about the center of the cylindrical tank while the other holds a magnet and adjusts the distance from the center. Pilots, and select nerds, will recognize this as rho-theta positioning. Despite the uncommon coordinate system, the circular plotter accepts G-code. We love when math gets turned into gorgeous designs, and shrimp love when those tasty microbes get shaken from their gravelly hiding places.

We adore the dry sand plotters that came before, and Sisyphus himself appeared in a LEGO format that made us question our proficiency with the blocks.

Continue reading “Aquarium Plotter Shows Sisyphish’s Submerged Sand Stripes”

Automated Sentry Turret For Your Secret Lab

There are few things as frustrating when you’re trying to get some serious hacking done than intruders repeatedly showing up without permission. [All Parts Combined] has the solution for you, with a Kinect-based robotic sentry turret to keep them at bay.

The system consists of a Microsoft Kinect V2 connected to a PC, which runs an app to do all the processing, and outputs the targeting information to an Arduino over serial. The Arduino controls a simple 2-axis servo mount with an electric airsoft gun zip-tied to it. The trigger switch is replaced with a relay, also connected to the Arduino.

The Kinect V2 comes with SDKs that really simplify tracking human movement, and outputs the data in an easy-to-use format. [All Parts Combined] used the SDK in Unity, which allows him to choose which body parts to track. He added scripts that detect a few basic gestures, issues voice commands, and generates the serial commands for the Arduino. The servo angles are calculated with simple geometry, using XY coordinates of the target received from the SDK, and the known distance between the Kinect and turret. When an intruder enters the Kinect’s field of view it immediately starts aiming at the intruder’s heart, issues a “Hands Up!” command, and tells the intruder to leave. If the intruder doesn’t comply, it starts an audible countdown before firing. [All Parts Combined] also added a secret disarming gesture (double hand pistols), which turns the turret into an apologetic comrade. All it needs is a Portal-inspired enclosure.

It’s a fun project that illustrates how the Kinect can make complex computer vision tasks relatively simple. Unfortunately the V2 is no longer in production, having been replaced by the more expensive, developer focused Azure Kinect. We’ve covered several Kinect-based projects, including a 3D room scanner and a robotic basketball hoop.

Continue reading “Automated Sentry Turret For Your Secret Lab”