Hackaday Links Column Banner

Hackaday Links: May 30, 2021

That collective “Phew!” you heard this week was probably everyone on the Mars Ingenuity helicopter team letting out a sigh of relief while watching telemetry from the sixth and somewhat shaky flight of the UAV above Jezero crater. With Ingenuity now in an “operations demonstration” phase, the sixth flight was to stretch the limits of what the craft can do and learn how it can be used to scout out potential sites to explore for its robot buddy on the surface, Perseverance.

While the aircraft was performing its 150 m move to the southwest, the stream from the downward-looking navigation camera dropped a single frame. By itself, that wouldn’t have been so bad, but the glitch caused subsequent frames to come in with the wrong timestamps. This apparently confused the hell out of the flight controller, which commanded some pretty dramatic moves in the roll and pitch axes — up to 20° off normal. Thankfully, the flight controller was designed to handle just such an anomaly, and the aircraft was able to land safely within five meters of its planned touchdown. As pilots say, any landing you can walk away from is a good landing, so we’ll chalk this one up as a win for the Ingenuity team, who we’re sure are busily writing code to prevent this from happening again.

If wobbling UAVs on another planet aren’t enough cringe for you, how about a blind mechanical demi-ostrich drunk-walking up and down a flight of stairs? The work comes from the Oregon State University and Agility Robotics, and the robot in question is called Cassie, an autonomous bipedal bot with a curious, bird-like gait. Without cameras or lidar for this test, the robot relied on proprioception, which detects the angle of joints and the feedback from motors when the robot touches a solid surface. And for ten tries up and down the stairs, Cassie did pretty well — she only failed twice, with only one counting as a face-plant, if indeed she had a face. We noticed that the robot often did that little move where you misjudge the step and land with the instep of your foot hanging over the tread; that one always has us grabbing for the handrail, but Cassie was able to power through it every time. The paper describing how Cassie was trained is pretty interesting — too bad ED-209’s designers couldn’t have read it.

So this is what it has come to: NVIDIA is now purposely crippling its flagship GPU cards to make them less attractive to cryptocurrency miners. The LHR, or “Lite Hash Rate” cards include new-manufactured GeForce RTX 3080, 3070, and 3060 Ti cards, which will now have reduced Ethereum hash rates baked into the chip from the factory. When we first heard about this a few months ago, we puzzled a bit — why would a GPU card manufacturer care how its cards are used, especially if they’re selling a ton of them. But it makes sense that NVIDIA would like to protect their brand with their core demographic — gamers — and having miners snarf up all the cards and leaving none for gamers is probably a bad practice. So while it makes sense, we’ll have to wait and see how the semi-lobotomized cards are received by the market, and how the changes impact other non-standard uses for them, like weather modeling and genetic analysis.

Speaking of crypto, we found it interesting that police in the UK accidentally found a Bitcoin mine this week while searching for an illegal cannabis growing operation. It turns out that something that uses a lot of electricity, gives off a lot of heat, and has people going in and out of a small storage unit at all hours of the day and night usually is a cannabis farm, but in this case it turned out to be about 100 Antminer S9s set up on janky looking shelves. The whole rig was confiscated and hauled away; while Bitcoin mining is not illegal in the UK, stealing the electricity to run the mine is, which the miners allegedly did.

And finally, we have no idea what useful purpose this information serves, but we do know that it’s vitally important to relate to our dear readers that yellow LEDs change color when immersed in liquid nitrogen. There’s obviously some deep principle of quantum mechanics at play here, and we’re sure someone will adequately explain it in the comments. But for now, it’s just a super interesting phenomenon that has us keen to buy some liquid nitrogen to try out. Or maybe dry ice — that’s a lot easier to source.

Putting LEDs In Motorcyle Tail Light Shows How Trivial Becomes Tough

[Maarten Tromp]’s replacement of his motorcycle’s tail light with LED equivalents is a great example of something that every hacker learns sooner or later: interfacing to and working around existing parts can turn a trivial-seeming task into a much bigger job than expected. The more one has to work within the constraints of an existing system, the more opportunities there are for roadblocks and surprise issues to stall progress, and this project is a great example of that.

[Maarten]’s 1999 Honda ST1100 Pan European motorcycle had no aftermarket options for an LED rear light assembly, and he wasn’t too keen on just installing a generic module to replace the original. Instead, he resolved to purchase and disassemble a used factory assembly, and replace the incandescent lamps with some equivalent LEDs. Replacing bulbs with LEDs sounds easy, but doing the job right took [Maarten] almost two weeks in the end.

Problems started early with simple things like how to open up the light assembly itself. The unit isn’t user-serviceable and isn’t intended to be opened, and the parts are sealed shut with a waxy substance. Fortunately, heat does the trick. Another early hitch was the curved base of the light assembly, which made mounting flat perfboard or veroboard a challenge. In the end, [Maarten] settled on a triangular grid of high-brightness LEDs,  driven with LM317 regulators configured as constant-current supplies, mounted on some protoboard cut to fit the unique curve of the assembly. The result accepts the wide voltage range of the motorcycle’s battery (from 10.5 V to 14.5 V) and can still function even if some individual LEDs stop working.

The project has one more example of how working around existing hardware can be a pain. [Maarten] had originally intended to swap out the turn signal lamps for LEDs as well, but there is a glitch. The motorcycle’s turn signal relay will do a fast blink pattern if burnt-out turn signal lamps are detected. Since LEDs consume considerably less current than the original bulbs, the relay will remain stuck in the fault condition. There are a few different ways around this, but it’s a problem for another day. For now, the tail light LED replacement is a success.

Working around existing hardware frequently brings unexpected challenges, but when safety systems (such as lights on a vehicle) are involved, it’s extra-important to make sure things are done right.

Magic Pyramids Blink Eternal With The Power Of The Sun

Without knowing it, we’ve spent years watching [Jasper Sikken] piece together an empire of energy harvesting equipment, and now he’s putting the pieces together into wonderful creations. His recently finished solar harvesting pyramids are mesmerizing objects of geometric perfection we’d love to see glinting in the sun.

These solar harvesting pyramids are well described by their name. Each one contains a PCBA around 30mm on a side with a solar energy harvester built around the dedicated AEM10941 IC, a single solar cell, and a very bright green LED. [Jasper] calculates that the solar cell will charge the super capacitor at 20uA at with just 200 lux of light (a level typical for casual indoor spaces) letting it run indefinitely when placed indoors. Amazingly with the LED blinking for 15ms every 2 seconds it will run for 21 days in complete darkness. And that’s it! This is a software-free piece of hardware which requires no input besides dim light and blinks an LED indefinitely.

Small PCBA, large capacitor

What about that super capacitor? It’s called a Lithium Ion Capacitor (LIC) and is a hybrid between a typical rechargeable lithium battery and an electrolytic capacitor, offering extremely high capacity in a convenient two leg through hole form factor. This one is a whopping 30 Farad at 3.8 V, and we first saw it when [Jasper] won the Hackaday Earth Day contest last month. Check out that link if you want to know more about their uses and how to integrate them.

For more detail about all of the components of the solar pyramid we need only turn to the Hackaday archives. In December 2019 [Tom Nardi] wrote about building a cheap degassing system for making some very familiar looking resin pyramids. And before that [Donald Papp] brought us another familiar piece of the pyramid when he wrote up a different 1″ x 1″ solar harvesting system that [Jasper] designed.

Check out the video after the break to see what one of these gems looks like from all sides. And for many more experiments leading up the final pyramid check out the logs on the Hackaday.io page.

Continue reading “Magic Pyramids Blink Eternal With The Power Of The Sun”

8-Bit Computer Addresses LEDs

Homebrew 8-bit computers tend to have fairly limited displays, often one or more seven-segment displays and an array of LEDs to show the values of RAM or perhaps some other states of the computer. [Duncan] is in the process of building just such an computer, but wondered if there was a way to create a more visually appealing display while still keeping the computer true to its 8-bit roots. With some interesting TTL logic he was able to create this addressable RGB LED display to some remarkable results.

The array works by controlling the WS2812B LED strips with a specific timing cycle which was pioneered by [Tim] for a different project. [Tim] was able to perform this timing cycle with some simple Assembly code, which means that [Duncan] could convert that code into TTL gate logic relatively easily. Using 74LS02 NOR chips gets the job done as far as timing goes, and the pulses are then fed into a shift register and support logic which then creates the signal for the LED strips.

When everything is said and done, [Duncan] has a fully addressable 16×16 RGB LED array as a display for his 8-bit computer without violating any of his design principles and keeping everything to discrete TTL logic chips and a stick of RAM. It’s a unique method of display that might go along really well with any other homebrew computer like this one that’s also built with 74LS chips.

A HALO Of LEDs For Every Ear

Few things get a Hackaday staffer excited like bunches of tiny LEDs. The smaller and denser the better, any form will do as long as we can get a macro shot or a video of a buttery smooth animation. This time we turn to [Sawaiz Syed] and [Open Kolibri] to deliver the brightly lit goods with the minuscule HALO 90 reactive LED earrings.

The HALO 90’s are designed to work as earrings, though we suspect they’d make equally great brooches, hair accessories, or desk objects. To fit this purpose each one is a minuscule 24 mm in diameter and weighs a featherweight 5.2 grams with the CR2032 battery (2.1 g for the PCBA alone). Functionally their current software includes three animation modes, each selectable via a button on device; audio reactive, halo (fully lit), and sparkle. Check out the documentation for details on expected battery life in each mode, but suffice to say that no matter what these earrings will make it through a few nights out.

In terms of hardware, the HALO 90’s are as straightforward as you’d expect. Each device is driven by an STM8 at its maximum 16MHz which is more than fast enough to keep the 90 charliplexed 0402 LEDs humming along at a 1kHz update rate, even with realtime audio processing. In fact the BOM here is refreshingly simple with just 8 components; the LEDs, microcontroller and microphone, battery holder and passives, and the button. [Sawaiz] even designed an exceptionally slick case to go with each pair of earrings, which holds two HALO 90’s with two CR2032’s and includes a magnetic closure for the most satisfying lid action possible.

As with some of his other work, [Sawaiz] has produced a wealth of exceptional documentation to go with the HALO 90’s. They’re available straight from him fully assembled, but with documentation this good the path to a home build should be well lit and accessible. He’s even chosen parts with an eye towards long availability, low cost, and ease of sourcing so no matter when you decide to get started it should be a snap.

It was difficult to choose just a few images from [Sawaiz]’s mesmerizing collection, so if you need more feast your eyes on the expanded set after the break.

Continue reading “A HALO Of LEDs For Every Ear”

LED Brightness Adjustment Uses Itself As Sensor

This is a story about a successful system that nevertheless failed to make the cut. An experimental LED brightness adjustment is something [Mitxela] explored in a project for a high-precision clock; one that shows time down to the nearest millisecond, and won’t flicker or otherwise look weird when photographed with a high-speed camera. To pull this off means reinventing many things about a clock display, including how to handle brightness adjustment elegantly. Now, to be clear, the brightness adjustment idea described here is something that did not end up being used, but it’s interesting enough that [Mitxela] wrote it up and we’re very glad he did.

The idea was to have a smooth and seamless automatic brightness adjustment, ideally with no added components. Since LEDs can be used as light sensors, [Mitxela] saw an opportunity to use elements of the clock displays themselves as sensors. This is how it works: a charge in the p-n junction that makes up an LED will decay at a rate proportional to the amount of light hitting the junction. By measuring the speed of this decay, it’s therefore possible to tell how much light is hitting the LED. It’s effective and elegant, but there are a few practical issues to deal with.

The first failed idea was to employ as sensors the unused decimal points in the seven-segment LED modules, but that turned out to have issues. One was the common-cathode wiring of the display modules; this makes them very convenient to drive as displays, but made using the decimal point as a light sensor impractical. The other issue was that the built-in diffuser that makes the displays easier to read absorbs a lot of ambient light. A much better option was to use the LEDs in the colon separators between digits, since they’re independent. Naturally they still have to light up in addition to being used as sensors, but [Mitxela] made a successful prototype by performing the necessary measurements in between the LEDs being driven by PWM.

Despite how clever and efficient the solution was, in the end what sank it was the fact that the LEDs just don’t do a very good job of sensing ambient light for this purpose. The LEDs are simply too directional. Even after sanding away the top (lens) part of the LEDs, they still had a very narrow field of view. As [Mitxela] describes it, tilting the clock towards the ceiling could send it to full brightness, and the shadow of one’s head falling across the clock would plummet it into “night mode” dimness. In short, it responded to what was directly in front of it, rather than the ambient light level as a whole.

It’s a reminder that sometimes a solution simply won’t tick all the right boxes, and it can happen for unexpected reasons. Still, LEDs are versatile things. Not only can they sense light, but as the name implies they’re also diodes. As diodes can be used as temperature sensors that means LEDs can as well.

This Vintage LED Matrix Lives In A Gold Bathtub

Early LED displays came in all sorts of configurations. Because the LED was fairly new technology, all kinds of ideas were getting tried, and with all that work there was plenty of opportunity for hardware that didn’t make the cut to fall into obscurity. That’s exactly what happened to the Hewlett-Packard 5082-7002, a 5×7 LED matrix display with something many of its brethren didn’t: an oversized gold tub to sit in.

It doesn’t seem that these displays were ever used in any actual products, and its origins are a mystery, but the device itself was nevertheless assigned an HP part number. Beyond that, not much is known about them, but [Industrial Alchemy] reminds us that many early LED devices were poorly documented and never produced in any real quantities. They became forgotten hardware, waiting to be rediscovered.

The 5082-7002 has a oversized gold tub that makes the 5×7 LED matrix mounted inside look puny by comparison, and reading any display made from these units would be difficult because the large size of the device would mean a lot of empty space between each character or digit. But it’s definitely got a striking look to it, no doubt about that.

What’s neat is that the 5802-7002 actually showed up in a video we featured with a look back at cool old LED technology. If you would like to (briefly) see the HP 5802-7002 a bit closer under a microscope, here is a link to the video, cued to 2:19.