Calculus And A Calculator

Earlier this year, [Dan Maloney] went inside mechanical calculators. Being the practical sort, [Dan] jumped right into the Pascaline invented by Blaise Pascal. It couldn’t multiply or divide. He then went into the arithmometer, which is arguably the first commercially successful mechanical calculator with four functions. That was around 1821 or so. But [Dan] mentions it used a Leibniz wheel. I thought, “Leibniz? He’s the calculus guy, right? He died in 1716.” So I knew there had to be at least a century of backstory to get to the arithmometer. Having a rainy day ahead, I decided to find out exactly where the Leibniz wheel came from and what it was doing for 100 years prior to 1821.

If you’ve taken calculus you’ve probably heard of Gottfried Wilhelm Leibniz (who would have been 372 years old on July 1st, by the way). He’s the guy that gave us the notation we use in modern calculus and oddly was one of two people who apparently figured out calculus, the other being Issac Newton. Both men, by the way, accused each other of stealing, although it is more likely they both built on the same prior work. When you are struggling to learn calculus, it is sometimes amazing that not only did someone think it up, but two people thought it up at one time. However, Leibniz also built what might be the first four function calculator in 1694. His “stepped reckoner” used a drum and some cranks and the underlying mechanism found inside of it lived on until the 1970s in other mechanical calculating devices. Oddly, Leibniz didn’t use the term stepped reckoner but called the machineĀ Instrumentum Arithmeticum.

Many of us remember when a four function electronic calculator was a marvel and not even very inexpensive. Nowadays, you’d have to look hard to find one that only had four functions and simple calculators are cheap enough to give away like ink pens. But in 1694, you didn’t have electronics and integrated circuits necessary to pull that off.

Continue reading “Calculus And A Calculator”

Philo Farnsworth, RCA, And The Battle For Television

The parenthood of any invention of consequence is almost never cut and dried. The natural tendency to want a simple story that’s easy to tell — Edison invented the light bulb, Bell invented the telephone — often belies the more complex tale: that most inventions have uncertain origins, and their back stories are often far more interesting as a result.

Inventing is a rough business. It is said that a patent is just a license to get sued, and it’s true that the determination of priority of invention often falls to the courts. Such battles often pit the little guy against a corporate behemoth, the latter with buckets of money to spend in making the former’s life miserable for months or years. The odds are rarely in the favor of the little guy, but in few cases was the deck so stacked against someone as it was for a young man barely out of high school, Philo Farnsworth, when he went up against one of the largest companies in the United States to settle a simple but critical question: who invented television?

Continue reading “Philo Farnsworth, RCA, And The Battle For Television”

Spy Tech: How An Apollo Capsule Landed In Michigan After A Layover In The USSR

There’s an Apollo module on display in Michigan and its cold-war backstory is even more interesting than its space program origins.

Everyone who visits the Van Andel Museum Center in Grand Rapids, Michigan is sure to see the Apollo Command ModuleĀ flanking the front entrance. Right now it’s being used as a different kind of capsule: a time capsule they’ll open in 2076 (the American tricentennial). If you look close though, this isn’t an actual Command Module but what they call a “boilerplate.”

Technically, these were mass simulators made cheaply for certain tests and training purposes. A full spacecraft costs a lot of money but these — historically made out of boilerplate steel — could be made with just the pieces necessary and using less expensive materials. What you might not know is that the boilerplate at the Van Ardel — BP 1227 — has a cold war spy history unlike any other boilerplate in the fleet.

The early life of BP 1227 is a little sketchy. It appears the Navy was using it for recovery training somewhere between the Azores and the Bay of Biscay in early 1969. We don’t know for sure if the picture to the left is BP 1227 or not. Comparing it to the one at the museum, it probably isn’t, but then again the museum’s does have a fresh paint job and possibly a top cap. Regardless, the picture to the left was from 1966 in the Atlantic, giving us an idea of how boilerplate capsules were put into service.

In those days — the height of the cold war — Naval ships were often followed by Soviet “fishing trawlers.” These were universally understood to be spy ships — Auxiliary, General Intelligence or AGI vessels.

Continue reading “Spy Tech: How An Apollo Capsule Landed In Michigan After A Layover In The USSR”

Electronics Manufacturers React To China Trade Tariffs

Mere weeks ago, the United States announced it was set to impose a 25% tariff on over 800 categories of Chinese goods. These tariffs include nearly every component that goes into the manufacture of any piece of electronic hardware, from resistors to capacitors, semiconductors to microcontrollers, and even the raw components that are turned into printed circuit boards. These tariffs will increase the cost of materials for electronics, even if those electronics are ultimately manufactured in the United States because suppliers and subcontractors must source their materials from somewhere, and more often than not, that place is China.

Now, manufacturers are feeling the pinch. An email distributed by Moog Music last Friday has asked their supporters to contact their senators and representatives.

In the world of musical synthesizers, there is no bigger name than Moog. The company was founded in the 1950s manufacturing theremins, and in the 1960s, production moved to synthesizers. The famous Minimoog, launched in 1970, has been featured on tens of thousands of albums. Modern music simply wouldn’t exist without Moog synthesizers. After a buyout, mismanagement, and bankruptcy in the 1980s, the company was reborn in the early 2000s, moved into a beautiful factory in Asheville, North Carolina, and has gone on to produce some of the most popular synthesizers ever made.

The company’s statement says these new tariffs will, ‘immediately and drastically increase the cost of building our instruments, and have the very real potential of forcing us to lay off workers and could.. require us to move some, if not all, of our manufacturing overseas’. In a statement on Twitter, Moog says they source half their PCBs and a majority of other materials domestically, already paying up to 30% more than if the PCBs were sourced from China. However, because the raw materials for PCB manufacture are also sourced from China, board manufacturers for Moog’s synths will be forced to pass along the 25% tariff to their customers.

The threat of Moog being forced to move production of their instruments to China is real. Like cell phones, laptops, and other finished goods, synthesizers are not covered by the new tariff. As noted by Bunnie Huang, these tariffs have the perverse incentive of shifting US manufacturing jobs to China.

These tariffs have been a point of contention for the electronics and engineering communities. Anyone can easily pull up the distributor information from a Mouser or Digikey order and find the country of origin for an entire Bill of Materials. It has already been confirmed that most of the FR4 and other raw components that go into manufacturing PCBs in the United States come from Chinese suppliers. These items can be cross-referenced with the list of items that will be subject to a 25% tariff next week. Manufacturing electronics in the United States, even if you get your PCBs from US manufacturers and parts from US suppliers, will cost more in just a few short days.

Coolest Way To Watch 3D Printing: Lights, Camera, Octolapse!

Octoprint is a household name for anyone into 3D printing and anyone regularly reading Hackaday. Described by creator Gina HƤußge as “the snappy web interface for your 3D printer”, Octoprint allows you to control effectively any desktop 3D printer over the local network or Internet. It even has webcam support so you can watch your printer while it works, meaning you can finally put that video baby monitor back into the crib with Junior.

While the core functionality of Octoprint is fantastic alone, its true power is unlocked through the plugin system and the community that’s sprung up around it. With plugins,Ā Octoprint can do everything from control RGB light strips in your printer’s enclosure to sending status messages via Discord. One particularly popular plugin that has been making the rounds lately is Octolapse by [FormerLurker]. This plugin provides a comprehensiveĀ intelligent system for creating time-lapse videos of prints.

What does that mean? Well, instead of simply taking a picture every few seconds like you’d do traditionally, Octolapse actually keeps track of the printer’s motions while its running. It can then take a picture at the opportune moment to create a number of user-selected effects. More importantly, it can even take control of the printer directly; moving the hotend away from the print before taking a picture. The effect is that the print simply “grows” out of the bed.

I thought it would be interesting to take a closer look at Octolapse and see just what it takes to create one of those awesome time-lapse videos. It turned out to be somewhat trickier than I anticipated, but the end results are so fantastic I’d say it’s a technique worth mastering.

Continue reading “Coolest Way To Watch 3D Printing: Lights, Camera, Octolapse!”

How Etak Paved The Way To Personal Navigation

Our recent “Retrotechtacular” feature on an early 1970s dead-reckoning car navigation system stirred a memory of another pre-GPS solution for the question that had vexed the motoring public on road trips into unfamiliar areas for decades: “Where the heck are we?” In an age when the tattered remains of long-outdated paper roadmaps were often the best navigational aid a driver had, the dream of an in-dash scrolling map seemed like something Q would build for James Bond to destroy.

And yet, in the mid-1980s, just such a device was designed and made available to the public. Dubbed Etak, the system was simultaneously far ahead of its time and doomed to failure by the constellation of global positioning satellites being assembled overhead as it was being rolled out. Given the constraints it was operating under, Etak worked very well, and even managed to introduce some of the features of modern GPS that we take for granted, such as searching for services and businesses. Here’s a little bit about how the system came to be and how it worked.

Continue reading “How Etak Paved The Way To Personal Navigation”

Linux Fu: Scripting For Binary Files

If you ever need to write a binary file from a traditional language like C, it isn’t all that hard to do. About the worst thing you might have to deal with is attempts to fake line endings across Windows and Linux, but there’s usually a way to turn that off if it is on by default. However, if you are using some type of scripting language, binary file support might be a bit more difficult. One answer is to use a tool like xxd orĀ t2b (text-to-binary) to handle the details. You can find the code for t2b on GitHub including prebuilt binaries for many platforms. You should be able to install xxd from your system repository.

These tools take very different approaches. You might be familiar with tools like od or hexdump for producing readable representations of binary files. The xxd tool can actually do the same thing — although it is not as flexible. What xxd can even reverse itself so that it can rebuild a binary file from a hex dump it creates (something other tools can’t do). The t2b tool takes a much different approach. You issue commands to it that causes it to write an original hex file.

Both of these approaches have some merit. If you are editing a binary file in a scripting language, xxd makes perfect sense. You can convert the file to text, process it, and then roll it back to binary using one program. On the other hand, if you are creating a binary file from scratch, the t2b program has some advantages, too.

I decided to write a few test scripts using bash to show how it all works. These aren’t production scripts so they won’t be as hardened as they could be, but there is no reason they couldn’t be made as robust as you were willing to make them.

Continue reading “Linux Fu: Scripting For Binary Files”