PI-74BeginnerPremium
Raspberry Pi Pico W Logic Gates Lab: AND, OR, XOR (3 Buttons + 5 LEDs)
Press two buttons and see the gate's answer on the green LED. The MODE button steps through 6 gates (AND, OR, XOR and their NOT versions); every pick plays the truth table on the LEDs while two blue LEDs show the gate as a binary code. In test mode the Raspberry Pi Pico W picks a hidden gate and you try it out and guess: the buzzer plays a victory tune if you are right, a sad one if not, and shows the row you missed.
0.0(0)

Do AND, OR and XOR get you mixed up? Press two buttons and watch the truth tables of six logic gates come alive: the green LED shows the output and the blue LEDs tell you which gate is selected as a binary code. In test mode the board picks a hidden gate and you try it out until you find it, so you learn the logic instead of memorizing it.
Source Code
Premium Content
The source code, block version and FAQ of this project are open to Premium members.
- All Project Code
- Block version
- Frequently Asked Questions
