Joost Bürgi And Logarithms

Logarithms are a common idea today, even though we don’t use them as often as we used to. After all, one of the major uses of logarithms is to simplify computations, and computers do that just fine (although they might use logs internally). But 400 years ago, doing math was painful. Enter Joost Bürgi. According to [Welch Labs], his book of mathematical tables should have changed math forever. But it didn’t.

If you know how a slide rule works, you’ll find you already know much of what the video shows. The clockmaker was one of the people who worked out how logs could simplify many difficult equations. He created a table of 23,030 “red and black” numbers to nine digits. Essentially, this was a table of logarithms to a very unusual base: 1.0001.

Why such a strange base? Because it allowed interpolation to a higher accuracy than using a larger base. Red numbers are, of course, the logarithms, and the black numbers are antilogs. The real tables are a bit hard to read because he omitted digits that didn’t change and scaled parts of it by ten (which was changed in the video below to simplify things). It doesn’t help, either, that decimal points hadn’t been invented yet.

What was really impressive, though, was the disk-like construct on the cover of the book. Although it wasn’t mentioned in the text, it is clear this was meant to allow you to build a circular slide rule, which [Welch Labs] does and demonstrates in the video.

Unfortunately, the book was not widely known and Napier gets the credit for inventing and popularizing logarithms. Napier published in 1614 while Joost published in 1620. However, both men likely had their tables in some form much earlier. However, Kepler knew of the Bürgi tables as early as 1610 and was dismayed that they were not published.

While we enjoy all kinds of retrocomputers, the slide rule may be the original. Want to make your own circular version? You don’t need to find a copy of this book.

Continue reading “Joost Bürgi And Logarithms”

Hackaday Links Column Banner

Hackaday Links: January 7, 2024

Oh, perfect — now our cars can BSOD. At least that’s how it looks from a forum post showing a Blue Screen of Death on a Ford Mustang Mach E, warning that an over-the-air software update failed, and now the car can’t be driven. The BSOD includes a phone number to reach Ford’s Customer Relationship Center and even presents a wall of text with specific instructions to the wrecker driver for loading the bricked vehicle onto a flatbed. Forum users questioned the photo’s veracity, but there are reports of other drivers getting bricked the same way. And we’ve got to point out that even though this specific bricking happened to an EV, it could just have easily happened to an ICE vehicle too; forum members were particularly prickly about that point. It would be nice if OTA software updates on vehicles could always roll back to the previous driveable state. Still, we suppose that’s not always possible, especially if memory gets corrupted during the update. Maybe the best defense against a bricked vehicle would be to keep a beater around that doesn’t need updates to keep running.

Continue reading “Hackaday Links: January 7, 2024”

Hacking An NFC E-Paper Display From Waveshare With Mystery MCU

These days e-paper (eInk) displays are everywhere, with stores being one of the largest users of smaller, monochrome versions of these persistent displays. This has also made them a solid target of hackers who seek to not only reverse-engineer and reuse discarded ones, but also ones sold to consumers, with [Aaron Christophel] recently reverse-engineering and flashing custom firmware (GitHub source) to a Waveshare 2.13″ NFC-Powered E-Paper display.

What’s perhaps most notable is how locked-down and devoid of documentation these devices are. The board [Aaron] looked at did not have any markings on the main IC, and Waveshare did not provide more information other than the Android and iOS apps. This led to some matching of various NFC-enabled MCUs with the pinout, with the Chivotech TN2115S2 rolling out as the most likely candidate. This is an 8 MHz Cortex-M0 MCU with not only NFC, but also an energy harvesting feature (up to 300 mW), which is why this e-paper tag can update the display without external power or a battery.

With the Chivotech datasheet being rather sparse, more reverse-engineering needed to be done, which included dumping the firmware and exploring it with Ghidra. During this, the secret key was discovered to make the Flash writeable along with how to control the peripherals and display. With this knowledge it’s now possible to make this tag display update without being limited by manufacturer-supplied tools and software, making it infinitely more useful.

Continue reading “Hacking An NFC E-Paper Display From Waveshare With Mystery MCU”

Review: LibrePCB Hits Version 1.0

Nearly three years ago at the start of 2020 and before the pandemic hit, we took a look at an up-and-coming player in the world of PCB design. LibrePCB is by no means as old as the more established players, but at the time it was joining the ranks of open-source EDA packages with its first early stable releases. It showed a lot of promise but was still a little rough around the edges back then, but in the years since it’s advanced to the extent that in September they released version 1.0. That’s a significant moment for any open source package, so it’s time to return and take another look. It’s a cross-platform package with builds available for Linux, Windows, MacOS and FreeBSD, of which I needed the Linux version. There are one or two options to choose from, I went for the appImage as probably the least trouble. Very quickly I was in a new EDA package, and I set out to make a simple Schmitt trigger oscillator as a test project. Continue reading “Review: LibrePCB Hits Version 1.0”

A software-defined radio system in a 3D-printed case with a 7" display and an array of knobs and switches

Hackaday Prize 2023: A Software-Defined Radio With Real Knobs And Switches

When cheap digital TV dongles enabled radio enthusiasts to set up software defined radio (SDR) systems at almost zero cost, it caused a revolution in the amateur radio world: now anyone could tune in to any frequency, with any modulation type, by just pointing and clicking in a computer program. While this undoubtably made exploring the radio waves much more accessible, we can imagine that some people miss the feeling of manipulating physical buttons on a radio while hunting for that one faint signal in a sea of noise. If you’re one of those people, you’re in luck: [Kaushlesh C.] has built a portable, self-contained SDR system with real knobs and switches, called SDR Dock 1.0. Continue reading “Hackaday Prize 2023: A Software-Defined Radio With Real Knobs And Switches”

The 2003 Northeast Blackout And The Harsh Lessons Of Grid Failures

The grid failure in 2003 which reverted much of the eastern US and Canada back to a pre-electrification era may be rather memorable, yet it was not the first time that a national, or even international power grid failed. Nor is it likely that it will be the last. In August of 2023 we mark the 20th anniversary of this blackout which left many people without electricity for up to three days, while costing dozens of  people their lives. This raises the question of what lessons we learned from this event since then.

Although damage to transmission lines and related infrastructure is a big cause of power outages – especially in countries where overhead wiring is the norm – the most serious blackouts involve the large-scale desynchronization of the grid, to the point where generators shutdown to protect themselves. Bringing the grid back from such a complete blackout can take hours to days, as sections of the grid are reconnected after a cascade scenario as seen with the 2003 blackout, or the rather similar 1965 blackout which affected nearly the same region.

With how much more modern society relies today on constant access to electrical power than it did twenty, let alone fifty-eight years ago, exactly how afraid should we be of another, possibly worse blackout?

Continue reading “The 2003 Northeast Blackout And The Harsh Lessons Of Grid Failures”

Giving Solar Power’s Mortal Enemies A Dusting Without Wasting Water

A prerequisite for photovoltaic (PV) and concentrated solar power (CSP) technologies to work efficiently is as direct an exposure to the electromagnetic radiation from the sun as possible. Since dust and similar particulates are excellent at blocking the parts of the EM spectrum that determine their efficiency, keeping the panels and mirrors free from the build-up of dust, lichen, bird droppings and other perks of planetary life is a daily task for solar farm operators. Generally cleaning the panels and mirrors involves having trucks drive around with a large water tank to pressure wash the dirt off, but the use of so much water is problematic in many regions.

Keeping PV panels clean is also a consideration on other planets than Earth. So far multiple Mars rovers and landers have found their demise at the hands of Martian dust after a layer covered their PV panels, and Moon dust (lunar regolith) is little better. Despite repeated suggestions by the peanut gallery to install wipers, blowers or similar dust removal techniques, keeping particulates from sticking to a surface is not as easy an engineering challenge as it may seem, even before considering details such as the scaling issues between a singular robot on Mars versus millions of panels and mirrors on Earth.

There has been research into the use of the electrostatic effect to repel dust, but is there a method that can keep both solar-powered robots on Mars and solar farms on Earth clean and sparkling, rather than soiled and dark?

Continue reading “Giving Solar Power’s Mortal Enemies A Dusting Without Wasting Water”