Bring Back That Aged Scanner, In Your Browser

We have probably all at some point had to replace a peripheral not because it is faulty, but because it is no longer supported by our operating system. It’s especially bad for Windows users, but for older hardware this is increasingly a part of the Linux experience too. [George MacKerron] is here with what may prove to be a valuable technique to keep these devices active. He’s running a minimalist x86 computer in the browser, with just enough OS to support the device.

In this case the hardware is a USB scanner, and the resulting software takes a WebAssembly x86 emulator and adds a bit of glue software allowing it to use WebUSB to talk to the real-world hardware. It runs a minimal Alpine Linux environment with SANE — something that’s normal for Linux users but which has never been there on a Windows machine. The result is something which needs no installation, but can be run on any machine with a powerful enough web browser.

While such an approach might at first seem like overkill, we’re told it runs surprisingly quickly. In this case it’s for scanner, but we can see it could find a use with many other pieces of aged hardware.

If WebAssembly is new to you, we gave it a primer a few years ago.


Header image: Fir0002/Flagstaffotos, GFDL 1.2.

CGA As You Have Never Seen It Before

An old-style graphics system as found on many 8-bit computers and on early PC graphics cards drew its characters by retrieving their bitmaps from a ROM. With a little sideways thinking, [GloriousCow] has exploited this process to make a CGA card perform graphical tricks it was never designed to do.

The CGA card clocks its character ROM continuously across the whole screen, even at the edges where nothing would normally be displayed. By placing the ROM in tandem with a Raspberry Pi Pico 2 they were able to use this ROM clocking as a synchronization signal, and inject whatever pixel data they chose.

The result is a CGA card that can display 60 Hz high-res graphics in text mode, albeit with a very retro one bit color depth. It can overlay the text and the graphics too, because the ROM is still present. One fun result of this is a bouncing DVD logo screensaver, on a DOS PC.

There’s a PCB and a promise of more, meanwhile we suggest you take a look at an impossible feat using a similar technique: NES Doom.

An E-Bike Motor From First Principles

Many of us have made electric transport of some form, whether a Hacky Racer, and e-bike, a go-kart, or whatever. We have invariably bought a motor, or if we are really adventurous, repurposed a car alternator. Not [Birdbrain] though, because she’s designed and built her own from first principles.

The video below goes into significant detail on the design of her motor, looking at cores, wire sixes, and configurations with a useful simulation along the way. We particularly like the way she uses a bandsaw to cut transformer laminations to shape for her core. The 3D printed housing initially isn’t strong enough for the forces induced by the magnets, but she attacks that problem with a new print. The motor works well, and as an added bonus there’s an introduction to the different types of motor driver. It seems the cheap ones don’t deliver a good waveform for the characteristics of the motor. Sadly she doesn’t fit it to a real bike in the video, but it seems this thing might just work.

If you lack the courage to make the whole thing from scratch, we took a quick look at the car alternator route a while back.

Continue reading “An E-Bike Motor From First Principles”

British Street Addresses, When Licenses Collide

The world of open source — and in particular open source licenses — is something we cover regularly here at Hackaday with respect to hardware and software, but it’s not so often we find open source data stories. Today’s case of the open British address data then is a bit of an outlier, but it may have implications for open source data further than British counties.

UK government data is released under the Open Government Licence, which is why we Brits can peer into all sorts of datasets our taxes paid for. This includes data from local government, so English counties release data sets of local addresses as part of their auditing of council taxes under the licence.

This is a picture of Barbra Streisand, who might almost be the patron saint of unintended consequences. Unknown author / Public domain
This is a picture of Barbra Streisand, the patron saint of unintended consequences.

[Owen Boswarva] has been collating these databases in order to produce a national open source address database, but has found himself at the receiving end of a legal threat from the Ordnance Survey, the UK mapping agency. They claim the data is theirs, not open.

British address data is in a sense open to all, in that there’s nothing to stop anyone walking down Acacia Avenue and noting the position of Number 1, Number 2, Number 3, and so on. This is what happened with OpenStreetMap worldwide, as people with GPS devices contributed their data and mapped the UK and everywhere else. The Ordnance Survey used to have a nice little earner charging top dollar for UK geospatial data which has been slashed by the arrival of OpenStreetMap, and we’re guessing that the prospect of losing another income stream to an open source equivalent has them worried.

The question of whether the councils should have released the data is one which will no doubt be settled at some point by the courts, and [Owen] goes into some detail on the subject in his analysis. There’s a good case to be made that the mapping agency are pushing it a little, but whatever the outcome it could set a dangerous precedent for open source data. We’ll keep you posted if there’s more on this story.


British street: Bill Harrison, CC BY-SA 2.0

Barbra Streisand: Unknown author, Public domain

Build The CPU, Then Build The Calculator

It’s possible that among Hackaday readers are the largest community of people who have designed their own CPU in the world. We have featured many here, but it’s possible that not so many of them have gone on to power an everyday project. Step forward [Baltazar Studios] then, with a scientific calculator sporting a self-designed CPU on an FPGA.

The calculator itself is nice enough, with a smart 3D printed case, an OLED display which almost evokes a VFD, and very well made buttons. But it’s the CPU which is of most interest, because while it follows a conventional Harvard architecture with a 12-bit instruction set, it works with 4-bit nibbles. This choice follows one used by HP in their calculator designs, seemingly because it can be optimised for the binary coded decimal which the calculator uses.

With calculators being yet another app on our spartphones or comnputers, there seems to be less use of calculators outside of education in 2026. But if you are a calculator user there’s nothing like a calculator you made yourself, and with a CPU of your own design it has few equals. We like this project almost as much as we like the Flapulator!

A Cyberdeck That Runs Linux…in An Altoids Tin

In the time Hackaday has been in existence we must have brought you plenty of projects housed in Altoids tins, as well as a sizeable number of cyberdecks. But until today with [Exercising Ingenuity]’s build, we’ve never brought you a project that combines the two. It’s a fully functional computer that runs Linux, and with its Altoids tin enclosure, looks for all the world like a miniature clamshell laptop.

Hardware wise it’s a Pi Zero with a UPS PHAT and an SPI display, but perhaps it’s arguably the home-made keyboard that really sets it apart. There’s a full-size USB port as well, and a selection of GPIOs are broken out to a header. It wasn’t all plain sailing though, the Altoids hinges needed modifying to make it close, and he driver for the SPI screen required an older version of Raspberry Pi OS. We will forgive it those foibles.

It’s fair to say we’ve not seen anything quite like this, in that there have been plenty of tiny laptops but never one as integrated as this. There’s a demo video with details of the build, that we’ve placed below.

Continue reading “A Cyberdeck That Runs Linux…in An Altoids Tin”

Another Gift To The World From CERN: Their Entire Set Of KiCad Libraries

As the foremost boffins of Europe toil deep underneath the border between Switzerland and France in their never-ending quest to truly understand the fabric of the Universe, they rely on a vast amount of electronics. The PCB layout team at the particle accelerator thus work with a huge array of parts, for which of course they create KiCad libraries. Now the folks at CERN have made those libraries available as open source, so you can benefit from their work.

The libraries themselves can be found in a GitLab repository, and at the moment are offered only for KiCad version 9.x. We tried installing it in our KiCad 10.0 installation and it refused — complaining of a missing JSON file — but we’re assuming that with more time and effort we could have made it happen. We’re told official 10.x compatibility is on the way.

Browsing the repository shows what a multiplicity of parts are included, so we can see this becoming a standard install for many people and the CERN footprints turning up in many projects featured here.

Thanks [Daniel] for the tip!