Hopefully someone who has a 3D printer or a LOT of specific Legos, will find this instructable useful and save my time/efforts from being in vein :) A thing to take into thought before spending money on this: This hasn't been tested and I imagine all of the tolerance limitations legos have may cause it to not work. This is a concept design.
I didn't really want any springs, and hate when rubber bands are used in machines for long term use, so I designed it to work off gravity and it has to be standing up in order to work.
I didn't think of the entire thing, I just got the idea after learning how computers add numbers, and based the logic gate designs off of this guy's gates.
Please point out typos and mistakes i've made. Kinda made this quickly.
Step 1: How Does It Work?
Keep in mind, these all can likely be simplified, and I am 100% sure some of them can be compacted into smaller versions. Feel free to alter the design.
if you do not understand logic gates, I recommend watching this video. This is the video that I learned from and got the idea for this from.
Based on this video, we will need AND, OR, and XOR logic gates.
Step 2: The OR Gate
To download the designs and see how to put them together with instructions:
Download Lego Digital Designer
Download my design files by clicking on this link, and then searching in the username field "hifatpeople"
Step 4: The XOR Gate
Step 5: The Half Adder
I have files for every step on my lego page (the easiest place i could find to upload these files for sharing)
The labels I have on here are wrong, I actually don't remember what parts are what here.
Step 6: Full Adder
This picture contains a carry over bar, to carry digits over to the next full adder. You'll notice little white pegs too. this is so that the extension adders (additional full adders) can attach to the frame.
Step 7: The Completed and Wired 10 Digit Binary Calculator
The 10 digit adder file actually crashes the digital designer program due to bad program writing. I built my computer for about $1,000. It has a 4GHz 8 core processor, 32GB RAM, a gpu capable of games on ultra, and is run on an SSD. The program crashes when developing building instructions for this file while the processor and RAM are not used very much at all. That is why I make this instructable step by step by breaking it down into it's components.
It is tricky wiring it all together and you have to take into consideration that plastic flexes.
If you want the rest of the files, send me a message. I have 3D files for some parts if you have a 3D printer, and a parts list.