Hackaday Links Column Banner

Hackaday Links: March 17, 2024

A friend of ours once described computers as “high-speed idiots.” It was true in the 80s, and it appears that even with the recent explosion in AI, all computers have managed to do is become faster. Proof of that can be found in a story about using ASCII art to trick a chatbot into giving away the store. As anyone who has played with ChatGPT or its moral equivalent for more than five minutes has learned, there are certain boundary conditions that the LLM’s creators lawyers have put in place to prevent discussion surrounding sensitive topics. Ask a chatbot to deliver specific instructions on building a nuclear bomb, for instance, and you’ll be rebuffed. Same with asking for help counterfeiting currency, and wisely so. But, by minimally obfuscating your question by rendering the word “COUNTERFEIT” in ASCII art and asking the chatbot to first decode the word, you can slip the verboten word into a how-to question and get pretty explicit instructions. Yes, you have to give painfully detailed instructions on parsing the ASCII art characters, but that’s a small price to pay for forbidden knowledge that you could easily find out yourself by other means.

Continue reading “Hackaday Links: March 17, 2024”

RP2040 Boot Loader Is A Worm

[Hunter Adams] has written a secondary bootloader for the RP2040 that uses an IR link and can be extended to behave like a polite worm virus. This allows the easy updating of a large cluster of co-located RP2040-based controllers. This could be handy in applications like swarm robotics or virtual cattle fencing. The project he demonstrates in the two videos ( below the break ) uses a pair of IR transmitters/receivers. But he purposely wrote the boot loader to be independent of the serial link, which could be infrared, radio, audio, or just wires.

Not only did [Hunter] make a boot loader, but he documented the entire boot process of the RP2040 chip. Whether or not you need a secondary bootloader, this is an excellent resource for understanding how the RP2040 responds to power cycling and resets. The boot loader code is available at his GitHub repository.

You may recall that [Hunter] is the lecturer of Cornell University’s Designing with Microcontroller classes, whom we’ve mentioned before. We’ve also covered some of his students’ projects as well, like these air drums and this CoreXY pen plotter.

Continue reading “RP2040 Boot Loader Is A Worm”

Simple NTP Clock Uses Custom RGB 7-Segment Displays

A great majority of hackers build a clock at some point. It’s a great way to get familiar with electronics and (often) microcontrollers, and you get to express some creativity along the way. Plus, you get something useful when you’re done! [Tadas Ustinavičius] recently trod this well-worn path and built a neat little NTP clock of their own.

The build uses an ESP 12F as the core of the operation. It’s charged with querying an NTP time server via its WiFi connection in order to maintain accurate timekeeping around the clock. For display, it drives a series of custom 7-segment displays that [Tadas] built using 3D-printed housings. They use WS2812B addressable LEDs and thus can display a rainbow of colors.

For initial configuration, the phone creates its own WiFi hotspot with a web interface for changing settings. Once configured, it connects to the Internet over WiFi to query an NTP server at regular intervals.

It’s a simple build that does a simple job well. Projects like these can be very valuable, as they teach you all kinds of useful skills. If you’ve been working on your own clock design, don’t hesitate to let us know. You can use a microcontroller, relays, or even a ball.

A Fully Automatic British Breakfast: Ready While You Sleep

What do you mean, the temporary breadboard setup went into production? (Credit: Gregulations, YouTube)
What do you mean, the temporary breadboard setup went into production? (Credit: [Gregulations], YouTube)
Among all the amazing technologies that were promised to us, there is one that is much more egregious than the lack of flying cars and real hovering hoverboards: the lack of fully automated breakfast-maker machines. Instead we find ourselves handling the same dumb appliances each morning as we make a healthy breakfast that we then have time to wolf down before rushing out of the door to still be a few minutes late for work. When [Greg] researched machines that could automatically prepare breakfast, he came up empty, which led him down the rabbit hole of the Autochef-9000.

Although often featured in movies – ranging from Back to the Future to Wallace and Gromit – the contraptions in those are rarely practical, and real-life attempts often suffer the problem of feature creep as they have to handle too many ingredients and operations. This is where [Greg] found redemption in the simplicity of a proper British breakfast: beans, toast, sausages (sossys), and eggs. Months of CAD, welding, breadboarding, and writing Arduino code later, he made a machine that can open a can of beans, toast bread, boil eggs, fry up sausages, and deposit it all on a plate, all ready for that morning breakfast first thing when you stroll into the kitchen.

Thanks to [htky] for the tip.

Continue reading “A Fully Automatic British Breakfast: Ready While You Sleep”

Creating A Numbers Station Of Your Very Own

Numbers stations are a weird phenomenon where odd voices read out long strings of numbers or random codewords to the confusion of the vast majority of the listening audience. If you’ve ever wanted to build one of your own, you could follow the example of [AudioWanderer].

NumberMumble, as it’s called, is a numbers station emulator. It doesn’t signal spy networks or reveal national secrets. Instead, it randomly plays audio samples using an Arduino, including characteristic bursts of white noise that make it sound more authentic. It relies on the Mozzi library to help with audio tasks, including generating white noise and playing back samples. It’s also kitted out with a filter knob for varying the tone. Audio output is via PWM.

If you want to confuse your neighbours with oddball audio, put this thing on a radio transmitter and get broadcasting. But don’t, because that’s illegal without the proper licenses or — you know — if you happen to be a real spy. Video after the break.

Continue reading “Creating A Numbers Station Of Your Very Own”

The Most Famous Room In Rock-n-Roll You’ve Never Seen

The study of audio technology has a lot of fascinating branches, and one or two of them even take the curious engineer not into electronics but into architecture. There’s the anechoic chamber with its complete lack of echo, but at the other end of the scale, there’s the echo chamber.

It’s normal in 2024 when searching for reverb to reach for a software plugin, but following the effect back through silicon, spring lines, and metal plates to the 1950s, we find an echo chamber as a real room with a speaker and a microphone placed in it. [Rick Beato] takes us into the echo chamber, starting with one of the few remaining originals and probably the one whose effect has been heard on the most highly-charting music, at the famous Abbey Road studio in London.

The video below the break is broadly in two parts, with the first concentrating on the Abbey Road chamber and the second showing how an empty room in a house can be used to make your own. It’s aimed at musicians rather than hardware hackers but we think it’s one of those moments of crossover that readers might find interesting. We were particularly curious about the tall ceramic tubes in the Abbey Road chamber, designed to further break up the sound waves for a greater depth of reverb.

The video shows how reverb can be achieved with just a room, but don’t worry if you’re space limited. A plate reverb needn’t break the bank. Or, grab a spring.

Continue reading “The Most Famous Room In Rock-n-Roll You’ve Never Seen”

Arduino Turned Into Something Kinda Like A Pager

Video may have killed the radio star, but cell phones and smart phones all but killed the pager. They still exist, of course, but only in very niche applications. [João Santos] wanted a pager-like experience for himself, though, so he enlisted an Arduino and got to work. Watch a video of the system working below.

The build uses an Arduino Uno to drive a simple HD44780 LCD display with 16 characters each across two lines of text. It’s hooked up to a Wemos D1, which uses its WiFi connection to get online. To this end, it’s capable of talking to a web application which allows users to enter text messages. It receives these messages, passes them to the Arduino Uno over I2C, and then the Uno shuttles the message to the display. It’s overkill, but [João] just found it quicker to get everything up and running via this route.

Continue reading “Arduino Turned Into Something Kinda Like A Pager”