To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 20853
20852  |  20854
Subject: 
Binary Pneumatic addition with two pistons
Newsgroups: 
lugnet.technic, lugnet.robotics
Date: 
Mon, 9 Jun 2003 12:34:49 GMT
Viewed: 
312 times
  
In my continued quest to develop pneumatic computing capabilities (what can I
say, I'm a geek), I created a combination AND and exclusive or (XOR) gate using
two pistons and five switches.  This combination lets me add to bits using just
two pistons, 1/3 of the pistons used by me previously.

The gate is a combination of AND function and a multiplexer.  The AND output is
hooked to one input of the multiplexer.  The AND output is hooked up reversed to
the other input creating a NOT AND (NAND) input.

The multiplexer picks the AND output when both pistons are contracted, giving a
0 output.  In all other cases the multiplexer picks the NAND output.

In the end the XOR output is a 1 if either of the inputs to the gate are
different.

Because the gate can have both AND and XOR outputs, we get complete binary
addition.  The XOR output acts as the sum of two bits.  The AND output acts as
the carry of two bits.

http://www.brickshelf.com/gallery/kclague/Computing/p6040057.jpg

http://www.brickshelf.com/gallery/kclague/Computing/p6040059.jpg

http://www.brickshelf.com/gallery/kclague/Computing/p6040058.jpg

PLMKWYT

Kevin



Message has 1 Reply:
  Re: Binary Pneumatic addition with two pistons
 
(...) Hey Kevin. Big fan here. I'm not sure if anyone has ever observed this before, but if one is only ever wants the pneumatic switch to be at one of the two extreme ends, it appears as if the LEGO pneumatic switches behave exactly like electrical (...) (21 years ago, 9-Jun-03, to lugnet.technic, lugnet.robotics)

6 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    
Active threads in Robotics

 
Contact Recovery Nerd for Speedy USDT / BTC Recovery
21 hours ago
Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR