Skip to content

Arduino RGB Matrix

Wotever edited this page Nov 10, 2021 · 6 revisions

Introduction

Simhub allows you to use 8x8 RGB Matrix to show gears, flags, spotter or create your own custom animations.

NB : Currently Simhub supports one RGB matrix per arduino for performance and power reasons. For the previous reasons, it's not planned to support many matrixes from a single arduino.

Sunfounder (DM163) shield wiring (Aka iFlag)

  • Using an arduino UNO or even better an arduino leonardo , plug the shield to the arduino :

  • In sketch setup enable DM163 Matrix

SUNFOUNDER SH1.0-4P I2C

https://www.sunfounder.com/products/rgb-matrix-panel-for-arduino

  • Using an arduino UNO (Exclusively arduino Uno), plug the shield to the arduino :

  • In sketch setup enable SUNFOUNDER SH1.0-4P I2C RGB matrix

WS2812B Matrix

Wire the matrix to your arduino :

  • DIN -> Arduino D6
  • GND -> Arduino GND
  • VCC -> Arduino VIN (this will bypass arduino regulator and give more power to the matrix)

  • In sketch setup enable WS2812B Matrix

About serpentine layout :

Some matrix may use a serpentine led pattern which leads to messed up display, in this case simply enable the related option, during sketch setup

How to manage rotation

How to manage separate matrixes content

This feature will be available starting from simhub 7.4.9

Introduction

simhub allows you to generate UP to 4 separate matrix content. Those content can be then associated to each Arduino to achieve the wanted setup : duplicated content, independent content etc ...

How to

Creating multiple matrix content

  • Create some content targeting a second matrix (or more), in this example we will send the current gear to the second matrix :

Associating the content to the arduinos.

  • Assign the wanted content to each arduino, we will simply assign "content 1" to the first arduino, and "content 2" to the second arduino. Once done, click on apply to take changes into account.

  • If required, configure the wanted matrix rotation. Once done, click on apply to take changes into account.

Here we are you can have two separate contents ! You can drive up to 4 separate contents in the matrix editor and "address" them to any arduino to make the combination you want duplicated content, separate content...

Clone this wiki locally