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.

Making Coffee With Hydrogen

Something of a Holy Grail among engineers with an interest in a low-carbon future is the idea of replacing fossil fuel gasses with hydrogen. There are various schemes, but they all suffer from the problem that hydrogen is difficult stuff to store or transport. It’s not easily liquefied, and the tiny size of its molecule means that many containment materials that are fine for methane simply won’t hold on to it.

[Isographer] has an idea: to transport the energy not as hydrogen but as metallic aluminium, and generate hydrogen by reaction with aqueous sodium hydroxide. He’s demonstrated it by generating enough hydrogen to make a cup of coffee, as you can see in the video below the break.

It’s obviously very successful, but how does it stack up from a green perspective? The feedstocks are aluminium and sodium hydroxide, and aside from the hydrogen it produces sodium aluminate. Aluminium is produced by electrolysis of molten bauxite and uses vast amounts of energy to produce, but since it is often most economic to do so using hydroelectric power then it can be a zero-carbon store of energy. Sodium hydroxide is also produced by an electrolytic process, this time using brine as the feedstock, so it also has the potential to be produced with low-carbon electricity. Meanwhile the sodium aluminate solution is a cisutic base, but one that readily degrades to inert aluminium oxide and hydroxide in the environment. So while it can’t be guaranteed that the feedstock he’s using is low-carbon, it’s certainly a possibility.

So given scrap aluminium and an assortment of jars it’s possible to make a cup of hot coffee. It’s pretty obvious that this technology won’t be used in the home in this way, but does that make it useless? It’s not difficult to imagine energy being transported over distances as heavy-but-harmless aluminium metal, and we’re already seeing a different chemistry with the same goal being used to power vehicles.

Continue reading “Making Coffee With Hydrogen”