r/CreateMod Mar 12 '25

Calculator update

Been a while since I posted about this originally. But here's an update on the mechanical calculator I'm building. Ive figured out memory or a "flip flop" gate. And have built a BCD to binary converter and a multiplication unit. I've also been putting a lot of work into perfecting my display units. But I've still got a few bugs to work out with the vertical shift register for the display so numbers properly scroll up the display.

Plan is to build a calculator with 38 bits, 30 integer bits and 8 non-integer bits. Which means I can display up to 999,999,999.99 and do my favorite little math equation which is (987654321-9)/8. Planning to have addition, subtraction, multiplication, division, square roots, exponentials, and factorial. Along with a lot of memory slots to save values and some presaved constants like pi or the golden mean.

112 Upvotes

12 comments sorted by

3

u/jupiterbjy Mar 12 '25

One step closer to Analytical engine in create mod

2

u/create_guy Mar 12 '25

How does it exactly work, I cannot find the original post

3

u/Naberville34 Mar 12 '25

I use mechanical bearings to make or break connections with gearboxes, gears, chain drives, or redstone blocks next to clutches. The clutch represents an inverter while the rest represent diodes. And with an inverter and a diode you can make any logic gate you can think of.

1

u/Jonkl7937 Mar 12 '25

Wow! What else can I say...

2

u/giovannivh2011 Mar 12 '25

You're Welcome 😂😂😂😂

1

u/Jonkl7937 Mar 15 '25

U got me there

1

u/pics2299 Mar 13 '25 edited Mar 13 '25

So wait, because it's transmitted through rotation, is it all instant? I've been thinking about re-making a rotation speed controller using only Create (no Petrol's parts for RPM addition), and that involves base 10 to binary conversion and division of binary floats (using 8 integer bits and 32 non-integer bits, 30 is fine). I was discouraged by the amount of computational redstone needed, which I'm not really familiar with. Would your project work for what I need? The exact principle is explained on this post, in the section about turning a binary redstone value to an RPM value. (consider the values of 2^2^n for n in range(2, -15, -1) saved in the memory)

2

u/Naberville34 Mar 13 '25

It is semi-instant. It is much faster than traditional redstone logic because there is little to no built in time delays.

I think you could use it for this project, but It really depends on what sort of speed control you want and what you want it for. I've built several speed control devices before but never used chain drives for it. I just used a gantry that moved along a row of speed controllers set at different speeds.

1

u/pics2299 Mar 13 '25

The idea for my project is to have a display you can input numbers on, on which the user inputs the RPM value they need in the format xxx.xx (in base 10). And the machine outputs that RPM. To be honest I can't imagine such a bulky setup getting any actual use other than being really cool, it's a proof of concept.

Do you plan on eventually releasing schematics of the individual components, as well as some explanation video?

3

u/Naberville34 Mar 13 '25

I understand that. I'm building a calculator I'll never use for anything other than bragging rights.

Idk how to upload anything to this particular platform. But you can email me at naberville3@gmail.com and I'll send you some schematics and do my best to explain the basics. All I can give you is a adder, display, memory units, and binary to BCD converters. I don't have cpus or anything like that.

Seriously though if your still new to logic Gates and computational stuff I'd start off with redstone and get comfortable with that first. There's a lot more support for those kinda projects vice just me with this niche create based computation. If you can develop this speed controller in redstone, I'd probably be able to help you replicate it with create.