Close
0%
0%

WS2812B - Patterns

We will be using the BW16 board to control the WS2812B RGB LED

Similar projects worth following
In this example, we will be using the AmebaD board to control the WS2812B RGB LED, using the SPI peripheral to create the waveform necessary for the LEDs.
WS2812B_Patterns allows you to create different light patterns with many different colors.

BW16 is a dual-frequency Wi-Fi + Bluetooth SoC module developed based on RTL8720DN. It supports dual-frequency (2.4GHz or 5GHz) WLAN and low power Bluetooth 5.0; and integratesARMV8 (Cortex-M4F) high-performance MCU, ARM V8M (Cortex-M0) low-power MCU, WLAN (802.11 a / b / g / n), MAC, Bluetooth and RF baseband, and provides a set of configurable GPIO ports for the control of different peripherals.

More Resources:

If you need additional technical documents or the source code for this project. Please visit the official websites and join the Facebook group and forum.

Ameba Official Website: https://www.amebaiot.com/en/ 

Ameba Facebook Group: https://www.facebook.com/groups/amebaioten 

Ameba Forum: https://forum.amebaiot.com/

  • 1 × BW16
  • 1 × WS2812B

  • 1
    Setup

    Firstly, connect the WS2812B to the Ameba board as shown in the following diagrams.

  • 2
    Programming

    To create different light patterns with many different colors, use WS2812B_Patterns.
    Open the example in “File” → “Example” → “AmebaWS2812B” → “WS2812B_Patterns”.

  • 3
    Final Result

    Next compile and upload to Ameba, then press the reset button. You will see the WS2812B displaying a color wipe, theater chase, rainbow, and theater chase rainbow light patterns in loop.

View all 3 instructions

Enjoy this project?

Share

Discussions

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates