You are currently viewing New WS2812 LED Matrix Models Proteus 8 Library | Free Download
Proteus WS2812 Led Matrix Library Models

New WS2812 LED Matrix Models Proteus 8 Library | Free Download

WS2812 LED Overview

Introducing the WS2812 LED Matrix Models for Proteus, a versatile addition to your project toolkit. A WS2812 is a type of LED that’s really popular for creating colorful light displays. What makes these LEDs special is that they’re individually addressable. This means you can control each LED on a strip (or any other setup) separately, adjusting its color and brightness however you want. This makes them great for projects like LED strips for mood lighting, displays, or even interactive art.

Each WS2812 LED has a small built-in chip (called the WS2811) that allows it to receive control signals over a single data line. This means you only need one wire to control many LEDs in a row. And because they use RGB color mixing (red, green, and blue), you can create millions of different colors by adjusting the brightness of each channel.

How Data Transfer Works

The WS2812 uses a single NZR communication mode for transferring data. Once powered on, the pixel resets, and the DIN port starts receiving data from the controller. The first pixel captures the initial 24-bit data, which is then sent to the internal data latch. The reshaped data is sent through the DO port to the next pixel in the chain. With each subsequent pixel, the data reduces by 24 bits. The technology used in these pixels allows the cascade length to be determined by the speed of data transfer, rather than any limitations in the signal itself.

Benefits of WS2812 LEDs

The WS2812 LEDs have many advantages: they run on low voltage, are energy-efficient, and environmentally friendly. They also offer high brightness, a wide scattering angle, and excellent consistency. Additionally, they consume very little power and have a long lifespan. The integration of the control chip within the LED makes the overall circuit simpler, reduces the size of the setup, and makes installation much easier.

WS2812 LED MATRIX MODELS

In this library, you’ll find three models: a 16-LED Ring, an 8×8 Matrix, and an 8×32 Matrix. By default, Proteus has some basic components like an 8-LED strip and single LEDs, which are fine, but the 8×8 matrix is a bit too small. I’ve redesigned it to be larger and updated the graphics to look better

WS2812 LED Matrix Models
WS2812 LED Matrix Models

The 16-LED Ring and 8×32 Matrix aren’t available in Proteus by default, so I made them for you. You could technically create an 8×32 matrix by combining 8×8 modules, but it doesn’t look great because of the spacing between them. That’s why I created a dedicated 8×32 Matrix that looks much cleaner and more polished compared to the combined 8×8 modules.

How to Use WS2812 LED Matrix Models with Arduino

Install the Adafruit NeoPixel Library

  • Open the Arduino IDE on your computer.
  • Go to Sketch > Include Library > Manage Libraries.
  • In the Library Manager, search for Adafruit NeoPixel.
  • Install the Adafruit NeoPixel library by Adafruit

Arduino code: strandtest_wheel example

First, open the strandtest_wheel example file from the library’s example directory and upload it to your Arduino. In Proteus, you’ll need to load the corresponding HEX file or provide the path to where your HEX file is located.

Arduino Code for WS2812 Led Matrix Models
Arduino Code for WS2812 Led Matrix Models

One thing you’ll need to change in the code is the number of pixels to match your WS2812 LED Matrix or the number of LEDs you’re using. By default, the example code is set to 60 LEDs. Since I’m using the 16-LED Ring model, I’ll change it to 16. Additionally, if you want to adjust the color, you can easily do so. The default color is set to dark, but I’ve made it a bit brighter for better visibility.

Wiring the WS2812 Led Matrix to the Arduino

These models are based on the Proteus Default ColorLED DLL Model File, which is why you don’t need supply pins. Instead, you only need two pins: the data input and data output pins. Now, we’ll only use the Data Input (DIN) pin, and the Data Output (DOUT) pin will be left unused. If you’re using multiple matrices and need to cascade them, then you’ll connect the DOUT pin to the DIN pin of the next matrix in the chain.

Here’s the simulation result:

WS2812 LED Matrix 16Led Ring
WS2812 LED Matrix 16Led Ring

Here is a snapshot of the 8×32 WS2812 LED matrix simulation in Proteus. You can use the Arduino NeoPixel library to control the WS2812 LEDs. The NeoPixel library is specifically designed to handle individually addressable LEDs like the WS2812, and it makes controlling them much easier.

WS2812 LED Matrix 8X32

Download Library

Simply click on the button to download the library. You can refer to this post for instructions on how to install the library in Proteus. How to Download and install Library in Proteus (electronicstree.com)

Please wait 120 seconds: after that, your download will begin

ZIP Password : electronicstree.com

If you have any requests for Arduino Module Libraries in Proteus, please leave a comment or message us using the contact form.

Leave a Reply