HomeIoTDecking Out a DIY Relay Laptop

Decking Out a DIY Relay Laptop



As somebody who has designed and constructed many retro computer systems and peripherals, I do know very nicely how this kind of undertaking can take up residence in a single’s thoughts and refuse to go away till each final bit is full. A classic laptop fanatic that goes by the deal with DiPDoT is within the midst of such a undertaking proper now. After ending the construct of a really cool mechanical laptop 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 laptop wants some solution to load knowledge into its reminiscence, and that’s precisely what the relay laptop was lacking. For a pc modeled after the pre-transistor machines of the primary half of the 20th century, you would possibly count on a mass storage system to take the type of paper tape or playing cards. However the tools wanted to punch these tapes is sort of costly at present, so DiPDoT needed to get inventive and improvise a bit.

The concept DiPDoT got here up with is one thing that can be instantly acquainted to those who lower their tooth on early private computer systems in the beginning of the Nineteen 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 knowledge alerts 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 a sequence to latch incoming knowledge bits right into a full byte. This byte may then be loaded into reminiscence on the relay laptop.

Getting the clock sign working required changing an audio amplifier’s AC output to DC, which DiPDoT completed with a customized full-bridge rectifier. With a secure 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 downside. After some coding and experimentation, each channels of the tape performed again accurately and might be learn by the system.

The byte-building mechanism makes use of relay logic to mix incoming bits, from most important 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 throughout the appropriate clock part, fixing timing issues that may in any other case be attributable to the mechanical delays of the relays.

With knowledge loading working easily, the ultimate piece was connecting the system to the relay laptop’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 at all times be one thing else to do subsequent. Belief me.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments