One LED, Two Programs: Make GPIO Ownership Explicit
Use an advisory local lock before claiming a Pi LED. Test two-process exclusion, normal cleanup, forced death and why deleting a lock file can break ownership.
Unravel the Mystery of Electronics
Use an advisory local lock before claiming a Pi LED. Test two-process exclusion, normal cleanup, forced death and why deleting a lock file can break ownership.
Build a low-current two-digit display and test blank-before-change scanning, coherent number updates and a late-loop stop without borrowing a large pulse-current rating.
Run a cancellable five-second light beside a heartbeat. Explore modular deadlines, settled presses, missed-edge coalescing and an explicit late-loop stop.
Build a NAND memory latch with exact SN74HC00N pins, then compare valid storage, both-low inputs, release order and unspecified power-up.
Measure PIR output intervals with a Pico while separating startup, H/L retriggering and software qualification—and never turn pulses into a people count.
Connect two Pico boards with a one-way UART link. Send framed readings with CRC-16, reject damaged messages and show when data stops arriving.
Decode a mechanical rotary encoder with Pico using a quadrature transition table. Count complete cycles, reject impossible jumps and expose missed edges.
Here are some common methods: 1. Using delay() (The Basic Method) ✅ Pros: ❌ Cons: 📌 Example Code 🛠 Use Case: 2. Using millis() (Non-blocking …