Fueled By Jealousy, This Smart Lamp Really Shines

As a lover of lava lamps, [Julian Butler] knew when he saw a coworker’s modern LED incarnation of the classic piece of illuminated decor that he had to have one for himself. The only problem was that the Kickstarter for it had long since ended, and they were no longer available. So he did what any good hacker would do: he studied it closely, took a bunch of notes, and built his own version that ended up being even better than the original.

In the three part series on his blog, [Julian] takes us through the design and construction of his take on the Ion Mood Light, which raised over $72,000 back in 2014. The details in the Kickstarter campaign plus his own first-hand observations of the device were enough to give him the high-level summary: the device has a core of RGB LEDs behind a diffuser, and uses some software trickery to pulse out some pleasing effects and patterns. He wasn’t concerned about the Bluetooth or the smartphone application, so all he really needed to do was put some NeoPixel LEDs inside a glass cylinder and he’d be done. Of course, it always sounds easy…

The actual journey to get there, as you might have guessed from the three part series, took awhile. Sourcing the LEDs was easy enough, and using a Fadecandy controller made getting the LEDs to blink out some cool patterns fairly straightforward. But it took [Julian] a bit of experimentation and a few trips to the crafts store before he found a material which would diffuse the LEDs enough for his tastes. Though in the end, he thinks the multiple layers of acrylic he ended up going with actually do a better job of blending the light from the individual LEDs than in the original Ion.

Using the Fadecandy made it easy to drive the LEDs, but he still needed something to provide it with the commands. To that end, he added a decorative base to his LED column that hides a Raspberry Pi and all the lamp’s associated electronics. This includes a microphone which gives his lamp the same sort of sound reactive features that made the Ion so popular. The base does make his lamp a bit bulkier than the original version, but the metallic mesh construction is attractive enough the overall look works.

Of course, you might be wondering how [Julian] got the LEDs to react to sound, or do any of the other gorgeous effects shown off in the video after the break. The software which makes this possible makes up the third and final post in the series, and is really a whole project in itself. The short version of the story is that he used Python and Processing to do real-time computational fluid dynamics, but not before making the necessary adjustments to speed up the simulation on ARM hardware. You know, normal lamp stuff.

This isn’t the first time we’ve seen projects using the Fadecandy board. From creating a Tron inspired desk to building the 5,760 LED “Space Tunnel”, it looks like a great choice if you’ve got a problem that can be solved by the application of a ridiculous number of LEDS.

Continue reading “Fueled By Jealousy, This Smart Lamp Really Shines”

Joulescope DC Energy Analyzer Reviewed

[VoltLog] got a hold of a prerelease unit of Joulescope — a DC energy analyzer that promises to make it easy to optimize power and energy usage of your electronic designs. You can find his review in the video below. The device is a very fast ammeter and voltmeter. Given that, it is easy to compute energy and, over time, power.

The device is set to retail for about $400 according to a letter in the video, although the website mentions closer to $800. Both of those seem to be a bit much for a piece of specialty gear that is really just a fast analog to digital converter and some software. To be fair, the device can read ranges between 18 microamps to 10 amps with resolutions as low as 1.5 nanoamps on the lower side of the range. Is it worth it? That will depend on your application and your price sensitivity.

Continue reading “Joulescope DC Energy Analyzer Reviewed”

Ask Hackaday: Earth’s Magnetic Field Shifting Rapidly, But Who Will Notice?

Just when you though it was safe to venture out, the National Oceanic and Atmospheric Administration released an unexpected update. Magnetic North is on the move — faster than expected. That’s right, we know magnetic north moves around, but now it’s happened at a surprising rate. Instead of waiting for the normal five year interval before an update on its position, NOAA have given us a fresh one a bit earlier.

There are some things that we can safely consider immutable, reliable, they’ll always be the same. You might think that direction would be one of them. North, south, east, and west, the points of the compass. But while the True North of the Earth’s rotation has remained unchanged, the same can not be said of our customary method of measuring direction.

Earth’s magnetic field is generated by a 2,000 km thick outer core of liquid iron and nickel that surrounds the planet’s solid inner core. The axis of the earth’s internal magnet shifts around the rotational axis at the whim of the currents within that liquid interior, and with it changes the readings returned by magnetic compasses worldwide.

The question that emerged at Hackaday as we digested news of the early update was this: as navigation moves inexorably towards the use of GPS and other systems that do not depend upon the Earth’s magnetic field, where is this still relevant beyond the realm of science?

Continue reading “Ask Hackaday: Earth’s Magnetic Field Shifting Rapidly, But Who Will Notice?”

New Contest: Flexible PCBs

The now-humble PCB was revolutionary when it came along, and the whole ecosystem that evolved around it has been a game changer in electronic design. But the PCB is just so… flat. Planar. Two-dimensional. As useful as it is, it gets a little dull sometimes.

Here’s your chance to break out of Flatland and explore the third dimension of circuit design with our brand new Flexible PCB Contest.

We’ve teamed up with Digi-Key for this contest. Digi-Key’s generous sponsorship means 60 contest winners will receive free fabrication of three copies of their flexible PCB design, manufactured through the expertise of OSH Park. So now you can get your flex on with wearables, sensors, or whatever else you can think of that needs a flexible PCB.

Continue reading “New Contest: Flexible PCBs”

Door Springs And Neopixels Demonstrate Quantum Computing Principles

They may be out of style now, and something of a choking hazard for toddlers, but there’s no denying that spring doorstops make a great sound when they’re “plucked” by a foot as you walk by. Sure, maybe not on a 2:00 AM bathroom break when the rest of the house is sleeping, but certainly when used as sensors in this interactive light show.

The idea behind [Robin Baumgarten]’s “Quantum Garden” is clear from the first video below: engaging people through touch, sound, and light. Each of the 228 springs, surrounded by a Neopixel ring, is connected to one of the 12 inputs on an MPR121 capacitive touch sensor. The touch sensors and an accelerometer in the base detect which spring is sproinging and send that information to a pair of Teensies. A PC then runs the simulations that determine how the lights will react. The display is actually capable of some pretty complex responses, including full-on games. But the most interesting modes demonstrate principles of quantum computing, specifically stimulated Raman adiabatic passage (STIRAP), which describes transfers between quantum states. While the kids in the first video were a great stress test, the second video shows the display under less stimulation and gives a better idea of how it works.

We like this because it uses a simple mechanism of springs to demonstrate difficult quantum concepts in an engaging way. If you need more background on quantum computing, [Al Williams] has been covering the field for a while. Need the basics? Check out [Will Sweatman]’s primer.

Continue reading “Door Springs And Neopixels Demonstrate Quantum Computing Principles”

1 Trillion USD Refund! (PDF Enclosed)

Security researchers have found that it is possible to alter a digitally signed PDF without invalidating its signatures. To demonstrate it, they produced a fake document “refund order” of $1,000,000,000,000 dollars, with a valid signature from Amazon. This sparked my attention, since I was quite sure that they didn’t use some sort of quantum device to break the cryptography involved in the signing process. So what exactly is going on?

The researchers claim to found at least three different ways to, in their words:

… use an existing signed document (e.g., amazon.de invoice) and change the content of the document arbitrarily without invalidating the signatures. Thus, we can forge a document signed by invoicing@amazon.de to refund us one trillion dollars.

That’s not good news if you take into account that the main purpose of digitally signing a document is, well, prevent unauthorized changes in that document. The good news is that you can update your software to fix this flaws because of this research; the main PDF readers companies were given time to fix the issues. The bad news is that if you rely on the signature verification for any sensitive process, you likely want to go back and see if you were using vulnerable software previously and check that documents were correctly validated. I’m thinking about government institutions, banks, insurance companies and so on.

The implications are yet to be seen and probably won’t even be fully known.

There are three classes of attacks that work on different software. I’ll try to go into each one from what I could tell from reading the research.

Continue reading “1 Trillion USD Refund! (PDF Enclosed)”

Hacking The IPod Nano Display: Beautiful!

The 6th Generation iPod Nano was something of a revelation on launch. Packing a color screen, audio hardware, and a rechargable battery into a package no bigger than a large postage stamp remains impressive to this day. They’re now being used in various maker projects for their displays, but if you’re doing so, you might want to think about how you’re going to build a graphical interface. Not to worry – just grab an ESP32 and the right GUI library, and you’re on your way.

The Nano screen uses a MIPI DSI interface, which isn’t the easiest thing to use directly with the ESP32. Instead, a SSD2805 interface chip converts parallel input data to MIPI DSI signals to drive the display. Driving the display is only part of the game, however – you need something to display on it. Combining the LittlevGL GUI library with the screen’s touchpad makes creating a full graphical interface easy.

Hacked screens are something we don’t see as much these days, with the proliferation of display products aimed directly at the maker market. However, it’s always awesome to see a successful hack pulled off well. We’ve seen the display reverse engineered, too – and it certainly wasn’t easy.