Hoiktronics: Calculator with Decimal Inputs and Output

DicemanX

Brain of Cthulhu
I finally succeeded in creating a calculator with decimal inputs and output! This is one of my most complex builds to date. My previous calculator had a decimal output but required binary inputs, so this updated machine is quite a step forward! The showcased calculator currently only does addition, but of course can be easily expanded to do other types of arithmetic.

The calculator is the fusion of a number of mechanisms that I built and showcased previously:

1) Decimal input machine (http://forums.terraria.org/index.ph...chine-dummies-amazing-signaling-agents.30460/)
2) BCD-to-binary converter (http://forums.terraria.org/index.php?threads/project-bcd-to-binary-converter.30458/)
3) Ripple-carry adder
4) Binary-to-BCD converter
5) BCD-to-decimal converter

The converters all use giant logic gates that I discussed in this thread:
http://forums.terraria.org/index.ph...ic-gates-example-applications-included.29987/

I also heavily used @inomanoms' modules for all the converters, described in the giant logic gate thread.


Video showcasing the calculator:



Snapshot of the Interface:

18DFEA18C7E55F82FCBD59F32EAFE42F2E52B600



The calculator protocol:


1) Input a 1-3 digit number by pulling the numbered levers
2) Pull the + (addition) lever
3) Input a second 1-3 digit number
4) Pull the E(nter) lever

The calculation takes about 12 seconds. Pulling the E lever activates the BCD-to-binary conversion of the second number that was input (which takes about 5 seconds), and after the conversion finishes the ripple-carry adder is activated (which takes around half a second). After the addition is completed, the binary-to-BCD converter is activated (which also takes about 5 seconds) and then the BCD-to-decimal converter finishes things off (less than half a second).

To clear the inputs, the C(lear) lever needs to be pulled once.


Schematics:

CkePUVh.jpg


N88d2hj.jpg




World Download:

https://drive.google.com/file/d/0B4b_4cIU1vVBSWJNLVJRREdoN3M/view?usp=sharing
 
Back
Top Bottom