Marble adding machine

Channel:MatthiasWandel · Length:3:34 · Published:2007-06-21 · Views:2358237

Watch on YouTube

Summary

Matthias Wandel shows his wooden machine that adds binary numbers using marbles. It demonstrates computation with purely mechanical logic.

Why HN recommends it

HN cites it as the classic example of a mechanical binary adder and a source of inspiration for marble-based computers.

this particular design and video served as some serious inspiration for the linked product — HN, 2017

Computability & complexity theory · Mechanical & precision engineering · Woodworking, metalworking & workshop skills

Subtitles (excerpt)

The adding machine state is stored in these internal rockers. When the rocker is set to the left that represents a zero. When it's rocked to the right it's a one. So, I'll demonstrate. With the 1 bit set to zero we now add one to it. It now goes to a state of one. If a one is added to another one it must carry to the 2 bit and clear the 1 bit. This is accomplished by the rocker, rocking once again to the left. And dropping the 1 marble which now is cleared. If I get another one to this we have a one plus a two or a three. And adding yet another one to this will cause it to carry twice, onto a four as follows. I shall demonstrate the adding machine by adding the numbers 5, 6, and 7 in binary. Number 5 is represented by a 4 and a 1 in binary. So, we add this into the number. Now we add a number 6, which is a 4 plus a 2 in binary. I'll submit it. And now add a 7, which is a 4 plus a 2 plus a 1 in binary. Add. The internal state is now 18. It's much easier to see if we actually hit the result lever. Which also clears it. And 18 is 16 plus 2. And there's your result. Now, we shall add some more numbers. We shall add 21 16 plus 4 plus 1. To 6, which is 4 plus 2. To 13, which is 8 plus 4 plus 1.

On Hacker News

>I find the coding analogy for DNA or cell biology in general to be rather problematic. It's fine as a very rough and oversimplified analogy, but if you try to apply it to the details I think it hurts more than it helps. [...] , but inevitably they will move out of the bounds of where the anlogy works unless they actually know the underlying biology. I think the author's "digital" explanation for… — jasode, 2021-12
> They do arithmetic's perfectly. So does abacus. Even something like this: [VIDEO] is capable of doing arithmetic. Does that mean that the marbles somehow understand what addition is? > look them up and spit out answers, Wolfram Alpha does this, and let me tell you: things I couldn't understand listening to lectures and trying to work through handbooks (well, most of them were hand-me-downs from… — klibertp, 2021-11
That Matthias video takes me back - one of the first channels I ever subscribed to back in 2007 because of this cool wooden marble adding machine: [VIDEO] — bscphil, 2018-08
PSA This webpage from 2007 is the first place I saw the same fundamental board design: [LINK] Direct video link: [VIDEO] The design in the two links above is fairly simple (I'd hate to see the patent office decide it was unique[ly patentable], for example), and so I doubt that this person from 2007 was the first to build it. But I wouldn't be surprised if this particular design and video served a… — i336_, 2017-05
As one of the comments on the bottom of the page points out, Canadian woodworker Mathias Wandel built a similar machine some time back: [VIDEO] — donquichotte, 2016-11

Related videos