DIY Scientific Calculator Powered By Pi Zero

It’s the eternal question hackers face: do you built it, or do you buy it? The low cost and high availability of electronic gadgets means we increasingly take the latter option. Especially since it often ends up that building your own version will cost more than just buying a commercial product; and that’s before you factor in the time you’ll spend working on it.

But such concerns clearly don’t phase [Andrea Cavalli]. Sure he could just buy a scientific calculator, but it wouldn’t really be his scientific calculator. Instead, he’s taking the scenic route and building his own scientific calculator from scratch. The case is 3D printed, the PCB is custom, and even the software is his own creation.

His PCB hooks right up to the GPIO pins of the internal Raspberry Pi Zero, making interfacing with the dome switch keyboard very easy. The board also holds the power management hardware for the device, including the physical power switch, USB connection for charging, and TPS79942DDCR linear regulator.

The case, including the buttons, is entirely 3D printed. At this point the buttons don’t actually have any labels on them, which presumably makes the calculator more than a little challenging to use, but no doubt [Andrea] is working on that for a later revision of the hardware. A particularly nice detail is the hatch to access the Pi’s micro SD card, making it easy to update the software or completely switch operating systems without having to take the calculator apart.

After the kernel messages scroll by, the Pi boots right into the Java calculator environment. This gives the user a fairly standard scientific calculator experience, complete with nice touches like variable highlighting. The Mario mini-game probably isn’t strictly required, but if you’re writing the code for your own calculator you can do whatever you want.

Here at Hackaday we’ve seen a calculator that got a Raspberry Pi upgrade, a classic scientific calculator emulated with an Arduino, and of course we’ve raved about the NumWorks open source graphing calculator. Even with such stiff competition, we think this project is well on its way to being one of the most impressive calculators we’ve ever come across.

Continue reading “DIY Scientific Calculator Powered By Pi Zero”

FxSolver Is A Math Notebook For Engineers

If you like to rely on the web to do your electronics and computer math, you’ll want to bookmark FxSolver. It has a wide collection of formulae from disciplines ranging from electronics, computer science, physics, chemistry, and mechanics. There are also the classic math formulations, too.

Continue reading “FxSolver Is A Math Notebook For Engineers”

DIY Coil Winding Machine Counts The Hacky Way

“Wait, was that 423 or 424?” When you’re stuck winding a transformer or coil that has more than a few hundred turns, you’re going to want to spend some time on a winding jig. This video, embedded below, displays a simple but sufficient machine — with a few twists.

The first elaboration is the addition of a shuttle that moves back and forth in sync with the main spindle to lay the windings down nice and smooth. Here, it’s tremendously simple — a piece of threaded rod and a set of interchangeable wheels that are driven by a big o-ring belt. We love the low-tech solution of simply adding a twist into the belt to swap directions. We would have way overthought the mechanism.

But then the hack is the digital counter made out of an old calculator. We’ve seen this before, of course, but here’s a great real-world application.

Thanks [Jānis] for the tip!

Continue reading “DIY Coil Winding Machine Counts The Hacky Way”

Shirt Pocket Slide Rule: History Of The HP-35

In a recently updated post, [Codex99] has a detailed history of the HP-35 pocket calculator. Unless you are a certain age, you probably don’t think much of calculators. They are cheap and not very essential in this day of cell phones and PCs. But in the 1970s they were amazing technology and the desire of every engineer and engineering student.

The story opens in 1965 when Tom Osborne — who was not an HP employee — build a floating point calculator he called the Green Machine. Apparently, he had painted the balsa wood case green. He had been showing it around but failed to get any interest until he showed it to Bill Hewlett. Hewlett wanted it to do trig functions and offered him a six-week consulting gig to work on improvements.

HP engineer Dave Cochran helped out and also helped envision making the device keystroke-programmable. By 1968, this collaboration led to a 40-pound desktop calculator — the HP 9100 — that was the size of a typewriter. It could be yours for only $4900. Keep in mind, that same amount would buy two brand new cars in 1968.

Continue reading “Shirt Pocket Slide Rule: History Of The HP-35”

Inside Mechanical Calculators

For as busy as things can get at the grocery store on a typical afternoon just before the dinner hour, at least the modern experience has one thing going for it: it’s relatively quiet. Aside from the mumbled greetings and “Paper or plastic?” questions from the cashier, and the occasional screaming baby in the next aisle, the only sound you tend to hear is the beeping of the barcode scanner as your purchase is tallied up.

Jump back just 40 years and the same scene was raucous, with cashiers reading price tags and pounding numbers into behemoth electromechanical cash registers. Back then, if you wanted help with any arithmetic with more than just a few operations, some kind of mechanical calculator was your only choice. From simple “one-banger” adding machines to complex analog computers, mechanical devices were surprisingly capable data processing tools. Here’s a brief look at how some of the simpler ones worked.

Continue reading “Inside Mechanical Calculators”

A Relay Calculator With DIY Neon Displays, Just Because

This looks like one of those projects that started out as a glimmer of an idea and led down a rabbit hole. But it’s a pretty cool rabbit hole that leads to homebrew neon seven-segment displays on a calculator with relay logic.

It’s a little thin on documentation so far, but that’s because [Mark Miller]’s build is one of those just-for-the-fun-of-it things. He started with a bag full of NE-2 tubes and the realization that a 3D-printed frame would let him create his own seven-segment displays. The frames have a slot for each segment, with a lamp and current limiting resistor tucked behind it; with leads brought out to pins and some epoxy potting, these displays would be hard to tell from a large LED seven-segment. Rolling your own displays has the benefit of being able to extend the character set, which [Mark] did with plus-minus and equal sign modules. All of these went together into a two-banger calculator — addition and subtraction only so far — executed in relays and vacuum tubes. Version 2.0 of the calculator regressed to all-relay logic, which must sound great.

We heartily regret the lack of a satisfyingly clicky video, but we’ll give it a pass since this is so cool. We’ll be watching for more on this project, but in the meantime, if you still need to get your click on, this electromechanical BCD counter should help.

FPGA Calculator Uses Joystick

FPGAs are great fun, but sometimes you need a few starter projects under your belt. These projects might be something you could just as well do with a CPU, but you have to start somewhere. [LambdaPI] recently shared a 4-bit calculator created using an FPGA, and you can see it in the video below.

The calculator uses a Papilio FPGA board and a LogicStart accessory board for the display and switches. The Papilio normally uses schematic-based entry and Arduino code, but [LambdaPI] used VHDL. You enter the two 4-bit numbers on the 8 switches and then the joystick selects one of four operations (add, subtract, multiply, and divide).

Continue reading “FPGA Calculator Uses Joystick”