micro: Circular RGB LED Expansion Board

SKU: ROB0150

This 24 RGB LEDs circular expansion board works with a micro:bit to become a creative piece. Use its onboard buzzer for a tomato timer, microphone for a music spectrometer. Reserve P0/P1 ports connect to boson/gravity sensors for more plays. Decorate with paper-cuts/acrylics (e.g., Chinese knot, cartoon face). Tutorials cover light effects (rotated, sound-controlled, tomato timer).

Front of circular RGB LED expansion board with neopixel and circular led components.-DFRobot product sku:ROB0150 image.
  • Docs
  • Tech Specs
  • 1. Example Code for micro:bit-Rotated Circular Light

    The 9 RGB LEDs display 9 colors (gradients), and then on the lamp ring the nine RGB LEDs display the 9 colors in a continuous loop just like a waterfall light. Modify the color behind the show color to get other solid color rotation effects.

    2. Example Code for micro:bit-Control the Circular Light via Key A, B

    Turn on the power, then 24 RGB LEDs display some colors randomly in the beginning. When key A is pressed, executing the waterfall light mode once; When B is pressed, the circular light refreshes the color in every 20ms, and there are 7 colors at all.

    3. Example Code for micro:bit-Sound Control Circular Light

    Light up 24 RGB LEDs in sequence according to the size of the detected sound, forming a gradual pulsating light ring.

    4. Example Code for micro:bit-Tomato Timer

    Press key A to start the program and light a LED on the main board in every minute. When all LEDs are on, the buzzer beeps; When key B is pressed, stops the buzzer and stops timing. The circular light refreshes the color in every second. The Pomodoro technique is a simple time management method (25-minute work period).

    5. Example Code for micro:bit-Breathing Light

    24 RGB LEDs light up red at the same time, the brightness changes from weak to strong in loop, like breathing.

    Reference

    Specification

    Parameter Details
    Supply Voltage 3.5~5V
    WS2812 Single-line RGB LEDs x 24
    Onboard buzzer x 1
    Onboard microphone x 1
    Number of interfaces IO expansion board(P0,P1)x2, PH2.0 Power Interface x1, USB power Interface x1

    Pinout

    Fig1:ROB0150 Function Description

    Note: After uploading the micro: bit program you need to connect the USB cable to the expansion board for power, You can also use 3.5-5.0 V power supply to power from the expansion board battery!

    Was this article helpful?

    TOP