• 8/10/26 2:55 pm
- 28 views
- save_alt 10 downloads
- Progress
- 100% complete
0
Hello everyone. This is a Calculator I build. It works in both Java & Bedrock.
The calculator is 10 bit, i.e. you can (technically) enter numbers 0 to 1023, however the display only supports 3 digits, so 999 is the max number you can input and show. It can perform all four standard operations:
-Addition, with 11 bit output
-Subtraction, with 10 bit signed output, i.e. it also shows negative results
-Multiplication, with 20 bit output
-Division, with 3 decimals of precision
All the operations are done with combinational circuits, which means that the circuits are quite big (especially division), but it also means that we don''t need to press a "Start" or "Calculate" button to start the computations, the computations are done parallel to inputting the numbers.
In this build I wanted to keep things oldschool, so I didn't use any fancy adder designs, there are only standard Ripple Carry Adders used. I also only used redstone dust, redstone torches & repeaters. There are no comparators, observers, copper bulbs etc. used (but I used pistons for the input buttons, but not for something else).
For the binary to BCD converter, I used the following design: https://www.minecraftforum.net/forums/minecraft-java-edition/redstone-discussion-and/redstone-creations/355515-the-ultimate-double-dabble-module
The Ripple Carry Adder Design is the standard design shown in this video: https://youtu.be/Hl1dHFOl3Zo?si=Kkif1GiSn3f2OLU2
As far as I can tell, everything should work in both Java and Bedrock, but I'm not 100% sure. It could always happen that I accidentally broke some redstone, and only for very specific inputs there could be a wrong result. If you find an error please tell me and I will fix it.
The calculator is 10 bit, i.e. you can (technically) enter numbers 0 to 1023, however the display only supports 3 digits, so 999 is the max number you can input and show. It can perform all four standard operations:
-Addition, with 11 bit output
-Subtraction, with 10 bit signed output, i.e. it also shows negative results
-Multiplication, with 20 bit output
-Division, with 3 decimals of precision
All the operations are done with combinational circuits, which means that the circuits are quite big (especially division), but it also means that we don''t need to press a "Start" or "Calculate" button to start the computations, the computations are done parallel to inputting the numbers.
In this build I wanted to keep things oldschool, so I didn't use any fancy adder designs, there are only standard Ripple Carry Adders used. I also only used redstone dust, redstone torches & repeaters. There are no comparators, observers, copper bulbs etc. used (but I used pistons for the input buttons, but not for something else).
For the binary to BCD converter, I used the following design: https://www.minecraftforum.net/forums/minecraft-java-edition/redstone-discussion-and/redstone-creations/355515-the-ultimate-double-dabble-module
The Ripple Carry Adder Design is the standard design shown in this video: https://youtu.be/Hl1dHFOl3Zo?si=Kkif1GiSn3f2OLU2
As far as I can tell, everything should work in both Java and Bedrock, but I'm not 100% sure. It could always happen that I accidentally broke some redstone, and only for very specific inputs there could be a wrong result. If you find an error please tell me and I will fix it.
More like this
7016320
2


Have something to say?