Remoticon 2021 // Jeroen Domburg [Sprite_tm] Hacks The Buddah Flower

Nobody likes opening up a hacking target and finding a black epoxy blob inside, but all hope is not lost. At least not if you’ve got the dedication and skills of [Jeroen Domburg] alias [Sprite_tm].

It all started when [Big Clive] ordered a chintzy Chinese musical meditation flower and found a black blob. But tantalizingly, the shiny plastic mess also included a 2 MB flash EEPROM. The questions then is: can one replace the contents with your own music? Spoiler: yes, you can! [Sprite_tm] and a team of Buddha Chip Hackers distributed across the globe got to work. (Slides here.)

[Jeroen] started off with binwalk and gets, well, not much. The data that [Big Clive] dumped had high enough entropy that it looks either random or encrypted, with the exception of a couple tiny sections. Taking a look at the data, there was some structure, though. [Jeroen] smelled shitty encryption. Now in principle, there are millions of bad encryption methods out there for every good one. But in practice, naive cryptographers tend to gravitate to a handful of bad patterns.

Bad pattern number one is XOR. Used correctly, XORing can be a force for good, but if you XOR your key with zeros, naturally, you get the key back as your ciphertext. And this data had a lot of zeros in it. That means that there were many long strings that started out the same, but they seemed to go on forever, as if they were pseudo-random. Bad crypto pattern number two is using a linear-feedback shift register for your pseudo-random numbers, because the parameter space is small enough that [Sprite_tm] could just brute-force it. At the end, he points out their third mistake — making the encryption so fun to hack on that it kept him motivated!

Decrypted, the EEPROM data was a filesystem. And the machine language turned out to be for an 8051, but there was still the issue of the code resident on the microcontroller’s ROM. So [Sprite_tm] bought one of these flowers, and started probing around the black blob itself. He wrote a dumper program that output the internal ROM’s contents over SPI. Ghidra did some good disassembling, and that let him figure out how the memory was laid out, and how the flow worked. He also discovered a “secret” ROM area in the chip’s flash, which he got by trying some random functions and looking for side effects. The first hit turned out to be a memcpy. Sweet.

[Neil555]’s Rosetta Stone
Meanwhile, the Internet was still working on this device, and [Neil555] bought a flower too. But this one had a chip, rather than a blob, and IDing this part lead them to an SDK, and that has an audio suite that uses a derivative of WMA audio encoding. And that was enough to get music loaded into the flower. (Cue a short rick-rolling.) Victory!

Well, victory if all you wanted to do was hack your music onto the chip. As a last final fillip, [Sprite_tm] mashed the reverse-engineered schematic of the Buddha Flower together with [Thomas Flummer]’s very nice DIY Remoticon badge, and uploaded our very own intro theme music into the device on a badge. Bonus points? He added LEDs that blinked out the LSFR that were responsible for the “encryption”. Sick burn!

Editor’s Note: This is the last of the Remoticon 2 videos we’ve got. Thanks to all who gave presentations, to all who attended and participated in the lively Discord back channel, and to all you out there who keep the hacking flame alive. We couldn’t do it without you, and we look forward to a return to “normal” Supercon sometime soon.

Noor III Solar Tower of the Ouarzazate Power Station, at dusk. (Credit: Marc Lacoste)

The Future Of Energy Storage On Both Sides Of The Meter

That energy storage is a hot topic is hardly a surprise to anyone these days. Even so, energy storage can take a lot of different forms, some of which are more relevant to the utility provider (like grid-level storage), while others are relevant to business and home owners (e.g. whole-house storage), and yet other technologies live in this tense zone between utility and personal interest, such as (electric) vehicle-to-grid.

For utilities a lot of noise is being made about shiny new technologies, such as hydrogen-based storage, while home- and business owners are pondering on the benefits of relying solely on the utility’s generosity with feed-in tariffs, versus charging a big battery from the solar panels on the roof and using the produced power themselves. Ultimately the questions here are which technologies will indeed live up to their promises, and which a home owner may want to invest in.

Continue reading “The Future Of Energy Storage On Both Sides Of The Meter”

Ask Hackaday: Is It Time For Waste Heat And Cold Area Heating To Shine?

It’s difficult to escape the topic of energy supply at the moment, with the geopolitical situation surrounding the invasion of Ukraine leaving the natural gas supply to an entire continent in jeopardy. Fortunately we’re watching the green shoots of an early spring here in the Northern hemisphere so the worst of the winter weather is behind us, but industrial customers can take no such solace from the season and will have to weather whatever price hikes are to come. Every alternative idea for energy supply is on the table, and with the parallel imperative of decarbonising the economy this goes beyond the short term into a future without so much need to rely on gas.

The Future is Cloudy

A district heating plant in Vienna, Austria.
A district heating plant in Vienna, Austria. Joadl, CC BY-SA 3.0 AT

A collaboration between a Finnish district heating network and Microsoft caught our eye because the location of a new data centre for the tech giant was chosen specifically to supply waste heat to the network, rather than releasing it to the environment. It’s not uncommon at all for European cities to use district heating networks but they are normally supplied by waste incinerators, boilers, or combined heat and power stations. The use of data centre waste heat is a novelty, as is in particular the siting of the data centre being dictated by the network.
Continue reading “Ask Hackaday: Is It Time For Waste Heat And Cold Area Heating To Shine?”

Camera held in hand

Review: Vizy Linux-Powered AI Camera

Vizy is a Linux-based “AI camera” based on the Raspberry Pi 4 that uses machine learning and machine vision to pull off some neat tricks, and has a design centered around hackability. I found it ridiculously simple to get up and running, and it was just as easy to make changes of my own, and start getting ideas.

Person and cat with machine-generated tags identifying them
Out of the box, Vizy is only a couple lines of Python away from being a functional Cat Detector project.

I was running pre-installed examples written in Python within minutes, and editing that very same code in about 30 seconds more. Even better, I did it all without installing a development environment, or even leaving my web browser, for that matter. I have to say, it made for a very hacker-friendly experience.

Vizy comes from the folks at Charmed Labs; this isn’t their first stab at smart cameras, and it shows. They also created the Pixy and Pixy 2 cameras, of which I happen to own several. I have always devoured anything that makes machine vision more accessible and easier to integrate into projects, so when Charmed Labs kindly offered to send me one of their newest devices, I was eager to see what was new.

I found Vizy to be a highly-polished platform with a number of truly useful hardware and software features, and a focus on accessibility and ease of use that I really hope to see more of in future embedded products. Let’s take a closer look.

Continue reading “Review: Vizy Linux-Powered AI Camera”

2022 Hackaday Prize Hack Chat

Join us on Wednesday, April 13 at noon Pacific for the 2022 Hackaday Prize Hack Chat with Majenta Strongheart!

Let’s face it: this world is pretty broken right now. From environmental crisis to disease and famine, shortages of just about everything, infrastructure failures, not to mention wars and social breakdown, things are getting pretty hairy out there. While it’s tempting to just curl up and pretend everything is good, that’s probably not going to work as even a short-term plan.

Luckily, we hackers are uniquely positioned for situations like this. After all, we fix stuff, and we’re certainly living in a target-rich environment of stuff that needs fixing. What’s more, nothing gives us as much fulfillment as taking a situation that everyone else thinks is beyond help and turning it into a solved problem.

join-hack-chatThese are the times that people like us can really shine, and the 2022 Hackaday Prize is the perfect forum for that. With this year’s theme of Sustainability, Resiliency, and Circularity, there’s plenty of scope for all of us to make a contribution. To help us get kicked off, Majenta Strongheart, Head of Design and Partnerships at Supplyframe, will drop by the Hack Chat with all the details on this year’s Prize.

Come prepared to pick her brain on how the Prize is going to work this year, find out about the different challenge opportunities, and learn everything there is to know about this year’s competition. It’s the Greatest Hardware Design Challenge on Earth, and we need it now more than ever.

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

Hackaday Links Column Banner

Hackaday Links: April 10, 2022

A funny thing happened on the way to the delta. The one on Jezero crater on Mars, that is, as the Perseverance rover may have captured a glimpse of the parachute that helped deliver it to the Red Planet a little over a year ago. Getting the rover safely onto the Martian surface was an incredibly complex undertaking, made all the more impressive by the fact that it was completely autonomous. The parachute, which slowed the descent vehicle holding the rover, was jettisoned well before the “Sky Crane” deployed to lower the rover to the surface. The parachute wafted to the surface a bit over a kilometer from the landing zone. NASA hasn’t confirmed that what’s seen in the raw images is the chute; in fact, they haven’t even acknowledged the big white thing that’s obviously not a rock in the picture at all. Perhaps they’re reserving final judgment until they get an overflight by the Ingenuity helicopter, which is currently landed not too far from where the descent stage crashed. We’d love to see pictures of that wreckage.

Continue reading “Hackaday Links: April 10, 2022”

Retrotechtacular: A DIY Television For Very Early Adopters

By our very nature, hackers tend to get on the bandwagon of new technology pretty quickly. When something gee-whiz comes along, it’s folks like us who try it out, even if that means climbing steep learning curves or putting together odd bits of technology rather than waiting for the slicker products that will come out if the new thing takes off. But building your own television receiver in 1933 was probably pushing the envelope for even the earliest of adopters.

“Cathode Ray Television,” reprinted by the Antique Valve Museum in all its Web 1.0 glory, originally appeared in the May 27, 1933 edition of Popular Wireless magazine, and was authored by one K D Rogers of that august publication’s Research Department. They apparently took things quite seriously over there at the time, at least judging by the white lab coats and smoking materials; nothing said serious research in the 1930s quite like a pipe. The flowery language and endless superlatives that abound in the text are a giveaway, too; it’s hard to read without affecting a mental British accent, or at least your best attempt at a Transatlantic accent.

In any event, the article does a good job showing just what was involved in building a “vision radio receiver” and its supporting circuitry back in the day. K D Rogers goes into great detail explaining how an “oscillograph” CRT can be employed to display moving pictures, and how his proposed electronic system is vastly superior to the mechanical scanning systems that were being toyed with at the time. The build itself, vacuum tube-based though it was, went through the same sort of breadboarding process we still use today, progressing to a finished product in a nice wood cabinet, the plans for which are included.

It must have been quite a thrill for electronics experimenters back then to be working on something like television at a time when radio was only just getting to full market penetration. It’s a bit of a puzzle what these tinkerers would have tuned into with their DIY sets, though — the airwaves weren’t exactly overflowing with TV broadcasts in 1933. But still, someone had to go first, and so we tip our hats to the early adopters who figured things out for the rest of us.

Thanks to [BT] for the tip.