Arduino: a full traffic light with pedestrian button
Build a traffic light with a pedestrian crossing button using a proper state machine. The project that teaches event timing without delay().
Tag
8 tutorials
Build a traffic light with a pedestrian crossing button using a proper state machine. The project that teaches event timing without delay().
Wire a WS2812B addressable RGB LED strip to an ESP32, drive it with the RMT peripheral and the FastLED library, and avoid the 800-LED limit and the always-on power math.
Use the ESP32's LEDC hardware to generate PWM on any GPIO. The right way to dim LEDs, drive servos, and control motor speed.
When the ESP32's LEDC peripheral is not enough, the TLC5940 adds 16 channels of 12-bit PWM over SPI. The right pick for big LED projects.
The Pico's Programmable I/O can drive WS2812B LEDs without blocking your code. A reusable PIO program you can drop into any project.
The shortest possible Pico + MicroPython tutorial. Blink the LED. Get to a working project before you know all the theory.
Wire a strip of WS2812B LEDs to an ESP32 and drive colors, brightness, and animations from Arduino code. The classic ESP32 eye-candy project.
The minimum Arduino sketch. Blink the onboard LED on pin 13. If you have never programmed an Arduino, start here.