Logic gates
By Andrew Gregory. Posted
This article was originally published as part of HackSpace magazine, which has since been incorporated into Raspberry Pi Official Magazine.
If you came to electronics via any route other than formal education, you might struggle a bit with some of the terms used. AND and OR look like English words, but what on earth is a XOR? And is NAND a real thing, or a typo? None of it makes sense – and as it’s electrons, they’re too small to see with our puny human eyes. Damn and blast!
A quick intro to Python – short scripts, rapid results.
But hold on: there’s no need to get into a mountain of debt pursuing a degree in electrical engineering. All you need to do is get one of these attractive, interactive logic gates for your desk. It’ll teach you the NOT, OR, AND, and XOR logic gates, looks good, and comes with all the parts needed for assembly. Learning by blinkenlights!

Features Editor Andrew trawls the internet for Cool Stuff while keeping the magazine running smoothly.
Subscribe to Raspberry Pi Official Magazine
Save up to 37% off the cover price and get a FREE Raspberry Pi Pico 2 W with a subscription to Raspberry Pi Official Magazine.
More articles
Artie the AI assistant
“Hey Artie” – say the wake phrase, ask your question, and get a useful answer in your ears or sent to your printer
Read more →
Counter-rotating clock
Turning a project mishap into inspiration.
Read more →
Spectrum Slit
Not to get all tin-foil hat, but the walls really are talking to us.
Read more →