This week we will be exploring some of our smartest Bits: the logic Bits. The double AND and double OR Bits require two inputs to be in a certain state before the output can be activated. Building circuits with logic Bits is practically the equivalent of physical programming, at a littleBit level. Let’s break it down.
The concept behind the logic Bits is that each of the Bits has a specific characteristic that makes it send an ON or OFF signal to the output depending on the relationship of the inputs. This is how they behave:
double AND Bit
The double AND Bit sends an ON signal to the output Bit only when BOTH input Bits are activated
If… Input#1 is ON + Input#2 is ON = Output is ON
If… Input#1 is ON + Input#2 is OFF = Output is OFF
If… Input#1 is OFF + Input#2 is ON = Output is OFF
If… Input#1 is OFF + Input#2 is OFF = Output is OFF
double OR Bit
The double OR Bit sends an ON signal to the output Bit when EITHER input Bits are activated
Remember that when using two input Bits you will need to power both of those input Bits. This can be done two ways. You can use two separate powers to power each input Bit individually or you can power the input Bits by branching the power before the logic bits, that way you can give power access to both inputs.
This alarm clock utilizes the double AND Bit and allows you to create an alarm that goes off with the sun, but only works when you are around.
This interactive command capsule helps aspiring astronauts prepare for blast off! Using the double AND Bit, both inputs must be activated in order for the shuttle to take off.