TINKER PIEDESIGN IN INDIA

RGB LED strip / ring WS2812 with TinkerPie

NeoPixel strips and rings. Power long strips from a separate 5 V supply.

TypeDisplays and lights
Connect toDIN on any accessory pin, 5 V + GND
Givesup to 60 colour LEDs
SimulatorYes: a control appears under the simulated board

How to wire it

OLED and LCD go into a SENSOR port (I2C). The 4-digit display and LED strips use one or two signal pins.

Code

In blocks: Accessories category in TinkerPie Studio. As code:

// JavaScript
strip.begin(Pin.P10, 30)
strip.rainbow(0)
strip.setPixel(0, Colors.Red)

// Arduino C++
strip::begin(Pin::P10, 30)
strip::rainbow(0)
strip::setPixel(0, Colors::Red)

Projects with the RGB LED strip / ring WS2812

Mood lampA WS2812 LED strip flows through a rainbow. Touch the π logo to make it brighter or dimmer.Sensor projects

Similar modules