TM1640 8x8 LED Matrix

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
User avatar
mcauser
Posts: 507
Joined: Mon Jun 15, 2015 8:03 am

TM1640 8x8 LED Matrix

Post by mcauser » Tue Dec 05, 2017 1:00 pm

I created a library for 8x8 LED matrix modules based on the TM1640 LED driver.
https://github.com/mcauser/micropython-tm1640
https://pypi.python.org/pypi/micropython-tm1640/1.0.0

Image

I tried to order a Wemos LED Matrix Shield on AliExpress, but received a clone DIY More matrix.
Photos of the Wemos shield show an "AiP1640" led driver.
Not sure how different this is from the TM1640 driver on the DIY More board.

Judging from the Wemos Arduino example code, the AiP1640 chip behaves similar to the TM1640 chip.
https://github.com/wemos/WEMOS_Matrix_L ... no_Library

Does anyone have a legit Wemos LED Matrix shield that could test my library?

bitninja
Posts: 165
Joined: Thu Sep 15, 2016 4:09 pm
Location: Spring, Texas

Re: TM1640 8x8 LED Matrix

Post by bitninja » Tue Dec 05, 2017 3:50 pm

Seems to work great!

https://youtu.be/N73H9irTKc8

User avatar
deshipu
Posts: 1388
Joined: Thu May 28, 2015 5:54 pm

Re: TM1640 8x8 LED Matrix

Post by deshipu » Tue Dec 05, 2017 5:36 pm

As far as I can tell, the AIP1640 is a cheap clone of the TM1640 — they are supposed to work the same way.

I did some research about those chips back when the shield first appeared: https://hackaday.io/project/18120/log/60306 and I even have one, but I never got around to making a driver for it. Thank you!

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

Re: TM1640 8x8 LED Matrix

Post by mcauser » Fri Dec 08, 2017 10:02 pm

Wemos confirmed the AiP1640 is a clone of the TM1640

Post Reply