64x32 led matrix driver

Discuss development of drivers for external hardware and components, such as LCD screens, sensors, motor drivers, etc.
Target audience: Users and developers of drivers.
Post Reply
newb
Posts: 43
Joined: Wed Jan 10, 2018 8:19 pm
Location: Bulgaria

64x32 led matrix driver

Post by newb » Mon Sep 24, 2018 1:10 pm

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 ?

shaoziyang
Posts: 363
Joined: Sun Apr 17, 2016 1:55 pm

Re: 64x32 led matrix driver

Post by shaoziyang » Mon Sep 24, 2018 2:15 pm

You may try my 16x16 drive, it is easy to change matrix size.

16 x 16 drive
convert tools

User avatar
mcauser
Posts: 507
Joined: Mon Jun 15, 2015 8:03 am

Re: 64x32 led matrix driver

Post by mcauser » Tue Sep 25, 2018 2:59 am

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.

newb
Posts: 43
Joined: Wed Jan 10, 2018 8:19 pm
Location: Bulgaria

Re: 64x32 led matrix driver

Post by newb » Tue Sep 25, 2018 4:37 pm

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 :)

newb
Posts: 43
Joined: Wed Jan 10, 2018 8:19 pm
Location: Bulgaria

Re: 64x32 led matrix driver

Post by newb » Thu Jan 03, 2019 7:43 am

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.

oyster
Posts: 26
Joined: Tue Feb 16, 2021 1:21 pm

Re: 64x32 led matrix driver with HUB08 interface

Post by oyster » Sat Apr 03, 2021 7:21 am

any news on HUB08 driver in micropython?

Post Reply