-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request: TM1616 #22
Comments
Hello @NickLplus , This morning I downloaded and translated the datasheet to take a closer look. From what I can see the TM1616 is a simplified variant of the regular TM16xx chips, indeed similar to the TM1620, but even simpler. As you already mentioned, it has the same control lines (DIN/CLK/STB) as TM1620, TM1638 and others, support for only 7 segments by 4 digits and like TM1620 it doesn't support button input. Unfortunately I don't have these chips in my supply and ordering them would take several weeks or months. From what I can see, you should be able to use the TM1620 class, as long as you initialize it using 4 digits. This is the regular constructor: Could you please see if you can confirm this chip to work okay if you use the TM1620 class?
If it works okay I can publish a TM1616 specific class, based on TM1620 with the proper default values. |
Thank you, I'm already working on it, setting 1620 as a reference for 1616, just as you suggested. The way they use TM1616 in SW7 dimmer is to control two vertical bars, each bar being composed of 7 individual LEDs: https://m.media-amazon.com/images/I/61jJzf9crRL._AC_SL1500_.jpg |
I found the dimmer on Ali (for about 50 euros). It sounds like an interesting device to hack. I see that the led-bars are touch sensitive and used to display the level of dimming. Does it have an ESP8266 inside? (BTW. Most TM16xx chips are made for 5V, but in my experiments they usually function fine at 3.3V (white and blue leds may require a bit higher voltage). I've tested many different displays on ESP8266 and they all work fine. For ESP32 there was an object initialization issue in one of the classes, for which a have a fix, but not definitive yet). |
WiFi carrier board: Tasmotizing was a bit odd: Price - I've bought it on Amazon for USD 19: |
Hello @NickLplus , Thanks for the info. Can you tell me your findings? If the library works on the TM1616 with the suggested initialization, I can publish a modified version of it for this chip and add it to the readme. |
Not yet, the switch is a bit hard to experiment with. I'm waiting for TM1616 delivery, ali promised the end of this month. |
Allright, no rush... I just made an order for TM16xx chips that I don't have in my collection yet. I've included the TM1616, so I can test things myself. It will probably be a bit longer before I get those and before I have some spare time to experiment. I'm looking forward to see your findings. |
Short update: I received the TM1616 chips. When I have time I will solder one to a breakout board, do some testing and report you my findings... |
Hello, today I soldered the TM1616 to a breakout board and tested it successfully on an ESP32, using the TM1620 diver class and the TM16xxDisplay_Print and TM16xxDisplay_ScrolledPrint examples. I defined the display as suggested previously:
My conclusion is: YES! You can use the TM1620 class to successfully use a TM1616 chip. |
Hello, today I published a TM1616 specific class as well as an English translation of the datasheet. |
Could you please add support for TM1616 (CLK, STB, DIN, 7x4), somewhat similar to TM1620.
PDF (Chinese): http://www.titanmec.com/index.php/en/project/download/id/512.html
This chip is used in Gosund SW7 dual-channel dimmer (FCC certified it this March as 2APUZSW7), and I'm trying to control it through Tasmota.
The text was updated successfully, but these errors were encountered: