Slashdot Log In
Lego Logic Gates
Posted by
timothy
on Wed Dec 15, 2004 06:10 AM
from the three-little-words dept.
from the three-little-words dept.
Thud457 writes "LEGO Logic Gates - It's like Babbage, but with bricks. All the gates except XOR are here, and he goes on to develop a clocked flip-flop. While practical mechanical computers may be out, even at the nanotechnological scale, nanomechanical memory may be in. "
This discussion has been archived.
No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
cool (Score:2, Interesting)
I guess these could be combined with mindstorm, couldn't these ?
Re:cool (Score:4, Interesting)
I however think this still could be used in non electrical devices (quote any "infernal machine" here, like the one that get triggered after Indiana Jones picks a statuette)...
Parent
Re:cool (Score:2, Insightful)
Re:cool (Score:5, Funny)
Parent
Re:cool (Score:5, Funny)
"Here I am, brain the size of a planet...made out of lego.."
I think you'd have more luck with the nano versions of these gates. But good luck trying eh
Parent
Re:cool (Score:3, Insightful)
And you never thought that automata class was going to come in handy
Lego-4 3 GHz, here we come! (Score:5, Funny)
Re:Lego-4 3 GHz, here we come! (Score:5, Funny)
Since the push/pull distance for the gate outputs described is about one LEGO stud length, or 8 millimeters.
At 3 GHz we have a cycle every 3e-10 seconds (~300 picoseconds), and so a mean speed of 8 mm / 300 ps, or nearly 25 million meters per second. That's nearly 10% of the speed of light, so you're going to have to watch out for relativistic effects. :D
I don't know the mass of the LEGO axles used in the figure, but if they're 5 grams apiece, then each would have a kinetic energy of about 1.5 terajoules. That's about the same as the kinetic energy possessed by a Nimitz class aircraft carrier travelling at 300 knots.
If you think P4s have heat dissipation issues....
Parent
No need for XOR (Score:5, Informative)
Re:No need for XOR (Score:4, Informative)
Parent
Re:No need for XOR (Score:3, Interesting)
Anyway, take a long brick, put it on a horizontal pivot. Use horizontal motion of other bricks to push either end of the brick in such a way that it trips some sort of switch. Put such a switch on either end. (If you don't want to use switches, find a way so that both ends can push simultaneously on something built like a space bar so when you push on either end, the center alway
NAND gates... (Score:2, Funny)
--
Re:No need for XOR (Score:4, Insightful)
Parent
Re:WOW (Score:4, Informative)
For ECL, the situation is the opposite, since here everything is mostly transistor stages connected in parallel, as well as generally available true and complementary outputs, so the NOR or OR functions are the most common. Add another transistor in parallel for each additional input, and outputs can be tied together in some cases, forming more OR-functionality. With inversions, the necessary AND and NAND functions may be generated as per DeMorgans theorem.
The situation for NMOS, PMOS and RTL are similar to the one for ECL: transistors in parallel for the basic NOR function are generally preferred to transistors in series for the NAND function.
In CMOS circuits, NAND and NOR are about the same in complexity, it is a matter of parallel-connecting the P-channel transistors and series-connecting the N-channel transistors for a NAND function, and vice versa for the NOR function.
Here is some information about the internal connections of RTL, DTL, TTL, ECL and CMOS circuits. [asic-world.com]
Parent
Thats all very well but..... (Score:2, Funny)
Memory Error - brick not found, restart? (y/n) (Score:4, Funny)
Will BSD run on it? (Score:3, Funny)
Way to go, editors! (Score:2, Insightful)
Re:Way to go, editors! (Score:2, Funny)
Re:Way to go, editors! (Score:2)
Mechanical Analogs (Score:5, Interesting)
Besides, a steam-powered computer would be really fun to build!
Re:Mechanical Analogs (Score:3, Informative)
Re:Mechanical Analogs (Score:5, Informative)
If you scale things down a bit [wikipedia.org], mechanical 'circuits' can become a lot faster - and combined with the electrical properties of the components there might be an interesting hybrid some point in the future.
Still, using Lego is just a little insane, and there is the minor problem of a '1' or a '0' slowly degrading into '0.5's further along the Lego logic chain...
Parent
Re:Mechanical Analogs (Score:4, Insightful)
actually it is very sane. It makes a great learning tool. I remember building simple logic gates with my radio shack electronics kit. This lets students build some simple logic "circuits" and see them work with there own eyes.
Not to mention that mechanical skills in the US really seem to be going down hill. When was the last time you saw a kid build his own skateboard, tree house, or model airplane.
Parent
Re:Mechanical Analogs (Score:3, Interesting)
I think that they can be used to teach young children the basics of electronics. It will be fun as well as education.
Re:Mechanical Analogs (Score:3, Interesting)
- an Elliot 803 powered by a 3 cylinder marine compound, driven from the central heating boilers (North London Polytechnic in Hollway Road)
Re:Mechanical Analogs (Score:3, Funny)
Are you nuts? Valve's [steampowered.com] DRM system eats up 25-30 megabytes even when HL2 isn't running. Do you have any idea how much Lego costs these days? :)
Dudududupe (Score:3, Funny)
Testing the new server (Score:2)
How long before someone ports linux to them? (Score:2)
Re:How long before someone ports linux to them? (Score:2)
And let's not forget the timeless 'In soviet russia, Lego builds *you*'.
From the article: (Score:2, Funny)
That is, until /. arrived....5:30am and the site's already running slow. How much longer you think it will hold up?
Imagine (Score:2, Funny)
"Apple iBricks Launch delayed (Score:4, Funny)
A spokesman said Steve would only use the white bits of Lego.
Competition (Score:2, Funny)
Back in my day we had to build our mechanical analogs of digital circuits out of Tinkertoys! And we liked it! What's this new fangled "plastic" stuff anyway. Wood! that's the way to go.
On a slightly more serious note: If we had built some of these in my CS3?? class instead of just diagraming them on paper I might have paid more attention. But I doubt it.
OT: Question for Slashdotters (Score:2)
*But* physical stuff is a pain; has anyone put together a program that allows me to simulate basic electronic gates, and "build" these things. It would help me understand a lot better how computers' internal logic work.
Thanks,
Robert
Re:OT: Question for Slashdotters (Score:5, Informative)
Parent
Speed? (Score:3, Funny)
This post was lifted verbatim from Metafilter (Score:5, Interesting)
So what if it is identical (Score:2)
Friction Losses and Gain Stages (Score:4, Interesting)
A couple problems. (Score:5, Interesting)
Another problem is the way his clock works -- the clock has to go to zero before the set or clear bits can change. This won't happen in a real circuit -- generally everything changes just after the clock rises. One solution is some sort of two-phase system, where alternate flip flops use the rising and falling clocks, but I'm not sure how much this would limit the circuits you can build.
He mentions that "It is possible to build an edge detector for the clock signal. It requires a few more NAND gates. The advantage of doing this is that it no longer matters when the clock signal goes back to 0 and the indeterminant state is avoided." But I want to see it in action before I believe it.
Giving the gates gain may be possible, too, but it would require powering each gate, either with electrical power or some sort of funky mechanical setup.
Re:A couple problems. (Score:4, Informative)
When I read the title of this article, I tried coming up with a design in my head of how I would do this, and my idea is to make the clock pulse out of a rotating shaft with cams (easy enough for Lego pieces). The cams are what would actually power the pieces, thereby eliminating the effects of backlash and fanning. The only problem comes with a lack of torque, but it would be easy to simply tie in more motors (or more hand-cranks) to get more power down the line. I think that this is a more elegant solution than having a person manually slide a shaft back and forth for the clock pulses.
Parent
The Tinkertoy Computer That Plays Tic-Tac-Toe (Score:4, Interesting)
http://www.rci.rutgers.edu/~cfs/472_html/Intro/Ti
great pics of Hillis' original TT machine... (Score:4, Interesting)
Goes to show you how strong the mind can become with a little exerecise in logic. Other posters are right about how limited the potential circuits are with lossy elements but all the the same, kudos to Lego for hoping that at least some of us consider thinking a form of recreation.
Parent
This is sort of cool, but... (Score:4, Insightful)
With electronic computers, binary makes sense. A capacitor is either charged, or not charged. A transistor is either conducting, or not conducting. It's HARD to make electronic devices with some fixed number of states other than two (let's disregard analog computation, with its infinite number of states, for now).
Yeah, this thing is like Babbage's machine in the sense that it computes mechanically, but Babbage's machine wasn't binary. It's EASY to make multi-state mechanical devices.
We shouldn't let our current computer technology make us too narrow-minded when designing new computer technologies. Binary representation is no Holy Grail, it's merely a convenience in the world of semiconductor electronics.
Speaking of mechanical computers... (Score:5, Interesting)
To operate it, you pushed a sliding thing in and out (a clock cycle). You could add and subtract and multiply and divide in binary, albeit rather small numbers. Hard to describe this thing, but it was very cool!
Actually, the following year I got Digicomp II for Christmas, which ran by letting a stream of marbles flow through it by gravity, and these marbles toggled the flip-flops. Very cool again!
These toys came with excellent little books on Boolean Algebra, and sure taught me a lot about the interface between binary math and physical things. I felt right at home when I started programming 6502's and Z-80's in machine language back in the day...
Are these things, or anything like them, still around?
- sgage
Re:This was just plain mean (Score:5, Informative)
Parent
Re:Clever, but not exactly practical (Score:3, Insightful)
Re:Clever, but not exactly practical (Score:3, Funny)
I'd be happy with an BF [muppetlabs.com] interpreter made out of Lego...