69

I built a simple bitshifter in Minecraft yesterday. I wondered if something like this could be built with LEGO?

Maybe there is a possibility to build gates with rubber bands and those movable mechanic stuff. Did anyone of you do something like this?

0

3 Answers 3

59

Various people have done this - however most of the links seem to point to a [then defunct] blog by Martin Howard (Randomwraith) from 2004.

A more recent, and available, post on this, using newer pieces can be seen here:

LEGO Logic by Keshav Saharia

Based on a lack of gears and rack and pinion elements, Keshav decided to rebuild the logic gates using an approach based around levers. Extra care was taken to ensure that the movements were uniform so that the outputs moved the same distance as the inputs.

Starting with the simplest gate, a NOT Gate was built:

2 NOT Gates

Then going back to first principles, a NOR Gate:

A NOR Gate

Combining a NOR with two NOTs gives an AND Gate:

A NOR and 2 NOTs make an AND

Finally Keshav built the XOR Gate out of 3 NORs and 2 NOTs (or 2 NORs and an AND):

The whole XOR Gate

Detail of XOR Schematic

All images used with permission

5
  • 2
    Thats a great link.. maybe someone could build a computer ;)
    – Sibbo
    Commented Oct 25, 2011 at 21:43
  • I think those gates work only in small scale, because of the friction.
    – Sibbo
    Commented Oct 28, 2011 at 19:33
  • 15
    Thanks for the link to my blog! By the way, you have my permission to use my images. I'm not really into the whole copyright thing so feel free to use them. Credit would be nice :) Commented Mar 11, 2012 at 1:35
  • Thanks for the link! Unfortunately my site has been up and down like a yo-yo lately, which is very frustrating. I don't know if the decoupling that I referred to is present in all gates, but it does appear to be in the NOR gate, shown above. In that case the inputs don't seem to be attached to the central levers, which would mean the output when going from say an 1,1 input to a 0,0 input wouldn't change :-( It looks like this blogger has attempted to solve the problem though: spillerrec.wordpress.com/2012/01/29/mechanic-nor-gate RW
    – user866
    Commented May 29, 2012 at 21:57
  • I'll offer a bounty of 100 to anyone who creates an SR latch and explains why Q or ~Q is set when the inputs are 0 and 0.
    – tuskiomi
    Commented Jun 21, 2017 at 14:45
6

There's this project, and with a mechanism like that you have a pretty high limit on the complexity of what you can do:

http://www.youtube.com/watch?v=SYi9sJkS19Q

6

Credit where it’s due, Keshav Saharia’s gates were an attempt to simplify those found here:

http://www.randomwraith.com/logic.html

If you look carefully Keshav's gates you'll see that they suffer from a fundamental flaw in that they can't be reset, the input rods are completely decoupled so pulling them out does nothing.

RW

1
  • Glad your site is back up now - at the time I'd linked to Keshav's post, the link to your original blog was dead :( I'm also not sure what you mean with the decoupled comment - it looks to me that you can indeed move the input rods back out and effect the output, due to the hinging effect on the levers. Commented May 29, 2012 at 20:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.