Raspberry Pi: GPIO with Python and gpiozero, the right way
Wire an LED and a button to a Raspberry Pi's GPIO and control them from Python using gpiozero. The simplest way to get started with physical computing on the Pi.
Tag
9 tutorials
Wire an LED and a button to a Raspberry Pi's GPIO and control them from Python using gpiozero. The simplest way to get started with physical computing on the Pi.
The BOOT button on most ESP32 boards is not a reset button. It puts the chip in download mode. Here is what that means and why you keep needing it.
How to read and write the ESP32's GPIO pins, when to use the internal pull-ups, and the input-only pins that catch everyone once.
Run out of GPIO on your ESP32? The MCP23017 adds 16 GPIO pins over I2C using only 2 wires. Multi-platform code for ESP32, Arduino, Pico, and Pi.
Add 8 output pins to your ESP32 using only 3 GPIO pins and a 74HC595 shift register. For LEDs, relay arrays, and 7-segment without a driver.
Wire a button to an ESP32 and write the debounce code that keeps your state from flickering. Includes the pattern I use in every project.
The ESP32 has 10 capacitive touch pins that work without any extra hardware. Wire a piece of foil and you have a button.
Wire a DHT22 to a Raspberry Pi's GPIO and read temperature and humidity from Python. The smallest useful Pi project.
The minimum Arduino sketch. Blink the onboard LED on pin 13. If you have never programmed an Arduino, start here.