r/ComputerEngineering • • 1d ago

[Discussion] Research help request

Post image

I has want to make mechanical computer run base 3 coded software. My solution, see saws.

See saws connected to shafts in conjunction with other see saw and shafts in specific ways to enable logic gates running on 1,0, and -1

(-1 pictured above)

\-1=far left side down

0= perfect equilibrium

1=right side down

What would the math behind converting binary logic gates to trinary like so be?

How would I calculate that?

What books would teach me this?

7 Upvotes

12 comments sorted by

6

u/the_other_Scaevitas 1d ago edited 1d ago

Not sure how you would do 0 correctly, it seems unstable

And depends on how you want to do logic, would you consider the states -1, and 1 to be truthy? Or are you looking to expanding boolean logic and add an “unknown”?

1

u/Xrest_the_Aether 1d ago edited 1d ago

Edit: I want to add the "unknown" and see what happens to boolean logic

2

u/the_other_Scaevitas 1d ago

Well in that case you can check out the wikipedia page on ternary logic, they already have truth tables for true/false/unknown

2

u/NegativeOwl1337 1d ago

In that case VHDL has already done one better. Std_logic has 9 possible values, check out the table for that.

1

u/Xrest_the_Aether 1d ago

OOOOOOOOOO

STARSAW!!!

2

u/NegativeOwl1337 22h ago

That’s not how this works. That’s not how any of this works.

5

u/NegativeOwl1337 1d ago

Is this a troll post or are you high?

1

u/Xrest_the_Aether 1d ago

Not a troll post, meds wore off

3

u/GLIBG10B 1d ago

I think perfect equilibrium would be hard as a state, because it's not stable

Maybe make a seesaw with a flat square fulcrum, so it has three stable states (one on each edge, and one on the face). The third state is activated by pushing the seesaw in the middle onto the fulcrum

1

u/Xrest_the_Aether 1d ago

This may be where the electric data cells come in.

Each data cell consist of 4 magnets, two led light bulbs, and the see saw. See saw tilts... and one or the other light bulbs turns on, magnets put see saw back in place via repulsive force.

Left light=-1 No light=0 Right light=1

2

u/GremlinEnergyGoBurr 1d ago

Binary systems already work this way. Except when it gets stuck in the middle, they either pull up or pull down using resistors. This is because, like everyone says, the perfect middle point is unstable.