25.4 C
United States of America
Tuesday, July 15, 2025

Decking Out a DIY Relay Laptop



As somebody who has designed and constructed many retro computer systems and peripherals, I do know very properly how one of these venture can take up residence in a single’s thoughts and refuse to go away till each final bit is full. A classic pc fanatic that goes by the deal with DiPDoT is within the midst of such a venture proper now. After ending the construct of a really cool mechanical pc powered by relays, DiPDoT couldn’t shake the sensation that one thing was lacking. The one answer, in fact, was to construct that lacking element.

To be of a lot use, each pc wants some solution to load information into its reminiscence, and that’s precisely what the relay pc was lacking. For a pc modeled after the pre-transistor machines of the primary half of the 20 th century, you would possibly count on a mass storage machine to take the type of paper tape or playing cards. However the tools wanted to punch these tapes is sort of costly at this time, so DiPDoT needed to get inventive and improvise a bit.

The thought DiPDoT got here up with is one thing that can be instantly acquainted to those who minimize their enamel on early private computer systems originally of the Eighties — cassette tape storage. The plan was to make use of each channels of a stereo recording, with one serving because the clock sign to make use of as a latch, and the opposite a stream of bits to load into the machine.

Utilizing an Arduino, DiPDoT generated audio tones for the clock and information indicators and recorded them to the left and proper channels of a normal audio cassette. The clock channel pulses would drive a relay-based ring counter that stepped by means of a sequence to latch incoming information bits right into a full byte. This byte may then be loaded into reminiscence on the relay pc.

Getting the clock sign working required changing an audio amplifier’s AC output to DC, which DiPDoT achieved with a customized full-bridge rectifier. With a steady clock in place, the main focus shifted to the information sign. The Arduino’s default tone library couldn’t produce simultaneous tones on two channels, however a extra superior library solved that drawback. After some coding and experimentation, each channels of the tape performed again appropriately and might be learn by the system.

The byte-building mechanism makes use of relay logic to mix incoming bits, from most vital to least, right into a full 8-bit worth. A sequencer step on the finish then clears the latches in preparation for the subsequent byte. Logic relays act as gates to ensure bits are solely latched in the course of the appropriate clock section, fixing timing issues that will in any other case be attributable to the mechanical delays of the relays.

With information loading working easily, the ultimate piece was connecting the system to the relay pc’s reminiscence. DiPDoT added new sequencer steps to deal with loading reminiscence and advancing this system counter. After a little bit of rewiring every thing got here collectively in a neatly organized breadboard construct affectionately dubbed “The Monolith.”

The system was examined with a small program saved on cassette that loaded register values and shuffled them round in reminiscence earlier than halting. DiPDoT was visibly excited when the take a look at was profitable, however whereas all of the planning, prototyping, and troubleshooting paid off, there’ll all the time be one thing else to do subsequent. Belief me.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles