Page 1 of 1

64x32 led matrix driver

Posted: Mon Sep 24, 2018 1:10 pm
by newb
Hello all,

has anyone worked on a micropython driver for led matrix displays such as this one
https://www.aliexpress.com/item/Replace ... 4c4dl3bUzq

This one in particular is only one colour but there are RGB ones.

It seems there are python binders for the Arduino library (in the link below), but there is no native (micro)python driver.
Has anyone tried to get his working under micropython? I managed to get it working under RPi with regular python.

Python binders for the Arduino driver:
https://github.com/hzeller/rpi-rgb-led-matrix

Would such led matrix work on ESP 8266/32 ?

Re: 64x32 led matrix driver

Posted: Mon Sep 24, 2018 2:15 pm
by shaoziyang
You may try my 16x16 drive, it is easy to change matrix size.

16 x 16 drive
convert tools

Re: 64x32 led matrix driver

Posted: Tue Sep 25, 2018 2:59 am
by mcauser
The 64x32 one you linked to uses a HUB08 interface. I couldn't find much information on it.

Alternatively, you could chain a bunch of MAX7219 (SPI) based 8x8 LED matrices to form a 64x32 panel (32x individual 8x8 modules)
Here's a library I wrote for them, which I've combined to form a 32x32 panel (16x modules):
https://github.com/mcauser/micropython-max7219

They are single colour only. If you want RGB and support for a much bigger panel, making a panel out of RGB LED strips might be a good solution. There are 2 types of RGB strips you should investigate. WS2812 aka Neopixel and APA106 aka Dotstar strips.

https://learn.adafruit.com/adafruit-neo ... -neopixels
https://learn.adafruit.com/adafruit-dot ... s/overview

Neopixel have strict timing requirements and Dotstar have an extra wire for clock. Both have working MicroPython drivers.

Re: 64x32 led matrix driver

Posted: Tue Sep 25, 2018 4:37 pm
by newb
Thank you both.

@shaoziyang: I think your code can't be easily adapted, as the interface is different

@mcauser: The reason I chose this HUB08 led matrix is the price - $9 for 32x64 matrix is pretty good deal. If I go for chained MAX7219, it will become more expensive (I might try it though)

I would have written a driver for this HUB08 interface if I was more hardware savvy but unfortunately I'm not. I guess I'll stick to the raspberry pi :)

Re: 64x32 led matrix driver

Posted: Thu Jan 03, 2019 7:43 am
by newb
Happy New Year to all!

I just came across this ESP8266/32 led matrix driver: https://github.com/2dom/PxMatrix
I'll appreciate if anyone with experience check it out and confirm how easy it would be to port it to uPython. It could probably make use of Peter's Writer class.

I got my 32x64 led matrix (HUB08) running with the above library on esp8266 (NodeMCU), but would love to do it in uPython as well.

Re: 64x32 led matrix driver with HUB08 interface

Posted: Sat Apr 03, 2021 7:21 am
by oyster
any news on HUB08 driver in micropython?