Published Dec 3rd, 2011, 12/3/11 3:21 pm
- 1,139 views, 1 today
- 79 downloads, 0 today
29
Redstone Adding Machine
This adding machine takes two decimal values of 0 through 15, and using redstone adds them together, displaying the answer on two 7 segment displays.
The machine is quite large, so make sure you have lots of room to paste.
The machine works as follows:
1) Takes two decimal inputs chosen via lever
2) Encodes them into binary
3) Runs the two binary numbers through a 5 bit adder, producing the one final binary output
4) Decodes the binary output into decimal
5) Runs the decimal output through to the appropriate 7 segment display decoder line
6) Decodes decimal signal into 7 segment information
7) Displays number
The machine is a little slow because it has a lot to do, and because I didn't build it as efficiently as possible, but it functions, and all the parts are easy to access if you want to have a look around and learn how it works.
I'm currently working on an add/subtracter that takes two inputs up to 30, runs using buttons/RS NOR array and functions much quicker. The machine works and outputs in binary perfectly, just building the decoder for 60 different variations is a nightmare, not including negative numbers which I may or may not include....
Progress | 100% complete |
Tags |
381372
2
Create an account or sign in to comment.
Really hard to do like this but good to try learn how it works.
If your new decoders getting too big; you might wanna use twos complement to implement negative numbers;all you do is imagine that your numbers start at -16 and go to 15 then; the first bit of the result is fed strait into the negative sign on the most significant screen and the remaining bits are decoded normally.
Can't wait to see.