The purpose of this project is to gain a better understanding of how relays work and how early computer logic was able to use relays before the invention of transistors. The end product also aims to be simple and easy to operate for potential students and their parents touring the Design Engineering Studio (DES). Finally, the end product aims to sound pleasing to the ear by performing a series of satisfying mechanical clicks when operated.
The adder is to combine the sum of nine inputs, each of which being a power of two, into a binary output. The maximum sum value is 31. The calculator is capable of producing a possible 32 (25) unique sums (where zero is an acceptable sum). Each switch will add either a 2, 4, 6 or 8 to the total.
Parts List | |
---|---|
4× Full Adder Custom PCB | 5× DC Power Jack |
9× SPDT Toggle Switch | 4× DC Barrel Plug |
20W (5V@4A) Power Supply | 5× 10mm Red LED |
80× DPDT 5V 2A DC Relay | Grey PLA 3D Printer Filament |
6.5" of 1"×1" Square Acrylic tubing | Clear Acrylic Sheet |
24× Male/Female Pin Headers | Plywood Board |
This project started with choosing relays to be a component in the project through a class Yankee Swap. The planning and idea brainstorming came after choosing relays to be a main component. After researching historic use of relays as logic capable devices, the chosen project would be a modular full adder circuit.
Testing and research on creating logic gates with relays, specifically the NAND logic gate, proceeded the planned idea. NAND gates are important for logic operations as they can create any of the other logic gates when organized in specific ways. This testing and planning is similar to Project 2. Digital (Transistor-Based) Logic Gates, but with relays instead of transistors.
The design and fabrication of a custom PCB followed the creation of a full adder circuit diagram in EAGLE (PCB shown right, link to schematic image: https://goo.gl/cXBRqa). The next step, after the arrival of the PCBs, was soldering the components to the board and testing operation. This includes soldering yellow relays in such a way that the four boards together spell out the word "ACES".
![]() | ![]() |
Circuit board render with clips | Yellow relays soldered on boards A & C |
---|---|
Final Product | Output showing value of "11" |
Link to YouTube Video: https://youtu.be/XpCeyXjMD98 |
In conclusion, I am happy with the result of this project. I enjoyed working with relays, despite them not being my initial choice in the Yankee Swap. This project had the unique benefit of being a mini history lesson too. I learned, through research online, how relays used to be found in nearly all electronics prior to the widespread use of vacuum tubes and transistors. Through this project I also learned why relays are never used in logic applications anymore: they use a lot of power, are very expensive and are at risk of mechanical failure. I am also happy with the appearance of my final project and am happy that it is going to be displayed in the lab for potential and younger students to get excited about electronics. While there are many skills that this project did not require (coding being the most significant), I still believe that this project was a resounding success.
Lekule, Sostenes. "A Full-Adder." LEKULE BLOG, 21 Apr. 2015, http://sosteneslekule.blogspot.ca/2015/04/a-full-adder.html.
"Relay Logic Gates." Electro-Tech-Online.com, http://www.electro-tech-online.com/attachments/upload_2015-6-18_21-28-8-png.92993/.