Exploring The Nuts And Bolts Of Pinball Machines

If you predate the video game craze, you might remember annoying your parents by spending money on pinball machines. These days, you can play on a computer if you like. Or you could build one using a microcontroller. But those old machines certainly didn’t have computers in them. At least, not digital ones. Authentic pinball machines were full of relays, solenoids, motors, and leaf switches. [Matt Makai] has the rundown, in three parts, all available now.

Mechanics is the order of the day. The motive force moving the ball? Gravity, of course. Flippers you could control — now a staple — didn’t show up until 1947. How do you sense a ball impact on a bumper? A spoon switch. You can see animations explaining it all.

We worked on these old machines, along with their relatives like bowling machines, back in the day. They were both beautiful and terrible. The plastic drums that kept score had a ratchet pawl that let them turn exactly a tenth of a rotation on each score pulse.

These machines were as much art as they were technology. If you get a chance to visit a serious pinball museum (like the one in Las Vegas), it is amazing to walk through time from the very old machines to the more modern ones and see the differences in both electronics and artwork.

Of course, pinball predates even electronics, and if you look at the oldest machines, you’ll understand why it is called pinball. Of course, if they could build a good machine in the 1950s and 1960s, there’s no reason you can’t build one yourself today.

Hackaday Podcast Episode 396: Robot Hands, The Inner Life Of Mechanical Watches, And The Truth About 3D Scanning

Hackaday Editors Elliot Williams and Al Williams met to review the week in Hackaday. It was a week for hands, in more ways than one, along with a voice assistant that ditches the cloud, a GPU for twenty cents, glasses that help the visually impaired see with LiDAR, and a virtual mechanical watch that shows you exactly how the real thing ticks.

Beyond watch hands, you might like an eighteen-degrees-of-freedom robot hand for under $300 in parts.  Or plant your own hands on a spinning wheel to make virtual honey feel sticky and virtual oil feel slippery in VR.

For the Can’t-Miss Articles, Elliot digs into the truth about hobbyist 3D scanning, photogrammetry versus structured light, and why the meshes you get are rarely the CAD models you wanted. Al, meanwhile, looks at how modern smartphones talk to satellites, bent pipes, flying cell towers, and all.

Check out the links below to follow along, and as always, tell us what you think about this episode in the comments! Or drop us a note at mailbag@hackaday.com.

 

Download in non-robotic MP3 format.

Continue reading “Hackaday Podcast Episode 396: Robot Hands, The Inner Life Of Mechanical Watches, And The Truth About 3D Scanning” →

First Smartphone? Think Blue

High-tech for the 90s. “IBM Simon Personal Communicator” by [Bcos47]
If you ask most people when the smartphone arrived, they will usually say 2007 with the first iPhone. Others might argue for a BlackBerry or a Nokia Communicator. But the IBM Simon Personal Communicator beats them all. It wasn’t even close. This early smartphone went on sale on August 16, 1994, more than twelve years before the iPhone, and it already had the defining features we now take for granted: a touch screen, applications, electronic mail, and a single device that was both a telephone and a small computer.

Simon started as a prototype code-named Sweetspot, at COMDEX two years earlier. It was the brainchild of IBM engineer [Frank Canova]. The prototype could make calls, send faxes, electronic mail, and cellular pages, and it had services such as maps, stocks, and news that would not be ordinary phone apps for years.

Refined

IBM refined the design as Angler, and the finished product got its final name from BellSouth, which would sell it. Simon was reportedly a nod to Simon Says, because the device was supposed to do what you told it to do. IBM didn’t build the phone, however. That was left to Mitsubishi Electric. Informally, many people called it a “ThinkPhone” in a nod to the famous IBM Think sign that was always somewhere around an IBM mainframe.

Inside, Simon was an 8086 computer. It used an NEC V30HL processor running at 16 MHz. It sported a whopping one megabyte of RAM, one megabyte of flash storage, a PCMCIA slot for expansion, and it ran Datalight ROM-DOS under a touch interface called Navigator. No DOS prompt in sight. The display was a monochrome, backlit LCD at 160 by 293 pixels, operated with a stylus, and the whole thing weighed eighteen ounces and measured eight inches tall. Pocketable? Maybe if you had very large pockets. Continue reading “First Smartphone? Think Blue” →

Watch This (Virtual) Mechanical Watch Do Its Thing

Normally, when we write about watches, they are the electronic kind. But we’re also fascinated by mechanical watches. It is amazing that these mechanisms have existed for centuries. [Martin C. Martin] is fascinated too, and he produced a page that explains how they work simply and also includes wonderful 3D animations that make it all clear. If you are just skimming the page, be sure to drag the animations to spin them around.

He was inspired by another page that has even more detailed information and different animations. It turns out the hairspring was invented by [Christiaan Huygens], who is also known for many other scientific advances in optics, astronomy, mathematics, and more. The main idea is that if you fix the far end of the spring and let the center rotate, the spring will wind and unwind at a constant rate. Combined with a balance wheel to slow the hairspring, you have a wheel that oscillates back and forth at a fairly constant rate. According to the post, a well-calibrated mechanical watch should lose about nine seconds a day. Given that there are 86,400 seconds in a day, that’s not bad (just a hair over 0.01%).

Continue reading “Watch This (Virtual) Mechanical Watch Do Its Thing” →

Ask Hackaday: Putting The C In CPU

I was once in a meeting where the facilitator asked us to introduce ourselves with the usual information, but also wanted us to share our favorite hobby. I spent a second trying to think of which hobby I could say to not sound like a total nerd. Then I realized it didn’t matter. All my hobbies are nerdy, including designing CPUs and their instruction sets.

I actually started sketching out an instruction set when I was a kid, back when no one had home computers. I am glad I lost that notebook: it would be painful to see today. The first CPU I put on an FPGA wasn’t of my own design, though. I implemented BLUE from Caxton Foster’s Computer Architecture book. I also extended it and modernized it a lot. I really wanted a C compiler for it.

C Compilation

That’s really the problem. C was once a simple language, but modern C is far from simple, and compilers are huge projects. I have looked before at porting GCC to a different architecture, and it looks daunting. There’s LLVM, which is a bit more modern, but also non-trivial to port. There are a few older compilers that ought to be easier, but they often aren’t quite modern enough. Plus, if your CPU were big enough, which BLUE isn’t, GCC or a similar modern compiler would be attractive because you could use it to get Linux going.

Keep in mind, though, I’m not talking about a C compiler that runs on BLUE. Just a cross-compiler. My OneDer CPU is 32-bit and could host a C compiler, though. That’s another reason to bite the bullet and do a “big” compiler port. Because even if BLUE isn’t that big, other CPUs are, and I’d love to have a GCC port under my belt.

Continue reading “Ask Hackaday: Putting The C In CPU” →

It Isn’t That The Trackpad Sings Well…

[Samuel Johnson] once remarked something about when a dog walks on its hind legs, it isn’t that it is done well, it is that it’s done at all. We imagine that’s what [os6]’s nospeaker project is like. It uses the haptic speaker in a MacBook trackpad to generate sound. You can hear it in the X post, embedded below.

To make the trick work, you need a Force Touch trackpad. These trackpads have a motor that taps glass to give you feedback. But if you drive the motors fast, the glass vibrating will make tones. Of course, the official API only offers three fixed taps. Then there is the private and undocumented MultitouchSupport interface.

To make it work, the system captures speech output from macOS and then finds the two strongest formants and feeds them to the motors. In theory, it is possible to use three resonances, but in practice that didn’t sound as good as using two.

Continue reading “It Isn’t That The Trackpad Sings Well…” →

Serial: The Port That Won’t Die

Computers have changed quite a bit over the last 60 years. Good luck plugging in an old MFM disk into your modern computer. Plugging in a parallel printer is difficult, although not impossible, as long as the device really is a printer. But the humble serial port refuses to die.

Sure, you probably don’t have a 25-pin connector on your laptop anymore. You might not even have a nine-pin connector. But serial communication is everywhere, especially if you work with microcontrollers or industrial equipment. The connectors have changed, but much of the underlying technology would be recognizable to someone working with a computer in 1975.

From Clicking Teletypes

The ASR-33 was the best way to talk to a computer until it wasn’t. (Photo by [ArnoldReinhold] CC-BY-SA-3.0)
Before video terminals, there were teletypes. These electromechanical beasts could send and receive characters over wires using a current loop. Older machines, such as the Teletype Models 15 and 28, commonly used 60 mA loops (and five-bit codes), often at 120 volts DC. Later machines, including the iconic ASR-33, generally used 20 mA loops. Current flowing represented a mark, while an interruption in the current represented a space. Marks and spaces on the line translate to 1s and 0s. The beauty of current loops was their simplicity, relative resistance to electrical noise, and their ability to drive very long cables.

Continue reading “Serial: The Port That Won’t Die” →