7-segment TM1637: 7dbin not work
Moderators: grovkillen, Stuntteam, TD-er
7-segment TM1637: 7dbin not work
Hi! 7dtext, 7ddt, etc - work. But, for example, 7dbin,0x40,0x20,0x10,0x08,0x04,0x02 (or 0b:)
Re: 7-segment TM1637: 7dbin not work
Which build are you using?
Re: 7-segment TM1637: 7dbin not work
Custom ESP32.
Re: 7-segment TM1637: 7dbin not work
Using the latest code I assume?
Re: 7-segment TM1637: 7dbin not work
Yes, ESP_Easy_mega_20230308_custom_ESP32_4M316k Mar 8 2023.
Re: 7-segment TM1637: 7dbin not work
Hmm, when handling this command, there seems to be a special case for 6 digit displays:
So I guess the writer of this code (Ath) should probably look into this...
Code: Select all
case P073_TM1637_6DGT:
{
tm1637_SwapDigitInBuffer(event, 0); // only needed for 6-digits displays
tm1637_ShowBuffer(event, 0, 6);
break;
}
Re: 7-segment TM1637: 7dbin not work
That date only reflects the build data.
I do assume you did use the latest code that was available at that date?
So just to be sure that you didn't have some (much) older code from an earlier build on your PC and just built a new image...
Re: 7-segment TM1637: 7dbin not work
Yes, code dated 02/16/23.
Re: 7-segment TM1637: 7dbin not work
What would you expect to be displayed here? You haven't stated that, AFAICS.
/Ton (PayPal.me)
Re: 7-segment TM1637: 7dbin not work
To display any bit pattern on the display.
The example shows each digit with a different segment on, including the dot/colon.
Re: 7-segment TM1637: 7dbin not work
That tdbin command is used on the 8-digit MAX7219 display.
I'll investigate if it can be adapted so it will work similarly on the TM1637 displays, as that does have some bit manipulation in place.
I'll investigate if it can be adapted so it will work similarly on the TM1637 displays, as that does have some bit manipulation in place.
/Ton (PayPal.me)
Re: 7-segment TM1637: 7dbin not work
How Vcc voltage is for TM1637?
Very often these led modules are for 5V.
If so, you have to use the level shifter between ESP and module.
According to TM1637 datasheet min. voltage for high log level on its input is 0.7 VCC. For 5V VCC it is 3,5V
But ESP can never send 3.5V, when its Vcc is 3.3V
This can cause instability in transmission to module.
Very often these led modules are for 5V.
If so, you have to use the level shifter between ESP and module.
According to TM1637 datasheet min. voltage for high log level on its input is 0.7 VCC. For 5V VCC it is 3,5V
But ESP can never send 3.5V, when its Vcc is 3.3V
This can cause instability in transmission to module.
Re: 7-segment TM1637: 7dbin not work
All of these displays I own work just fine at 3.3V, maybe the max brightness is somewhat higher when on 5V, but usually these displays are way too bright, especially at night, so that shouldn't be a problem.
All issues above have now been fixed, and merged into 'mega', though not released yet.
/Ton (PayPal.me)
Who is online
Users browsing this forum: No registered users and 14 guests