HUB75 RGB LED matrices with Arduino
Cheap HUB75 RGB matrix working

Cheap HUB75 RGB matrix working

Everyone likes LEDs. I like when I have a bunch of them. So one day I realised that I have about 15 big 32x16 RGB LED matrices in my lab. They are cheaper versions of Adafruit's led matrixes. Both matrices use standard HUB75 pinout. The pinout is same, LED count is the same, but display doesn't work - it is wired differently inside.

Driving matrices

Most simple way to do a led matrix is to drive low side columns with sinking driver chips and rows with high side mosfets. When you have bigger display - let's say 24 driver chips in total, then usually you will make multiple parallel lines of data to clock information faster.

HUB75

HUB75 is a standard interface to control matrices like that. It has binary inputs for mosfet control: A, B, C and D. So you can have up to 16 rows. Also, you have 6 data buses: R1, G1, B1, R2, G2, B2. Now, to control a matrix you have to know two things: how many virtual rows and columns does your matrix have and how are they mapped with reality.

Backside of my LED matrix, 24 drivers are visible.

Backside of my LED matrix, 24 drivers are visible.

Differences from device to device

The Adafruit matrix has 12 driver chips and 8 rows controlled by mosfets. Mine have 24 driver chips and 4 rows. Also, Adafruit's one seems to be mapped quite straightforward way. Mine in the other hand.. rows are separated to eight banks that are all in different directions. Still - no problem. Mark Laane, a programmer in my lab, sat down with the matrix and soon we had a working library. You can find it from here:

https://github.com/zidik/LedMatrix16x32-Alternative

Arduino Micro soldered to HUB75

Arduino Micro soldered to HUB75

Electrical wiring

I soldered my matrices directly to Arduino Micros. Since the pinout is slightly different from Uno, the connection diagram got hurt a bit. This library works with following connections:

HUB75 Connect to On Micro
R1 PB2 MOSI
G1 PB3 MISO
B1 PB4 8
GND GND
R2 PB5 9
G2 PB6 10
B2 PB7 11
GND GND
A A0
B A1
C A2
D GND
CLK A3
LAT A4
OE A5
GND GND

 

11 thoughts on “HUB75 RGB LED matrices with Arduino

  1. Good hope're well, I have the same screen for a project in college I have problems to detratar data display out of shape erronera and tried to code adafruit and alternative you present here and still does not show clearly the words

  2. Hi..my display module is similar as your .it has 24 chips and 8 banks(HUB 75).And for row control the 4 pins A,B,C,D are displayed as A,B,NC,GND on the Display module PCB.So by these details , i infer that it is a 1/4 scan board.is it right?

  3. hallo, i have rbg 32x16 modul with 1/4 scan rate, can you tell me how its work on my arduino uno? thank you

  4. Documents\Arduino\libraries\RGBmatrixPanelAlternative\RGBmatrixPanelAlternative.cpp:242:12: error: 'swap' was not declared in this scope

    swap(x, y);

    How to fix?

    1. After the #include part you type:

      #ifndef swap
      #define swap(a, b) { int16_t t = a; a = b; b = t; }
      #endif

  5. its doesnt work in my panel, i;ve tried ardafruit library and it work for some color tester. but i cant print any character on it.

  6. Hello,
    is there any way to use multiple Led matrix connection with arduino?
    Like extended display.
    Thanks

  7. TRIFECTA! A novel that starches your emotional – erotic itch!
    Against a background of big business, deceit, frustration, oppression drives a wide range of emotions as three generations of women from the same family, turn to the same man for emotional support and physical gratification!
    A wife deceives her husband while searching for her true sexuality!
    What motivates the wife’s mother and son-in-law to enter into a relationship?
    The wife’s collage age daughter, with tender guidance from her step-father, achieves fulfillment!
    Does this describe a dysfunctional family? Or is this unspoken social issues of modern society?
    BLOCKBUSTER Opening! A foursome of two pair of lesbians playing golf. A little hanky – panky, while searching for a lost ball out of bounds. Trifecta has more turns and twist than our intestines.
    Trifecta! Combination of my personal experiences and creativity.
    https://bit.ly/www-popejim-com for “CLICK & VIEW” VIDEO. Send me your commits.
    Available amazon, book retailers.
    Trifecta! by James Pope

  8. Did you know messages that come through on your website contact form can actually be a great way to generate leads for your business? How exactly is this done? Simple, we craft an ad like the one you're reading right now for your business and we blast it out to millions website contact pages on any site in any business niche or location you like. Does this work? Well you're reading this now aren't you? The awesome thing is, this won't cost you much more than $3 a day! Want more info? drop us a line vie email here: HardinJakobev58771@gmail.com

Leave a Reply

Your email address will not be published. Required fields are marked *