New Parts, New Hacks

The biggest news this week is that Raspberry Pi is no longer synonymous with single-board Linux computers: they’re dipping their toes into the microcontroller business with their first chip: the RP2040, and the supporting breakout board, the Pico. It’s an affordable, capable microcontroller being made by a firm that’s never made microcontrollers before, so that’s newsy.

The Hackaday comments lit on fire about this chip, with some fraction of the commenters lamenting the lack of wireless radios onboard. It’s a glass-half-full thing, I guess, but the RP2040 isn’t an ESP32, folks. It’s something else. And it’s got a hardware trick up its sleeve that really tickles my fancy — the programmable input/output (PIO) units.

The other half of the commenters were, like me, salivating about getting to try out some of the new features. The PIO, of course, was high on that list, but this chip also caters to folks who are doing high-speed DSP, with fast multiplication routines burnt into ROM and a nice accumulator. (You know you’re a microcontroller nerd when you’re reading through a 663-page datasheet and thinking about all the funny ways you can use and/or abuse the hardware peripherals.)

All chip designs are compromises. Nothing can do everything. The new peripherals, novel combinations of old elements, and just pleasant design decisions, open up new opportunities if you’re willing to seek them out. When the ESP32 was new, I was looking at their oddball parallel-I2S hardware and thinking what kind of crazy hacks that would enable, and clever hackers have proven me right. I’d put my money on the PIO being similar.

New chips open up new possibilities for hacks. What are you going to do with them?

Meet The Magic Eye Vacuum Tube

Vacuum tubes ruled electronics for several decades and while you might think of them as simple devices analogous to a transistor or FET, there were many special types. We’re all familiar with nixie tubes that act as numeric displays, and there are other specialty tubes that work as a photomultiplier, to detect radiation, or even generate microwaves. But one of the most peculiar and distinctive specialty tubes has an intriguing name: a magic eye tube. When viewed from the top, you see a visual indication that rotates around a central point, the out ring glowing while the inner is dark, like an iris and pupil.

By [Quark48] – CC BY-SA 2.0

These tubes date back to the RCA 6E5 in 1935. At the time, test equipment that used needles was expensive to make, so there was always a push to replace them with something cheaper.  They were something like a stunted cathode ray tube. In fact, the inventor, Allen DuMont, was well known for innovations in television. An anode held a coating that would glow when hit with electrons — usually green, but sometimes other colors. Later tubes would show a stripe going up and down the tube instead of a circle, but you still call them magic eyes.

The indicator part of this virtual meter took the form of a shadow. Based on the applied signal, the shadow would be larger or smaller. Many tubes also contained a triode which would drive the tube from a signal.

There’s a great web site full of information on these venerable tubes and it has examples of these tubes appearing in plenty of things. They frequently appeared in service equipment, radios, and tape recorders. They even appeared in pro audio equipment like the Binson Echorec echo-delay unit.

Continue reading “Meet The Magic Eye Vacuum Tube”

Hackaday Podcast 102: Raspberry Pi Microcontroller, Microphone Killswitch, And A 45-Degree 3D-Printer

Hackaday editors Elliot Williams and Mike Szczys sift through a week of excellent hacks. Big news is of course the Raspberry Pi microcontroller which Elliot had a few weeks to play around with on the bench before the announcement — it has some fascinating programmable modules (PIO) built in! Philips designed an LED light bulb that under-drives the LEDs for efficiency and long life. And Amazon added a nice little hardware disable circuit for the microphone in the Echo Flex — a rather extreme teardown shows how they did it. Plus we talk about an open source long-range RC protocol, wall-sized pen plotter art, and a 3D printer that angles the nozzle to avoid needing support.

Take a look at the links below if you want to follow along, and as always, tell us what you think about this episode in the comments!

Direct download (~65 MB)

Places to follow Hackaday podcasts:

Continue reading “Hackaday Podcast 102: Raspberry Pi Microcontroller, Microphone Killswitch, And A 45-Degree 3D-Printer”

This Week In Security: OpenWRT, Favicons, And Steganographia

OpenWRT is one of my absolute favorite projects, but it’s had a rough week. First off, the official OpenWRT forums is carrying a notice that one of the administrator accounts was accessed, and the userlist was downloaded by an unknown malicious actor. That list is known to include email addresses and usernames. It does not appear that password hashes were exposed, but just to be sure, a password expiration has been triggered for all users.

OpenWRT Security Notice

The second OpenWRT problem is a set of recently discovered vulnerabilities in Dnsmasq, a package installed by default in OpenWRT images. Of those vulnerabilities, four are buffer overflows, and three are weaknesses in how DNS responses are checked — potentially allowing cache poisoning. These seven vulnerabilities are collectively known as DNSpooq (Whitepaper PDF). Continue reading “This Week In Security: OpenWRT, Favicons, And Steganographia”

A Few Of My Favorite Things: Amateur Radio

Hackaday has among its staff a significant number of writers who also hold amateur radio licenses. We’re hardware folks at heart, so we like our radios homebrew, and we’re never happier than when we’re working at high frequencies.

Amateur radio is a multi-faceted hobby, there’s just so much that’s incredibly interesting about it. It’s a shame then that as a community we sometimes get bogged down with negativity when debating the minutia. So today let’s talk about a few of my favourite things about the hobby of amateur radio. I hope that you’ll find them interesting and entertaining, and in turn share your own favorite things in the comments below.

Continue reading “A Few Of My Favorite Things: Amateur Radio”

The Origin Of Cut, Copy, And Paste

I’m always fascinated that someone designed just about everything you use, no matter how trivial it is. The keyboard you type on, the light switch you turn on, even the faucet handle. They don’t just spontaneously grow on trees, so some human being had to build it and probably had at least a hazy design in mind when they started it.

Some things are so ubiquitous that it is hard to remember that someone had to dream them up to begin with. A friend of mine asked me the other day why we use Control+X and Control+V to manipulate the clipboard almost universally. Control+C for copy makes sense, of course, but it is still odd that it is virtually universal in an industry where everyone likes to reinvent the wheel. I wasn’t sure of the answer but figured it had to do with some of the user interface standards from IBM or Sun. Turns out, it is much older than that.

Continue reading “The Origin Of Cut, Copy, And Paste”

The $50 Ham: A Cheap Antenna For The HF Bands

So far in the $50 Ham series, I’ve concentrated mainly on the VHF and UHF bands. The reason for this has to do mainly with FCC rules, which largely restrict Technician-level licensees to those bands. But there’s a financial component to it, too; high-frequency (HF) band privileges come both at the price of learning enough about radio to pass the General license test, as well as the need for gear that can be orders of magnitude more expensive than a $30 handy-talkie radio.

But while HF gear can be expensive, not everything needed to get on the air has to be so. And since it’s often the antenna that makes or breaks an amateur radio operator’s ability to make contacts, we’ll look at a simple but versatile antenna design that can be adapted to support everything from a big, powerful base station to portable QRP (low-power) activations in the field: the end-fed half-wave antenna.

Continue reading “The $50 Ham: A Cheap Antenna For The HF Bands”