Hackaday Podcast 209: HDMI Tempest, Norm Upscaled, Seeing Electrons, And When The Radios Go Silent

It was one of those weeks, where Elliot and Dan found a bounty of interesting hacks to choose from for the podcast, making it hard to pick. But pick we did, and we found so many deep and important questions. What good is a leaky HDMI cable? Good for falling down a TEMPEST-like rabbit hole, that’s what. Why would you use a ton of clay to make a car? Because it’s cool, that’s why. What does an electron look like? A little like a wiggling wire, but mostly it looks like a standing wave… of waves.

Is artificial intelligence going to take over all the code and start suing us for copyright violations? Maybe yes, maybe no, but we’re definitely in a strange, new world. And when all our media is on demand, what is the spectrum that broadcasters currently use going to be good for?

It’s not all heavy questions, of course; we found a lot of fun hacks, like an extreme drill press makeover, a couple of low-power cyberdecks, the return of Norm Abram in glorious AI-generated HD, getting up close and personal with flip dot displays, and a sled that lets you go uphill as easily as going downhill.

Check out the links below if you want to follow along, and as always, tell us what you think about this episode in the comments!

Download your own personal copy!

Continue reading “Hackaday Podcast 209: HDMI Tempest, Norm Upscaled, Seeing Electrons, And When The Radios Go Silent”

That Cheap USB Charger Could Be Costly

[Big Clive] picked up a keychain battery to charge his phone and found out that it was no bargain. Due to a wiring mistake, the unit was wired backward, delivering -5 V instead of 5 V. The good news is that it gave him an excuse to tear the thing open and see what was inside. You can see the video of the teardown below.

The PCB had the correct terminals marked G and 5 V, it’s just that the red wire for the USB connector was attached to G, and the black wire was connected to 5 V. Somewhat surprisingly, the overall circuit and PCB design was pretty good. It was simply a mistake in manufacturing and, of course, shows a complete lack of quality assurance testing.

The circuit was essentially right out of the data sheet, but it was faithfully reproduced. We should probably test anything like this before plugging it into a device, but we typically don’t. Does our phone protect against reverse polarity? Don’t know, and we don’t want to find out. [Clive] also noted that the battery capacity was overstated as well, but frankly, we’ve come to expect that with cheap gadgets like this.

This isn’t, of course, the first phone charger teardown we’ve seen. This probably isn’t as deadly as the USB killer, but we still wouldn’t want to risk it.

Continue reading “That Cheap USB Charger Could Be Costly”

Hacker Hotel 2023 Had A Very Cool Badge

One effect of the global pandemic was that there were relatively few events in our sphere for a couple of years. This and that other by-product of COVID-19, the chip shortage, meant that over the past year we’ve been treated to several event badges that should have appeared in 2020 or 2021, but didn’t due to those cancelled events. We were lucky enough to receive probably the last of these delayed badges in mid February, as we made the journey to the central part of the Netherlands to Hacker Hotel 2023.

A Puzzle, A 4-Bit Computer, And An Artwork

The badge takes the form of a rectangular PCB with all parts on the top side. The brains of the operation is an RP2040, and it’s powered by a CR2032 coin cell in a holder.  It’s divided into two parts, the top third which carries the circuitry and the lower two thirds of which as a row of buttons and LEDs. It’s pretty obvious from the start that it has data and address lines of a 4-bit computer, and as well as these there is an evident serial port and a USB socket. The artwork comes form the same artist whose work graced both the previous Hacker Hotel badge and the MCH2022 badge, and the rear of the PCB makes full use of all layers to create a mystical puzzle. The sum is to create a puzzle game intended to entertain the visitor, take them round the venue, and find clues to an eventual solution. I love the design both from an artistic and technical viewpoint, but have to admit that the puzzle aspect isn’t really my thing. Thus here we’ll concentrate on the badge hardware and production, and mention the puzzles only in passing. Continue reading “Hacker Hotel 2023 Had A Very Cool Badge”

Cornell Updates Their MCU Course For The RP2040

The School of Electrical and Computer Engineering at Cornell University has made [Bruce Land]’s lectures and materials for the Designing with Microcontrollers (ECE 4760) course available for many years. But recently [Bruce], who semi-retired in 2020, and the new lecturer [Hunter Adams] have reworked the course and labs to use the Raspberry Pi Pico. You can see the introductory lecture of the reworked class below.

Not only are the videos available online, but the class’s GitHub repository hosts extensive and well-documented examples, lecture notes, and helpful links. If you want to get started with RP2040 programming, or just want to dig deeper into a particular technique, this is a great place to start.

From what we can tell, this is the third overhaul of the class this century. Back in 2012 the course was using the ATmega1284 AVR microcontroller, and in 2015 it switched to the Microstick II using a Microchip PIC32MX. Not only were these lecture series also available free online, but each has been maintained as reference after being replaced. One common thread with all of these platforms is their low cost of entry. Assuming you already have a computer, setting up the hardware and software development environment for these modules costs less than the price of a pizza dinner, a fact no doubt appreciated by the ECE department’s budget director.

We’ve covered this course before back in 2015 when it first changed. Another free online course on embedded system design is from [Prof James Conrad] at UNC Charlotte, based on the Renasas RX63N microcontroller — the UNC Charlotte team drove development of the autonomous vehicle project we covered back in 2009. If you know of other online embedded systems classes, let us know in the comments below.

Continue reading “Cornell Updates Their MCU Course For The RP2040”

A Tape Loop Echo You Can Build

Echo and reverb are now electronic audio effects done in a computer or an integrated circuit, but originally they were achieved through mechanical means. Reverb units used springs, and echo units used loops of magnetic tape. As a musician hankering after a mechanical tape echo unit, [Adam Paul] was left with no choice but to build his own. We featured an early prototype, but now he’s back with a finished version that’s intended to be replicated by other musicians.

The unit takes a cassette mechanism from one of the last still-manufactured players available through the usual sources. It splits record and play heads, with the normal cassette replaced with a tape loop made from extra-thick computer tape. A custom PCB replaces most of the electronics, and the auto-reverse system is disabled.

The result is a functional tape echo system, as can be seen in the video below the break. This is ready to build yourself, with everything on a GitHub repository and an extremely comprehensive build guide, so do any of you fancy a go?

Read about the device’s earlier incarnation here.

Continue reading “A Tape Loop Echo You Can Build”

Videos Teach Bare Metal RP2040

When we write about retrocomputers, we realize that back in the day, people knew all the details of their computer. You had to, really, if you wanted to get anything done. These days, we more often pick peripherals and just assume our C or other high level code will fit and run on the CPU.

But sometimes you need to get down to the bare metal and if your desire is to use bare metal on the RP2040, [Will Thomas] has a YouTube channel to help you. The first video explains why you might want to do this followed by some simple examples. Then you’ll find over a dozen other videos that give you details.

Any video that starts, “Alright, Monday night. I have no friends. It is officially bare metal hours,” deserves your viewing. Of course, you have to start with the traditional blinking LED. But subsequent videos talk about the second core, GPIO, clocks, SRAM, spinlocks, the UART, and plenty more.

As you might expect, the code is all in assembly. But even if you want to program using C without the SDK, the examples will be invaluable. We like assembly — it is like working an intricate puzzle and getting anything to work is satisfying. We get it. But commercially, it rarely makes sense to use assembly anymore. On the other hand, when you need it, you really need it. Besides, we all do things for fun that don’t make sense commercially.

We like assembly, especially on platforms where most people don’t use it. Tackling it on a modern CPU is daunting, but if you want to have a go, we know someone who can help.

Continue reading “Videos Teach Bare Metal RP2040”

Physics-Controlled Component Auto-Placer

[Jarrett] recently stumbled upon a class of drawing algorithms called force-directed graphs, which artificially apply forces to the elements. The final graph is then generated by applying the laws of physics and letting the system reach equilibrium. This can often result in a pleasing presentation of things like mind maps and other diagrams without having to hand-place everything. He realized that this approach almost mimics the way he places components when doing a PCB layout. Out of curiosity or intense boredom, we’re not sure which, he decided to implement this in a tool that interacts with KiCad ( see animated GIF below the break ).

He has to ignore certain nets such as power and ground rails, because they distort the result. This simulation treats the nets as springs, and the center of each footprint behaves a charged particle. [Jarrett] added a twist, literally, to the usual implementations — each net pulls on its pin, not the part center, and therefore the chips will both rotate and be pushed around as the system stabilizes.

The results are sometimes quite striking. Useful? Dubious, but maybe!

The project code is up on GitHub, but is very experimental and he is unlikely to carry it further. Among the missing features, the Python code must be tweaked for each different netlist files and other parameters, and there is no way to feed the result back into KiCad. But this is enough for [Jarrett], who only set out to see if the concept was possible. The code is available if anyone wants to try their hand at taking this to the next level.

Continue reading “Physics-Controlled Component Auto-Placer”