ES-24PertengahanPremium

ESP32 WS2812B NeoPixel Strip Control

WS2812B (NeoPixel) addressable LEDs are smart RGB LEDs that can be chained and controlled from a single data pin. In this project we drive an 8-LED WS2812B strip with the Adafruit_NeoPixel library and create a smooth rainbow animation. The ESP32's 3.3V logic works with most WS2812B batches; if it gets unstable, we show the fix with a 470Ω series resistor and a 1000µF capacitor. The animation shifts the hue in HSV color space.

4.9(19)
30 selesai
ESP32 WS2812B NeoPixel Strip Control
A little rainbow flowing across your desk. The ESP32 gives each light on an eight-LED color strip its own color and slowly shifts them along; red turns to orange, orange to yellow, yellow to green as the colors stream down the strip. You see that a single wire can give every LED any color you like, and get ready for your own light decorations.

Kod Sumber

Projek ini juga disertakan dengan blok. Seperti kod, blok dibuka dengan Premium. Apakah pengekodan blok?

Kandungan Premium

Kod sumber, versi blok dan soalan lazim projek ini terbuka untuk ahli Premium.

  • Semua Kod Projek
  • Versi blok
  • Soalan Lazim