Two Buttons Suffice - The Best (or Worst?) Calculator - Eml Calculator

A render of the eml two button calculator.

A while back I finished this calculator. And I thought I should actually upload the parts list and all of the files in case anybody wants to build it. That’s what this blog post is for!

I also want to address one small update: actually, two buttons DO in fact suffice - I made the error of believing you’ll need an “enter” button, but that isn’t so, to see this consider the calculation I gave in the previous blog post:

\[eml(eml(1,eml(eml(1,1),1)),eml(eml(eml(1,eml(eml(1,eml(1,eml(eml(1,1),1))),1)),eml(1,1)),1)) = 2\]

Which is a fancy way of saying $1+1=2$.

That calculation can be represented by the following tree:


Once each of the nodes at the bottom of each level is a 1, we know for certain that the value of the tree (shown in blue next to the parent node of each sub tree) has a fixed value. Looking back this was a pretty silly error on my part, I’m glad I caught it in time!

As you can see from the design, I have used a comically long LCD screen for the display. A full parts list together with the 3D models can be found below:

4x M3 screws

4x M1.6 screws

LCD Module 40x2 4002A Display

Arduino nano

Code

Models




Enjoy Reading This Article?

Here are some more articles you might like to read next:

  • The eml Calculator (or, "The Two Button Calculator")
  • Gradated Multiplication
  • 1+1+1+... (part 1)