An Open Source PowerPC Notebook Edges Closer

Back in 2020, we reported on the effort to create a brand new open-source laptop platform using the PowerPC architecture. At the time they had big plans and a PCB design, and we’re very pleased to report that in the intervening two years they’ve progressed to the point of now having some real prototypes ready for testing.

Some might question why this should be necessary, after all there are plenty of laptops and more than one commonly available processor platform. But that’s to miss the point of open source hardware, that it’s as much about plurality as functionality. But if you’ve only encountered the PowerPC architecture in slightly older Macs and some game consoles, what’s the chip powering this device? The answer is, not one of those venerable chips, but the NXP T2080, a 1.8 GHz quad-core device that boasts a respectable power for a laptop.

There is of course many a hurdle still to be crossed between prototype and final device, but given the challenge of a functioning laptop it’s impressive for them to have reached this milestone at all. We look forward to seeing further iterations, and maybe, just maybe, a finished device one day. Our original coverage is here.

Power Over Ethernet, Explained

Most readers will be familiar with Ethernet networks in some form, in particular the Cat5 cables which may snake around the back of our benches. In a similar vein, we’ll have used power over Ethernet, or PoE, to power devices such as webcams. Buy a PoE router or switch, plug in a cable, and away you go! But what lies behind PoE, and how does it work? [Alan] has written a comprehensive guide, based on experience working with the technology.

What we get first is a run-down of the various topographies involved. Then [Alan] dives into the way a PoE port polls for a PoE device to be connected, identifies it, and ramps up the voltage. Explaining the various different circuits is particularly valuable. The final part of the show deals with the design of a PoE module, with a small switching power supply to give the required 48 volts.

All in all, this should be required reading for anyone who works with Ethernet, because it’s one of those things too often presented as something of a black box. If you’re thirsty for more, it’s a subject Hackaday have touched on too in the past.

A Very Tidy ATX Bench PSU

If there’s one thing that for decades of desktop PCs have given us, it’s a seemingly endless supply of relatively capable power supplies. If you need 5 volts or 12 volts at a respectable current they’re extremely useful, so quite a few people have used them as bench power supplies. Some of these builds box up the mess of wires into a set of more useful connectors, but [Joao Pinheiro] has taken his to the next level with a very neat 3D printed case and a set of variable switching regulators to make a variable bench supply with a top voltage of 60 volts.

In many ways it’s a straightforward wiring job to build, but there’s an unexpected power resistor involved. It’s sinking the 5 volt line, and we’re guessing that some current is required here for the PC power supply to run reliably. The thought of a high power resistor dumping heat into a 3D printed case leads us to expect that things might become a little melty though.

ATX power supplies are so numerous as to be expendable, so it’s always worth regarding them as a source of parts as well as a power supply.

An Affordable And Programmable PLC

We’re all used to general purpose microcontroller boards such as the Arduino or its many imitators, but perhaps we don’t see as much of their industrial cousins. A programmable logic controller (PLC) is a computer designed to automate industrial machinery, and comes with protected interfaces and usually a specific PLC programming environment. Thus [Galopago]’s work with an inexpensive Chinese PLC clone is especially interesting, providing a route forward to using it within the Arduino IDE ecosystem.

Opening it up, the processor is identified as an STM32F103, and the connection needed to place it in bootloader mode is identified. Then it can be programmed from the Arduino IDE, even though its bootloader can’t be changed. Then to complete the process it’s necessary to identify the various different inputs and outputs by old-fashioned hardware reverse engineering.

This PLC may not be quite as robust as some products costing much more money, but it still represents a cost-effective way to access a microcontroller board with much of the interface circuitry already installed that would normally be required for controlling machinery. We expect that we’ll be seeing it appear on these pages over the coming months, and perhaps there might even be another comparison in the air.

A Wheatstone Bridge Matches Your Pots

Sometimes the simplest hacks can be the most useful or ingenious, and such is the case with [Keri Szafir]’s method of ensuring that potentiometers used in audio devices are matched. If you consider a typical stereo amplifier for a moment, you’ll see two amplifiers in one box with a single volume control. Two channels, one knob? Volume knobs are ganged stereo potentiometers.

All potentiometers are not created equal, and particularly in the cheaper devices they may not have a consistently matched resistance across both pots and across their travel. This messes up the stereo balance, so naturally it’s worth selecting a part with good matching. [Keri] selects them not with his golden ears, but by wiring both pots together as a Wheatstone bridge. A meter between the two wipers would detect any current due to a mismatch.

A Wheatstone bridge is one of those handy circuits that has plenty of uses in both AC and DC measurements. We probably see them most often in a strain gauge.

A Tiny RISC-V Emulator Runs Linux With No MMU. And Yes, It Runs DOOM!

It’s something of an article of faith, that to run Linux your computer must include a hardware memory management unit, or MMU. To an extent it’s true, in that for a Linux-based system to shine it must have that hardware, but in fact there has been support for MMU-less Linux for many years now. Prolific hacker [cnlohr] has created an emulated simple RISCV processor without an MMU, and not only does it run Linux, it also runs DOOM.

The videos below the break go into significant depth on writing and debugging an emulator not to mention the inner workings of DOOM, but fear not if it’s not your thing. Everything can be found in a GitHub repository, and there are straightforward instructions should you wish to try it yourself.

All this is entertaining stuff, but it becomes of much more interest when viewed as part of an ongoing chain of projects working on no-MMU Linux for low-end RISC-V microcontrollers. Imagine the prospect of running Linux on a CPU costing relative pennies, and you can see why that’s an interesting prospect. Even if it’s not the most unexpected way to run Linux without an MMU.

Continue reading “A Tiny RISC-V Emulator Runs Linux With No MMU. And Yes, It Runs DOOM!”

Love AI, But Don’t Love It Too Much

The up-and-coming Wonder of the World in software and  information circles , and particularly in those circles who talk about them, is AI. Give a magic machine a lot of stuff, ask it a question, and it will give you a meaningful and useful answer. It will create art, write books, compose music, and generally Change The World As We Know It. All this is genuinely impressive stuff, as anyone who has played with DALL-E will tell you. But it’s important to think about what the technology can and can’t do that’s new so as to not become caught up in the hype, and in doing that I’m immediately drawn to a previous career of mine. Continue reading “Love AI, But Don’t Love It Too Much”