Quick answer
The littleBits NAND Bit is a logic gate that outputs an ON signal unless both inputs are ON, making it ideal for teaching digital logic and building simple alarm or inversion circuits in the classroom.
Why the NAND Bit matters in STEM lessons
The NAND (Not AND) gate is a fundamental building block in digital electronics because it is functionally complete—you can combine NAND gates to create any other logic gate. This makes the littleBits NAND Bit a versatile tool for introducing students to Boolean logic, circuit design, and problem-solving.
Unlike the AND Bit, which outputs ON only when both inputs are ON, the NAND Bit does the opposite: it stays ON unless both inputs receive a signal. This inversion behavior is perfect for demonstrating concepts like negation, logic inversion, and even memory circuits (SR latches) at a beginner level.
Common trade-off: NAND vs. AND in projects
Students often confuse NAND with AND because the names sound similar. The key difference is that NAND inverts the output. If a project requires a signal to turn off only when two conditions are met (e.g., a security alarm that stays silent until both a motion sensor and a door sensor trigger), NAND is the right choice. If you need a signal to turn on only when both conditions are true, use AND instead.
Another trade-off: NAND gates require careful wiring of both inputs. If one input is left unconnected, the Bit may behave unpredictably. Always ensure both input Bits are powered and connected before testing.
Step-by-step classroom project: NAND gate alarm
- Step 1: Set up the power and inputs: Connect a littleBits power Bit to a slide dimmer (input 1) and a button Bit (input 2). Attach each input to the NAND Bit's two input snaps. Common mistake: Forgetting to mount Bits on a flat surface can cause loose connections—use a littleBits board or tape. Check that both input Bits are powered and snapped firmly.
- Step 2: Add an output to visualize the result: Connect an LED Bit or a buzzer Bit to the NAND Bit's output. When both inputs are OFF, the LED should be ON. Press the button (input 2 ON) while the dimmer is OFF—LED stays ON. Only when both inputs are ON will the LED turn OFF. Common mistake: Students expect the LED to turn ON when both inputs are ON—remind them NAND is the opposite of AND. Test each input combination (00, 01, 10, 11) and record the output.
- Step 3: Create a fail-safe alarm circuit: Replace the LED with a DC motor Bit (vibration motor) to simulate an alarm. The motor runs continuously (alarm OFF state) until both a light sensor (input 1) and a pressure sensor (input 2) detect light and pressure simultaneously—then the motor stops (alarm triggered). Common mistake: Using a sensor that outputs a weak signal may not register as ON—adjust the dimmer or threshold with a slide dimmer in series. Explain that this circuit is 'normally closed'—the alarm is silent until both conditions are met.
Product fact
- littleBits w16 NAND: The NAND Bit is a logic gate with 2 inputs. Think of it as 'not and.' The NAND Bit will always send an ON signal unless both input 1 and input 2 are receiving an ON signal. It’s the exact opposite of the AND Bit. This inversion behavior lets students create circuits that are normally on and turn off only under specific conditions, such as a fail-safe alarm or a light that stays lit until both sensors are triggered.

littleBits w16 NAND

