After seeing an exhibit of an old relay-based computer as a kid, [Simon] was inspired to build a simple two-relay latching circuit. Since then, he’s been fascinated by how relays can function to do computation. He’s come quite a long way from that first latching circuit, however, and recently finished a huge five-year project which uses electromechanical relays to calculate square roots.
The frame of the square root calculator can hold up to 30 identical relay modules, each of which hold 16 relays on PCBs, for a total of 480 relays. The module-based setup makes repair and maintenance a breeze. Numbers are entered into the computer by a rotary dial from an old phone and stored in the calculator’s relay memory. A nixie tube display completes the bygone era-theme of the device and shows either the current number that’s being entered, or the square root of that number as it’s being calculated.
The real magic of this project is that each relay has an LED which illuminates whenever the relay is energized, which shows the user exactly where all of the bits of the machine are going. [Simon] worked on this project from 2009 and recently completed it in 2014, and it has been featured at the San Mateo Maker Faire and at Microsoft Research in Redmond, WA. We’ve seen smaller versions of this before, but never on this scale and never for one specific operation like square roots.
Video below. Thanks to [Bonsaichop] for the tip!
Continue reading “Relays Calculate Square Roots”
Who wouldn’t want to build a computer out of relays? We do, but we’ve got too many projects on our plate already. It looks like [rory] has his priorities in order because his build is one of the most amazing we’ve ever seen.
We’ve seen [Harry Porter]’s amazing relay computer and we’re familiar with [Konrad Zuse]’s WWII era endeavours. Relay computers aren’t exactly uncommon, but [rory] built the TIM-8, that may be the smallest 8-bit relay computer ever. The total relay count in the TIM-8 is 152 compared to [Harry Porter]’s 415 relays. This isn’t a fair comparison because [Harry]’s uses 4-pole relays, while the TIM-8 uses 1-pole relays, making the [rory]’s project 8 times smaller than [Harry]’s.
There are a couple of neat features that makes the TIM-8 really exceptional. Programs for the TIM-8 are written in a text editor on [rory]’s desktop, then compiled and printed onto receipt paper. The TIM-8 has a few phototransistors to read the bands of white and black printed on the paper. [rory] has come a long way from a three bit adder made with relays and light bulbs.
Check out a ton of videos after the break. There’s a few demos of programs running off of receipt tape, calculating the Fibonacci sequence, and playing ‘Mary Had a Little Lamb’ on the relay sound card. Thanks to [J. Peterson] for sending this one in.
Continue reading “The TIM-8 is the smallest 8-bit relay computer ever”