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: 10
Joined: Wed Jan 10, 2018 8:19 pm

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: 215
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: 326
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: 10
Joined: Wed Jan 10, 2018 8:19 pm

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

Post Reply