The Compute Module Comes Of Age: Say Hello To The Real Cutting Edge Of Raspberry Pi

If we wanted to point to an epoch-making moment for our community, we’d take you back to February 29th, 2012. It was that day on which a small outfit in Cambridge put on the market the first batch of their new product. That outfit was what would become the Raspberry Pi Foundation, and the product was a run of 10,000 Chinese made versions of their very first single board computer, the Raspberry Pi Model B. With its BCM2835 SoC and 512 megabytes of memory it might not have been the first board that could run a Linux distribution from an SD card, but it was certainly the first that did so for pocket money prices. On that morning back in 2012 the unforseen demand for the new board brought down the websites of both the electronics distributors putting it on sale, and a now-legendary product was born. We’re now on version 4 of the Model B with specs upgraded in almost every sense, and something closer to the original can still be bought in the form of its svelte stablemate, the Pi Zero.

How Do You Evolve Without Casualties?

The original Pi Model B+ from 2014.
The original Pi Model B+ from 2014. The form factor has had a few minor changes, but hardware-wise the Pi 4 follows this pretty closely. Lucasbosch, CC BY-SA 3.0.

The problem with having spawned such a successful product line is this: with so many competitors and copies snapping at your heels, how do you improve upon it? It’s fair to say that sometimes its competitors have produced more capable hardware than the Pi of the moment, but they do so without the board from Cambridge’s ace in the hole: its uniquely well-supported Linux distribution, Raspberry Pi OS. It’s that combination of a powerful board and an operating system with the minimum of shocks and surprises that still makes the Pi the one to go for after all these years.

Continue reading “The Compute Module Comes Of Age: Say Hello To The Real Cutting Edge Of Raspberry Pi”

A Deep Dive Into The Sound Of An Apple II

A major part of the retrocomputing scene for many of us lies in the world of chiptunes, music created either using original retrocomputing hardware or in the style of those early synthesiser chips. There’s one machine we don’t hear much about among all this though, and that’s the Apple II. Though probably one of the most expandable of all the 8-bit home computers, it lacked a sound channel beyond a speaker hooked up to a memory location port so any complex sound work had to be done via an add-on card. It’s something [Nicole Branagan] has investigated in depth, as she demonstrates first the buzz from the speaker and then what must have been an object of extreme desire back in the day, a Mockingboard sound card.

Her card is not an original but a modern recreation using the same hardware, which is to say a pair of 6522 VIA port chips, each driving an AY-3-8910 audio chip. This is already a familiar device to those who have heard an Amstrad CPC, a later Sinclair Spectrum or, an MSX, and in the Apple it delivers an impressive stereo sound thanks to both channels being present. Interestingly though, it delivers a far smoother output than an MSX playing the same music, probably because of a superior filtering circuit.

She wraps up with a discussion of coding on the Apple for the AY, and how to best accommodate the card on the later Apple IIgs. If the AY chip catches your interest, it’s also easy to drive from a microcontroller.

Showdown Time For Non-Standard Chargers In Europe

It seems that few features of a consumer electronic product will generate as much rancour as a mobile phone charger socket. For those of us with Android phones, the world has slowly been moving over the last few years from micro-USB to USB-C, while iPhone users regard their Lightning connector as the ultimate in connectivity. Get a set of different phone owners together and this can become a full-on feud, as micro-USB owners complain that nobody has a handy charging cable any more, USB-C owners become smug bores, and Apple owners do what they’ve always done and pretend that Steve Jobs invented USB. Throwing a flaming torch into this incendiary mix is the European Union, which is proposing to mandate the use of USB-C on all phones sold in its 27 member nations with the aim of reducing considerably the quantity of e-waste generated.

Minor annoyances over having to carry an extra micro-USB cable for an oddball device aside, we can’t find any reason not to applaud this move, because USB-C is a connector born of several decades of USB evolution and brings with it not only the reversible plug but also the enhanced power delivery standards that enable fast charging no matter whose USB-PD charger you are using. Mandating USB-C will put an end to needlessly overpriced proprietary cables, and bring eventual unity to a fractured world. Continue reading “Showdown Time For Non-Standard Chargers In Europe”

GPS? With Starlink, We Don’t Need It Any More!

To find your position on the earth’s surface there are a variety of satellite-based navigation systems in orbit above us, and many receiver chipsets found in mobile phones and the like can use more than one of them. Should you not wish to be tied to a system produced by a national government though, there’s now an alternative. It comes not from an official source though, but as a side-effect of something else. Researchers at Ohio State University have used the Starlink satellite broadband constellation to derive positional fixing, achieving a claimed 8-metre accuracy.

The press release is light on information about the algorithm used, but since it mentions that it relies on having advance knowledge of the position and speed of each satellite we’re guessing that it measures the Doppler shift of each satellite’s signal during a pass to determine a relative position which can be refined by subsequent observations of other Starlink craft.

The most interesting takeaway is that while this technique leverages the Starlink network, it doesn’t have any connection to the service itself. Instead it’s an entirely passive use of the satellites, and though its accuracy is around an order of magnitude less than that achievable under GPS it delivers a position fix still useful enough to fit the purposes of plenty of users.

Earlier in the year there was some amusement when the British government bought a satellite broadband company under the reported impression it could plug the gap left by their withdrawal from the European Galileo project. Given this revelation, maybe they were onto something after all!

Thanks [Renze] for the tip.

A Bike Trailer For Any Expedition

One of the greatest challenges for a hardware hacker relying only on a bicycle for transport lies in the regular need to carry more than can be slung from the handlebars or on the luggage rack of your trusty steed. One of our favourite YouTube creators in our sphere, [Laura Kampf], has addressed this problem with a trailer for her electric bike made from a pair of second-hand wheelbarrows. She uses their buckets to make a clamshell box, and their wheels alongside a custom steel chassis to make the rest of the trailer.

As always with Laura’s work it’s a delight to watch, with some careful use of the cutting wheel to install hinges and vents in the upper bucket. Finishing touches are a chequer plate top for the trailer and a spare wheel mounted on the back for that extra-rugged look. Experience with wheelbarrow wheels suggests to us that the slightly more expensive ones with ball bearings are worth the investment over the plastic ones, but either way this is a bike trailer that means business.

We don’t see as many bike trailers as we’d like here at Hackaday, and those few we have are old enough to have succumbed to link-rot. Perhaps this project might tempt a few people to try their hand?

Continue reading “A Bike Trailer For Any Expedition”

1981 Called, Here’s Your Software

How many of us who have a few decades of adulthood under our belts would like to talk to our 17 year old selves? “Hey kid, it’s all gonna be OK. Also, Duke Nukem Forever does come out eventually, but it’s not going to be pretty!” Being honest, exposure to the hot takes of one’s naive teenage self would almost certainly be as cringeworthy as the time-worn-but-familiar adult would be to the teenager, but there’s one way in which you can in a sense have a conversation with your teenage self. [Mad Ned] had this opportunity, when he discovered a printed BASIC listing for a game he’d written for the TRS-80 back in 1981. Could he make it run again, and what did it tell him about his teenage years?

Grizzled 8-bit veterans will tell you of countless hours spent typing poorly-reproduced listings found in magazines, and the inevitable pain that followed as all those mistypes were ironed out. [Ned] eschewed all that retro experience because this is the 21st century, and we now have much more powerful computers to do our bidding! The reality of incomplete OCR is one we’ll no doubt all be used to, and for 8-bit fans also the debugging that was needed to get the listing to run. Breaker Ball is an odd hybrid of Breakout and Space Invaders, and it’s his analysis of the teenage thinking that led to the game being the way it is that rounds off the piece.  Sadly we’re not treated to the entire listing, but there’s a short gameplay video we’ve placed below the break.

Continue reading “1981 Called, Here’s Your Software”

Drive High-Impedance Headphones With This Stylish USB DAC

For anyone with an interest in building audio projects, it’s likely that an early project will be a headphone amplifier. They’re relatively easy to build from transistors, ICs, or tubes, and it’s possible to build one to a decent quality without being an electronic engineering genius. It’s not often though that we see one as miniaturized as [daumemo]’s USB-C DAC and headphone amplifier combo, that fits within a slightly elongated 3.5 mm jack cover as part of a small USB-to-headphone cable.

The DAC is an off-the-shelf board featuring an ALC4042 IC, it has a line-level output and a handy place to tap off a 5 volt line for the amplifier. This final part is a tiny PCB with two chips, a TPS65135 that produces clean +5 and -5 volt rails, and an INA1620 which is a high-quality audio amplifier set up for 2x gain. All this has been designed onto a very small PCB, which sits inside a 3D-printed housing along with the 3.5 mm earphone socket. The result is a very neat unit far better able do drive high-impedance headphones than the output from an unmodified DAC, but still looking as svelte as any commercial product. We like it.

This may be one of the most compact USB-to-headphone amplifiers we’ve seen, but it’s by no means the first.