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. And the result is
32 plus 8, which is 40. It’s quite neat watching
all the carry go through. For example
if we start with a number and it’s most of the bits set. In this case 31, which is
1 plus 2 plus 4 plus 8 plus 16. Now if we add 1 to that. That carries over to a 32. So, we
get the whole cascading happening. So, add 1. And the result is 32. The machine is rather fun to
watch when a lot of marbles fall at once.
For example, the number 31 consists of a lot of bits set
all at once. So, if we put the
And add to that, 31 again. The result is 32 plus 16
plus 8 plus 4 plus 2 which is 62. This machine is limited to
6 bits worth of storage. It couldn’t exceed it. It just
simply wraps around back to zero. Much like a computer
will distribute. So, for example If we take the number 63
which is all the bits set. And we add 1 to that.
It will actually reset it because we’ve no way to set
the bit that represents 64. Which is not present
in the machine. And, then now back to zero. You can get more information
on my woodworking website. Woodgears.ca

## 44 thoughts to “Marble adding machine”

1. mrbrockpeters says:

This thing needs to be mass produced and distributed to schools like abacuses in the past.

This thing really demonstrates computer logic in a rather engaging way!

2. GeorgeaYT says:

Genius!

3. Meir says:

Hello! This machine is really cool, you've done a great job!
Do you think it's possible to make a multiplying machine? Maybe even a mechanical computer with large rows of marbles as instructions?

4. Man of Culture says:

more like 32 bit mechanical computer 😀

5. Mossflower League says:

If you could engineer a way to invert the inputs then its also possible to do subtraction like this

Träsvarning

7. yoyofargo says:

Holy poop this is before tabs were thing. 3:25

8. rhysman0001 says:

Could you make a light based adding machine?

9. Another Neko says:

wow.

10. Lynne Kim says:

This is exactly what I've been looking for! Now I need to make it! Is there a blueprint for this that I can use to 3D print the pieces?? Thanks!

:p

12. Ruben Pescia says:

Excelent.. But it is not a machine.. Is a tool…

13. Peekul1 says:

This has a real Mr. Wizard feel to it.

14. xl says:

A wooden ALU.

15. B K. says:

16. 1* Punishers California LE MC Southland says:

😳

17. Glück.Big_SmokeBR says:

So, this is how a Cpu works

18. OctopusParty says:

Simply beautiful. Beautifully simple.

19. Roman Dybala says:

Oh, and I thought the final years of high school math were hard enough.Im happy for people who understand this video .I finally understood PI when I was about 30 years old and needed to find the circ. of a circle.

20. OpenTronic says:

Matthias, please build a wooden ternary calculator! I found your video because I was randomly googling ternary logic and found that a ternary calculator was built from wood by someone called Thomas Fowler in the 19th Century. Your binary adder is very cool but a ternary one would be mind blowing.

21. Wizzle says:

very cool!

22. Lisa R. says:

This is awesome – thanks for sharing.

23. я стал ослом says:

Can I play Minecraft on it?

Just need a little yogurt container over there for the 64s. 🙂

25. Classic Towers says:

August 8th, of the year 2018
Good day!

26. Farhan Khalid says:

Awesome Job

27. DHoneyBeeKingdom says:

Is this inspired in the machine Leibniz described in his treat "De progressione dyadica"?

28. Giovanno L. says:

thats cool

29. Wes Netmo says:

so formal

30. VeganCodingNovice says:

amazing

31. Zod says:

This is so epic that it makes me giddy inside! Combining this with spring operated logic gates and making a complete asynchronous cpu would be end game awesomeness

32. Alec Hale-Pletka says:

You know what adding needs? Binary and marbles.

33. Vinu Mon says:

Most people knows nothing other than decimal system won't get it, it's not your fault. It is awesome… and I still believe you are Superhuman!

34. chris says:

Can I bring this on exam day?

35. Daniel Moreira says:

36. 김윤호 says:

This is how computer works. You can use this machine to subtract by reversing the number binary number

37. Geoffrey Zoref says:

Slow clap, mouth agape.

38. jo nathan says:

Amazing toy

39. Fırat Yılmaz says:

Barış hocam bu ne

40. Bob Wareham says:

That was so good an easy explained Binary

41. SMEARGLEX75 says:

can it do sohcahtoa? lol

42. Sid Sarasvati says:

boom

43. Michael Berna says:

Genius! Beats an abacus.

44. IEat Donuts says:

Ok I want to make an adaption for a 3D printer now