Lego Logic Gates 271
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. "
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)...
Re:cool (Score:2, Insightful)
Re:cool (Score:2)
Re:cool (Score:5, Funny)
Re:cool (Score:2, Insightful)
First thing that comes to mind is the giant bender statue belching flame and saying 'remember me'.
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
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....
No need for XOR (Score:5, Informative)
Re:No need for XOR (Score:4, Informative)
Re:No need for XOR (Score:2)
Re:No need for XOR (Score:2, Informative)
Re:No need for XOR (Score:2)
Yes
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:2)
A XOR B = ((NOT A) AND B) OR (A AND (NOT B))
Re:No need for XOR (Score:2)
As far
Re:No need for XOR (Score:2)
Re:No need for XOR (Score:4, Insightful)
Re:WOW (Score:2)
If you find an old version of TI's TTL Databook, you will see the schematics for the various devices. You should be able to find scanned PDF versions on TI's website.
IIRC, 74LS00 was the quad NAND, 74LS08 was the quad AND, 74LS02 was the quad NOR, 72LS32 was the quad OR, 74LS04 was the hex invertor, and 74LS86 was the quad XOR.
Re:WOW (Score:2)
Why have you only quoted low switching IC's to me. I don't want IC's I just want transistors and diodes.
My pre-submit post said that I don't remember transistor and diode circuit design that well. I know those datasheets have schematics, and I remember going through them in college to identifying what transsitor/diode did what.
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]
Re:WOW (Score:2)
Otherwise, I thought it more worthwhile to talk about the kinds of gates actually being useful in arbitrary large systems. As for whether NAND or NOR is the preferred gate
Re:WOW (Score:2)
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...
Re:Mechanical Analogs (Score:2)
If you scale things really down, you arrive to quantum mechanics [wikipedia.org], and there things go really interesting (or will go, if we eventually get a scallable hardware candidate for quantum computing).
By the way: a slash site on quantum computing: QubitNews [fis.ucm.es]. Join us and discuss the computational platform of the future :)
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.
Re:Mechanical Analogs (Score:2)
Since before when lawyers encouraged anybody and their dog to sue the "evil companies" to get the "settlement you deserve." That, and the various "home owner associations" which placed strict rules on property improvement and usage.
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:2)
Build schmild... I would be really fun to operate!
"More coal on the fire, Martha! I'm about ready to totally frag this noob!"
Re:Mechanical Analogs (Score:2)
Re:Mechanical Analogs (Score:2)
Chris Mattern
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)
Obligatory SF references (Score:2)
Also on the fringe, one story from "Tales of the Flying Mountains" by Poul Anderson. The computering technology on a warship is TEMM - Thermionic Emission Micro Miniaturized, selected for its radiation hardness. It turns out
Re:Obligatory SF references (Score:2)
Re:Mechanical Analogs (Score:2)
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? :)
Re:Mechanical Analogs (Score:2)
Actually many people believe that rod computers are the way of the future. Miniaturized to an atomic scale, of course.
If you google around you can find a paper from a few years ago that discusses one possible configuration for such a computer, right down to molecular structures and the thermal tolerances of the system!
The only thing this guy DIDN'T figure out was how to build the bloody thing!
Dudududupe (Score:3, Funny)
Quatro and Quadro? (Score:2)
Re:Dudududupe (Score:2)
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?
Re:From the article: (Score:2)
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)
Re:OT: Question for Slashdotters (Score:2)
Re:OT: Question for Slashdotters (Score:2)
Maplin Electronics is getting to be a bit of a joke these days. Four or five years ago I'd have agreed with you, but the range of components they have is dropping year on year to be replaced by standard consumer electronics.
However, in the UK RS Components [rswww.com] now supplies individuals as well as companies and their range of stuff is vast. You don't get the dead tree catalogues unless you've got a commercial account (which, I believe, still requires a minimum monthly order) but if you register on
Re:OT: Question for Slashdotters (Score:2)
Admittedly I haven't bought components from Maplin for years - Tandy would have been another suggestion, but I was recently surprised to learn that they'd disappeared from the UK ages ago.
I usually get my stuff from a titchy little electronics shop in Derby called R.F. Potts. They don
Speed? (Score:3, Funny)
This post was lifted verbatim from Metafilter (Score:5, Interesting)
So what if it is identical (Score:2)
Re:So what if it is identical (Score:2)
Tim
It's a fair cop... (Score:2, Informative)
It's still cool though.
Friction Losses and Gain Stages (Score:4, Interesting)
falling weights? (Score:2, Insightful)
Re:Friction Losses and Gain Stages (Score:2)
Much like a machanical cash register.
It might also be possible to come up with even simpler designs if the gate is powered: the swithching could depend on pushing unstable systems in one direction or the other. This would obviate both the need for precisely metered responses, and reduce the needed power on the inputs, thus improving fan-out.
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.
Re:A couple problems. (Score:2)
Maybe mechanical gain could be obtained from a pulley-weight-escapement mechanism, like the one from the Lego grandfather clock [slashdot.org] ? Each state-change of an output rod might allow the escapement to turn a notch and provide extra power (so the input rods aren't under any extra load).
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.
Slippage and friction... (Score:2)
Re:Slippage and friction... (Score:2)
add the input to also have a spring to help avoid partial detection and you are closer.
problem is that you now need a stronger clock to
An 'Nor' gate (Score:2)
1) Rotateing axle power input into gate, with medium cog rotateing freely...
2) Axle for logical output... with medium sized cog near to power input cog, but not connected
3) Power input is coupled to logic output via fairly loose rubber band - output will turn in unison with power input, with no other parts added.... both input/output cogs will be turning same direction
4) Add one logical input.... This will be connected via rubber band to a mecha
Nothing new under the sun (Score:2)
If he built a switch... (Score:2)
If he built a switch (kinda like a transistor) out of LEGO and then used a motor to provide the pow
Before one gets too enthused... (Score:2)
Re:Before one gets too enthused... (Score:2)
> without lots of mechanical inertia.
Actually, *that* particular problem could be addressed by making use of hydraulic fluid lines.
Actually, that might also solve the amplification problem, the same as the master cylinder / brake cylinder in a typical piston (disc) brake system. Although 1LOTD tells me I'm missing something, because that sounds suspiciously like free energy.
It *does* mean at the very least that buffers could be built
What I first envisioned (Score:2)
I'm not sure how the traces between the pieces would work, but legoCAD would be fun, like those 10-in-1 electronics kits from Radio Slack.
Neal Stephenson ... Prophet? (Score:2, Funny)
Only time will tell. Until then, I have to thank this lego-builder for making my life more interesting. Now I know what I'm gonna do for Christmas, play with Legos and make logic gates!
Lord, I'm such a geek.
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.
Re:This is sort of cool, but... (Score:2)
Yes, but his representation for digits were the concepts "push", and "pull". It's a LOT easier to build a mechanical device which knows the different between "push" and "pull" than it is build one that knows about 10 different dowel positions.
Re:This is sort of cool, but... (Score:2)
I understand that, but analog behavior is not conducive to precise computations. It's too susceptible to noise and other influences from the surrounding environment.
There's a reason analog computers are no longer used. Digital is where it's at, and my point was that digital not not necessarily mean binary.
Legos? pfff (Score:2, Funny)
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)
Re:This was just plain mean (Score:2)
Re:This was just plain mean (Score:2)
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...
Re:Warning: obvious joke (Score:2)
Re:I don't think this will work (Score:2)
This doesn't scale and will hit the limits very soon.
He doesn't. But it would be trivial to add force amplifiers.
This page is about torque amps [mac.com], which aren't quite what you want here, but the design might serve as a starting point.
Re:My question (Score:2, Funny)
Re:Needlessly overcomplicated gates. (Score:2)
With push and pull as 1 and 0, I could make a D-type flip-flop from a piece of scotch tape.