MAX7219 dot matrix with big text broken?

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Sminter4
Normal user
Posts: 34
Joined: 04 Aug 2021, 23:25
Location: DE

MAX7219 dot matrix with big text broken?

#1 Post by Sminter4 » 07 Mar 2025, 22:01

Hi guys, I would like to build a simple digital clock with twice the font size.

Unfortunately, the lower and upper fonts do not have the same character spacing.

Does anyone have any experience? Am I doing something wrong?
Attachments
2025-03-07 21_46_46-SZ-Uhr_184.png
2025-03-07 21_46_46-SZ-Uhr_184.png (21.33 KiB) Viewed 1991 times
IMG_20250307_214633-EDIT.jpg
IMG_20250307_214633-EDIT.jpg (360.21 KiB) Viewed 1991 times

User avatar
Ath
Normal user
Posts: 4319
Joined: 10 Jun 2018, 12:06
Location: NL

Re: MAX7219 dot matrix with big text broken?

#2 Post by Ath » 07 Mar 2025, 22:18

You have one Layout set to 'Standard', shouldn't that be the other half of "Double, upper": "Double, lower" ?
/Ton (PayPal.me)

Sminter4
Normal user
Posts: 34
Joined: 04 Aug 2021, 23:25
Location: DE

Re: MAX7219 dot matrix with big text broken?

#3 Post by Sminter4 » 08 Mar 2025, 08:23

I had already tried that. Unfortunately, with the same result.

User avatar
Ath
Normal user
Posts: 4319
Joined: 10 Jun 2018, 12:06
Location: NL

Re: MAX7219 dot matrix with big text broken?

#4 Post by Ath » 08 Mar 2025, 12:38

Do both displays work as expected when using the default font, with the standard layout?

Edit:
Does it work as intended when using the "Numeric, double height (1)" font?
NB: For Double height fonts, the Layout should really be set correctly per zone.
/Ton (PayPal.me)

Sminter4
Normal user
Posts: 34
Joined: 04 Aug 2021, 23:25
Location: DE

Re: MAX7219 dot matrix with big text broken?

#5 Post by Sminter4 » 08 Mar 2025, 13:54

I tried both.

1) Standard font on both zones: It looks good. The character spacing is the same.

2) Double font height with zone 1 as lower and zone 2 as upper layout. The character spacing is still not the same.

Could the error be in plugin 104?
Attachments
IMG_20250308_134559.jpg
IMG_20250308_134559.jpg (1.04 MiB) Viewed 1946 times
Layout Double.jpg
Layout Double.jpg (360.21 KiB) Viewed 1946 times
Layout Double.png
Layout Double.png (21.24 KiB) Viewed 1946 times

User avatar
Ath
Normal user
Posts: 4319
Joined: 10 Jun 2018, 12:06
Location: NL

Re: MAX7219 dot matrix with big text broken?

#6 Post by Ath » 08 Mar 2025, 14:15

Have you also tested with the "Numeric, double height" font?
/Ton (PayPal.me)

Sminter4
Normal user
Posts: 34
Joined: 04 Aug 2021, 23:25
Location: DE

Re: MAX7219 dot matrix with big text broken?

#7 Post by Sminter4 » 08 Mar 2025, 14:25

I have the latest build:

ESP_Easy_mega_20241222_display_ESP32_4M316k Dec 22 2024

In this one I only find one double font: "Full, double height". In which build can I find the font "Numeric, double height"?

User avatar
Ath
Normal user
Posts: 4319
Joined: 10 Jun 2018, 12:06
Location: NL

Re: MAX7219 dot matrix with big text broken?

#8 Post by Ath » 08 Mar 2025, 15:11

Ah, I'm looking at a MAX build, that has all fonts included :?

Here's an ESP32 DISPLAY build with that font enabled (it's the ETH build, but that will be the standard, soon):
ESP_Easy_mega_20250308_display_ESP32_4M316k_ETH.zip
(2.36 MiB) Downloaded 153 times
/Ton (PayPal.me)

Sminter4
Normal user
Posts: 34
Joined: 04 Aug 2021, 23:25
Location: DE

Re: MAX7219 dot matrix with big text broken?

#9 Post by Sminter4 » 08 Mar 2025, 19:48

Thanks for the build. I was able to find your font here and test it several times.

Here too, the character spacing is not correct. It doesn't matter whether I display 123 or the time. In addition, the first number now also starts on the 2nd LED unit.
Of course, the display is too short. But even so, the "19:" should still be visible correctly in the photo of "19:33".
Attachments
IMG_20250308_193352.jpg
IMG_20250308_193352.jpg (613.68 KiB) Viewed 1857 times
2025-03-08 19_47_14-_Anleitung flash ESP32.png
2025-03-08 19_47_14-_Anleitung flash ESP32.png (38.74 KiB) Viewed 1857 times

User avatar
Ath
Normal user
Posts: 4319
Joined: 10 Jun 2018, 12:06
Location: NL

Re: MAX7219 dot matrix with big text broken?

#10 Post by Ath » 08 Mar 2025, 20:26

Hm, that's not how I used and tested it before. I'd have to dig up a couple of MAX7219 modules to test, but because of limited available time, that will take a few days.
/Ton (PayPal.me)

Sminter4
Normal user
Posts: 34
Joined: 04 Aug 2021, 23:25
Location: DE

Re: MAX7219 dot matrix with big text broken?

#11 Post by Sminter4 » 08 Mar 2025, 21:49

I have exhausted my options for narrowing down the error further. Great if you can test that! :)
If I can help you in any way, let me know.

Sminter4
Normal user
Posts: 34
Joined: 04 Aug 2021, 23:25
Location: DE

Re: MAX7219 dot matrix with big text broken?

#12 Post by Sminter4 » 19 Mar 2025, 21:39

Ath wrote: 08 Mar 2025, 20:26 Hm, that's not how I used and tested it before. I'd have to dig up a couple of MAX7219 modules to test, but because of limited available time, that will take a few days.
What's the status? Have you been able to find a few days yet? ;)

User avatar
Ath
Normal user
Posts: 4319
Joined: 10 Jun 2018, 12:06
Location: NL

Re: MAX7219 dot matrix with big text broken?

#13 Post by Ath » 19 Mar 2025, 23:06

I've been quite busy, and didn't get to dig up the hardware yet. It will take a few more days, I guess.
/Ton (PayPal.me)

User avatar
Ath
Normal user
Posts: 4319
Joined: 10 Jun 2018, 12:06
Location: NL

Re: MAX7219 dot matrix with big text broken?

#14 Post by Ath » 23 Mar 2025, 15:26

I've hooked up a double-height display to an ESP32, and can confirm that you found a genuine bug :o
And according to the GH commit log this must have been present for at least 4 years, so maybe after the last changes it wasn't tested (or used...) very extensively :?

Have created a PR #5286 to fix that.

Also found it a bit weird that when using the Clock Content settings, the colon was alternating between the upper and lower zones of the clock display, when 'Clock with flashing colon' option was checked, so fixed that as well.

Here's a build with also the Double height numeric font enabled: Can you please report your findings here (or in the GH pull request comments)?
TIA
/Ton (PayPal.me)

Sminter4
Normal user
Posts: 34
Joined: 04 Aug 2021, 23:25
Location: DE

Re: MAX7219 dot matrix with big text broken?

#15 Post by Sminter4 » 25 Mar 2025, 14:59

So, I was able to test the display with double font height using the new build and can no longer reproduce the error. I didn't notice the jumping colon at first because I didn't have it blinking.

Great that both issues are fixed now! Thank you! 👍

Sminter4
Normal user
Posts: 34
Joined: 04 Aug 2021, 23:25
Location: DE

Re: MAX7219 dot matrix with big text broken?

#16 Post by Sminter4 » 03 Apr 2025, 09:22

Ath wrote: 23 Mar 2025, 15:26 ...Can you please report your findings here (or in the GH pull request comments)?
TIA
Unfortunately, the extended tests still revealed an error.
I now have a matrix with 2 x 8 modules. By default, I use the centered time at double height. For alarms and the longer text associated with them, I want to use the "rules" to switch to a standard font with, for example, "Attention - front door open."

When switching back to the double-height time, the space between the characters becomes twice as large each time. At some point, I can only read the "1" in 10:30 a.m.
Can this error be fixed?

Code: Select all

On flur Do
 if %eventvalue1%=1
   DotMatrix,font,2,4
   DotMatrix,font,4,4
   DotMatrix,layout,2,0
   DotMatrix,layout,4,0
   DotMatrix,txt,4,"Achtung"
   DotMatrix,txt,2,"Fluralarm"
  endif
   if %eventvalue1%=0
  DotMatrix,font,2,1
  DotMatrix,font,4,1
  DotMatrix,layout,2,2
  DotMatrix,layout,4,1
  DotMatrix,txt,2,"%syshour%:%sysmin_0%"
  DotMatrix,txt,4,"%syshour%:%sysmin_0%"
  endif
Endon

User avatar
Ath
Normal user
Posts: 4319
Joined: 10 Jun 2018, 12:06
Location: NL

Re: MAX7219 dot matrix with big text broken?

#17 Post by Ath » 03 Apr 2025, 09:40

Ah, the explanation is clear. I'll see if I can fix that later today (in the evening :?)
/Ton (PayPal.me)

User avatar
Ath
Normal user
Posts: 4319
Joined: 10 Jun 2018, 12:06
Location: NL

Re: MAX7219 dot matrix with big text broken?

#18 Post by Ath » 03 Apr 2025, 22:07

I've fixed the issue in PR #5293, and made an ESP32 Display build for testing: Please report your findings here ;)
/Ton (PayPal.me)

Sminter4
Normal user
Posts: 34
Joined: 04 Aug 2021, 23:25
Location: DE

Re: MAX7219 dot matrix with big text broken?

#19 Post by Sminter4 » 10 Apr 2025, 16:16

Now I've been able to thoroughly test the display for font switching and can no longer reproduce the double-space error. Great! Thanks for your help! 👍

User avatar
Ath
Normal user
Posts: 4319
Joined: 10 Jun 2018, 12:06
Location: NL

Re: MAX7219 dot matrix with big text broken?

#20 Post by Ath » 10 Apr 2025, 17:18

Thanks for the feedback ;)
/Ton (PayPal.me)

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 6 guests