References: Digital I/O, PWM, and the MicroPython Workflow¶
-
Pulse-width modulation - Wikipedia - Explains how PWM represents an analog-like signal as a rectangular wave with varying duty cycle, plus its use in LED dimming and motor speed control, directly supporting this chapter's PWM and duty cycle sections.
-
MicroPython - Wikipedia - Covers MicroPython's origin, its REPL-based interactive workflow, and its hardware-abstraction modules for microcontrollers like the Raspberry Pi Pico, grounding the chapter's closing programming section.
-
Logic level - Wikipedia - Details how digital signals are defined by voltage thresholds, including a comparison of different logic-family voltage standards, reinforcing the chapter's opening explanation of 3.3-volt logic.
-
Programming with MicroPython: Embedded Programming with Microcontrollers and Python - Nicholas H. Tollervey - O'Reilly Media - Tollervey, creator of the beginner-focused Mu code editor, is credited with popularizing a REPL-first teaching method for MicroPython: typing commands live at an interactive prompt to see hardware react immediately, rather than only writing and uploading finished scripts, which mirrors this chapter's Thonny workflow.
-
Programming the Pico: Learn Coding and Electronics with the Raspberry Pi Pico (2nd Edition) - Simon Monk - MonkMakes - Monk is credited with the "blink first, build outward" incremental project scaffold, starting from the Pico's onboard LED before introducing external circuits, a structure now widely echoed in beginner Pico/MicroPython guides and mirrored in this chapter's blink-an-LED capstone.
-
Quick reference for the RP2 - MicroPython Documentation - Official reference for the
machine.Pinandmachine.PWMclasses on the Raspberry Pi Pico, with working code for digital output/input and duty-cycle-controlled PWM signals central to this chapter. -
MicroPython on Microcontrollers - Raspberry Pi Foundation - Official documentation for installing MicroPython firmware on the Pico and using Thonny to run it, directly supporting the chapter's Thonny IDE and MicroPython workflow section.
-
Pulse-Width Modulation - SparkFun Learn - Tutorial explaining duty cycle with worked examples at 25%, 50%, and 75%, showing how PWM dims an LED and positions a servo, complementing this chapter's PWM and duty cycle discussion with hands-on numbers.
-
Thonny - Thonny.org - Official homepage for the Thonny IDE, describing its beginner-friendly editor, built-in Python interpreter, and step-by-step debugger, the same tool this chapter's MicroPython workflow section walks through.
-
What is Switch Bouncing and How to Prevent it Using Switch Debounce Circuit - CircuitDigest - Explains why mechanical switch contacts bounce and compares software-delay and hardware (RC, flip-flop) debounce techniques, expanding on this chapter's coverage of button debounce.