maxint-rd / TM16xx

Arduino TM16xx library for LED & KEY and LED Matrix modules based on TM1638, TM1637, TM1640 and similar chips. Simply use print() on 7-segment and use Adafruit GFX on matrix.
169 stars 34 forks source link

Hello Any help on TM1621 #39

Closed Server4hassio closed 1 year ago

Server4hassio commented 1 year ago

How to control TM1621 on arduino. i am noob arduino and i have to control Sonoff THR316 Display by arduino. Its working tasmota and esphome. Help me pls

maxint-rd commented 1 year ago

Hello, unfortunately I'm afraid I have to disappoint you a bit. The TM1621 is not a LED driver, but an LCD driver. My TM16xx library only supports LED drivers. I don't have any TM1621 chips in my collection (yet) nor any modules that feature a TM1621. For that reason I won't be able to help you directly.

However, I did some quick googling and perhaps these findings are helpful:

On the esphome website I did find some information on the TM1621 support for your THR316 module and a link to the source code

More interesting might be this informative video and this Arduino code. It shows another display using the same TM1621 chip and the maker provides his Arduino code used to drive all segments of his display, I think that by studying that code, and reusing it with perhaps small modifications, you may be able to control your module with Arduino.

Nevertheless, thank your for bringing my attention to this chip. If I ever encounter such a chip or a module featuring the TM1621, I can add it to my collection and perhaps one day add support for it to my library. I will then reopen this issue to let you know. For now I wish you best of luck with your project.

Server4hassio commented 1 year ago

Thank you so much for reply