Esp Easy max7219 Dot Matrix

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
The-Holgi
New user
Posts: 7
Joined: 14 Feb 2018, 17:07

Esp Easy max7219 Dot Matrix

#1 Post by The-Holgi » 14 Feb 2018, 17:14

Hello,
is there a workaround to use the Max7219 Dot Matrix with Esp Easy?

Thanks Holgi

hellgun
New user
Posts: 6
Joined: 16 Jul 2017, 12:07

Re: Esp Easy max7219 Dot Matrix

#2 Post by hellgun » 16 Nov 2020, 22:57

Almost three years later...

Has anyone had any success with this one?

Image

/Anders

User avatar
Grumpf
Normal user
Posts: 124
Joined: 05 May 2017, 23:45
Location: Namur

Re: Esp Easy max7219 Dot Matrix

#3 Post by Grumpf » 09 Feb 2021, 16:57

Just a post to subscribe to this topic. I'm going to ask help for a project with that as well. Cheers.

Here:

viewtopic.php?f=2&t=8322

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

Re: Esp Easy max7219 Dot Matrix

#4 Post by Ath » 24 Oct 2021, 15:37

The plugin to support this type of display (P104) has been merged into the main development branch of ESPEasy (mega).
/Ton (PayPal.me)

hellgun
New user
Posts: 6
Joined: 16 Jul 2017, 12:07

Re: Esp Easy max7219 Dot Matrix

#5 Post by hellgun » 24 Oct 2021, 21:01

Ath wrote: 24 Oct 2021, 15:37 The plugin to support this type of display (P104) has been merged into the main development branch of ESPEasy (mega).
This is great news! Thanks for the info!

hellgun
New user
Posts: 6
Joined: 16 Jul 2017, 12:07

Re: Esp Easy max7219 Dot Matrix

#6 Post by hellgun » 25 Oct 2021, 23:00

Ath wrote: 24 Oct 2021, 15:37 The plugin to support this type of display (P104) has been merged into the main development branch of ESPEasy (mega).
Today I downloaded release "ESPEasy_ESP82xx_mega-20211005" and flashed my D1 mini with the binary "ESP_Easy_mega_20211005_display_ESP8266_4M1M" but I didn't find the plugin for MAX7219 dot matrix. Isn't it included in the binaries yet?

The documentation for this plugin can be found on the site, though. https://espeasy.readthedocs.io/en/lates ... /P104.html

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

Re: Esp Easy max7219 Dot Matrix

#7 Post by Ath » 25 Oct 2021, 23:32

It hasn't been released yet. You can clone the repository and build it yourself, or get it from a Github Actions build of `mega`, or wait a few days for a release. I can build it for you and post here, but that will take until tomorrow evening (CET).
/Ton (PayPal.me)

hellgun
New user
Posts: 6
Joined: 16 Jul 2017, 12:07

Re: Esp Easy max7219 Dot Matrix

#8 Post by hellgun » 25 Oct 2021, 23:56

Ath wrote: 25 Oct 2021, 23:32 It hasn't been released yet. You can clone the repository and build it yourself, or get it from a Github Actions build of `mega`, or wait a few days for a release. I can build it for you and post here, but that will take until tomorrow evening (CET).
Thanks for the quick response and for the offer! I can wait until next release. I was so happy for the good news of this plugin that I wanted to test it right away but I don't have the time for this project right now anyway :)

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Esp Easy max7219 Dot Matrix

#9 Post by TD-er » 26 Oct 2021, 08:53

You could try out the build I made yesterday for testing the scripts to generate the HTML for the (experimental) web flasher: https://td-er.nl/ESPEasy/
The code is based on what was yesterday the latest code. (probably still is)

CiciRs2006
New user
Posts: 2
Joined: 25 Nov 2021, 21:24

Re: Esp Easy max7219 Dot Matrix

#10 Post by CiciRs2006 » 25 Nov 2021, 21:48

Hey @all
my setup works very well (thanks to your help / I read this thread ...)

-Build: ESP_Easy_mega_20211105_display_ESP8266_4M1M Nov 5 2021
-MAX7219 2x4x

Is it possible to change the displayed text via a url command?
or is it planned for the future?


I'm not a programmer, (just a little VB) and have never had anything to do with Arduino before.
everything I have achieved so far only worked with this forum

Background:

I use Homematic (with the CCU2 & 3) and a (different) ESP for a status display.
Now I would like to use the MAX7219 panels for display too. The easiest way to do this is to use a url command ...


Sorry for my English, I'm from Germany and hope you still understand what I mean.

Thank you and best regards
CiciRs2006

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

Re: Esp Easy max7219 Dot Matrix

#11 Post by Ath » 25 Nov 2021, 22:11

Hi, and welcome :)

ESPEasy supports several ways to execute commands, as described on this page: https://espeasy.readthedocs.io/en/lates ... mmand.html (start reading at the top... ;)) then search for P104 (the plugin number, there's also a MAX7219 7 segment plugin, P073) to find all commands supported for the dotmatrix display.
/Ton (PayPal.me)

CiciRs2006
New user
Posts: 2
Joined: 25 Nov 2021, 21:24

Re: Esp Easy max7219 Dot Matrix

#12 Post by CiciRs2006 » 26 Nov 2021, 22:15

Thank you very much, that was really very helpful. Exactly what I was looking for.

Now I still have the problem that the ESP sometimes freezes.
Then nothing works until I restart it several times.

Very often the device is then disabled and can only be set to enabled after several attempts.

Is that because the build version is still a test version?

P.S. "P104" is the right option for my setup.

Greetings and thank you
CiciRs2006

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

Re: Esp Easy max7219 Dot Matrix

#13 Post by Ath » 26 Nov 2021, 22:27

The 'test' in the build name used to indicate that it was indeed a test-version, but that label hasn't been applied that way for some time.
Usually, plugins are quite stable, though I haven't run this one for really long (like weeks) in a row, even though I did a lot of development on it.

Do you have log information from the unit (INFO level should be sufficient) around the time the freeze happens? Web logging won't be very reliable I assume as it will also freeze I guess, serial log or using a syslog server is quite reliable.

it is quite important that the power supply for the ESP is stable, separating it from the power for the displays is good idea (I did make that quite clear in the documentation), it is not unlikely that after some time the power supply becomes unstable because of the quite heavy load the display can put on it, I've been using a 5V 7A PSU, but it could only handle about 28 of these MAX7219 matrix modules.
/Ton (PayPal.me)

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Esp Easy max7219 Dot Matrix

#14 Post by TD-er » 26 Nov 2021, 22:29

Is the dot matrix task then disabled?

ESPEasy has a mechanism where it detects quick reboots.
After 10 of such incomplete boot sequences, it starts disabling tasks and then controllers, one by one.
So this may help prevent the ESP to remain inaccessible if a plugin or controller misbehaves (read: causes a crash)

If this happens to you, please share your configuration and/or how you interact with the task, e.g. via rules.

popaserge
New user
Posts: 2
Joined: 07 Aug 2019, 19:02

Esp Easy max7219 Dot Matrix

#15 Post by popaserge » 19 Oct 2022, 13:03

My wife said that when inside the swimming pool we cannot see what time it is.

With a lot of trials I succeded to use 2 Dot matrix with each 2 x 8 modules to display date, time and air and water temperature with following release
Build :ESP_Easy_mega_20220809_display_ESP8266_4M1M Aug 9 2022

All is done by mean of rules and at some times i use to give to ESPeasy a kind of french artificial intelligence see picture (french language)!!!!!

I would like now to play sounds at these particular times, but rtttl command is not valid and fails as the tone command is OK.

I think I will have to do my own build with also other plugins that I need.

Is somebody aware to explain what to do when building with PlatformIO to be sure that the rtttl command will be OK and not desabled as I read in some messages.

Many thanks for help
Attachments
Apero0b.jpg
Apero0b.jpg (46.75 KiB) Viewed 5882 times
Apero1b.jpg
Apero1b.jpg (53.26 KiB) Viewed 5882 times

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

Re: Esp Easy max7219 Dot Matrix

#16 Post by Ath » 19 Oct 2022, 14:49

Great looking displays! :D

Suggested development environment is based on VSCode and PlatformIO. In this documentation page is a description on how to set up your local environment.
/Ton (PayPal.me)

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

Re: Esp Easy max7219 Dot Matrix

#17 Post by Ath » 19 Oct 2022, 20:22

If you can't get that going, I could provide a custom build, if you list here what plugins and controllers you need.
/Ton (PayPal.me)

lesovoz85
Normal user
Posts: 11
Joined: 02 Nov 2022, 14:36

Re: Esp Easy max7219 Dot Matrix

#18 Post by lesovoz85 » 02 Nov 2022, 14:43

Помогите подключить дисплей мах7219, у меня показывает мусор

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Esp Easy max7219 Dot Matrix

#19 Post by TD-er » 02 Nov 2022, 14:57

lesovoz85 wrote: 02 Nov 2022, 14:43 Помогите подключить дисплей мах7219, у меня показывает мусор
Can you please post in English?
I just translated this using Google Translate:
Help me connect the max7219 display, it shows garbage
How is it connected?
What kind of board do you use?
Which (exact) ESPEasy build do you use?

lesovoz85
Normal user
Posts: 11
Joined: 02 Nov 2022, 14:36

Re: Esp Easy max7219 Dot Matrix

#20 Post by lesovoz85 » 03 Nov 2022, 11:31

I have
Wemos D1 Mini and dot matrix display Max7219. When connected, it shows garbage. firmware mega-20211105
Attachments
IMG_20221103_182512.jpg
IMG_20221103_182512.jpg (4.97 MiB) Viewed 5699 times

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Esp Easy max7219 Dot Matrix

#21 Post by TD-er » 03 Nov 2022, 11:58

I am pretty sure something has been updated to this plugin in the last year.
So please try a newer build.
The latest one (very close to a new build) can be found here in the GitHub Actions:
https://github.com/letscontrolit/ESPEas ... 3384578967
N.B. You need to be logged in to GitHub to download the "Binaries" zip file from that page.

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

Re: Esp Easy max7219 Dot Matrix

#22 Post by Ath » 03 Nov 2022, 13:08

It looks like you are using the 7-segment display plugin using the display type MAX7219 (P073) instead of the required MAX7219 dot matrix plugin (P104) for this type of display. That last plugin (P104) is only available in the Display builds.

This has confused other users before (and was the original reason that P104 was created ;)).
/Ton (PayPal.me)

lesovoz85
Normal user
Posts: 11
Joined: 02 Nov 2022, 14:36

Re: Esp Easy max7219 Dot Matrix

#23 Post by lesovoz85 » 03 Nov 2022, 13:30

TD-er wrote: 03 Nov 2022, 11:58 I am pretty sure something has been updated to this plugin in the last year.
So please try a newer build.
The latest one (very close to a new build) can be found here in the GitHub Actions:
https://github.com/letscontrolit/ESPEas ... 3384578967
N.B. You need to be logged in to GitHub to download the "Binaries" zip file from that page.
installed HEAD_1a8947 (ESPEasy_display_ESP8266_4M1M) a no changes. maybe I downloaded the wrong firmware?
Last edited by lesovoz85 on 03 Nov 2022, 13:52, edited 1 time in total.

lesovoz85
Normal user
Posts: 11
Joined: 02 Nov 2022, 14:36

Re: Esp Easy max7219 Dot Matrix

#24 Post by lesovoz85 » 03 Nov 2022, 13:46

Ath wrote: 03 Nov 2022, 13:08 It looks like you are using the 7-segment display plugin using the display type MAX7219 (P073) instead of the required MAX7219 dot matrix plugin (P104) for this type of display. That last plugin (P104) is only available in the Display builds.

This has confused other users before (and was the original reason that P104 was created ;)).
I downloaded it doesn't work :roll:

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

Re: Esp Easy max7219 Dot Matrix

#25 Post by Ath » 03 Nov 2022, 13:52

Please show the Device configuration for your display.
/Ton (PayPal.me)

lesovoz85
Normal user
Posts: 11
Joined: 02 Nov 2022, 14:36

Re: Esp Easy max7219 Dot Matrix

#26 Post by lesovoz85 » 03 Nov 2022, 13:59

Ath wrote: 03 Nov 2022, 13:52 Please show the Device configuration for your display.
Attachments
Безымянный4.jpg
Безымянный4.jpg (3.01 MiB) Viewed 5596 times
Безымянный3.jpg
Безымянный3.jpg (26.62 KiB) Viewed 5625 times
Безымянный.jpg
Безымянный.jpg (159.07 KiB) Viewed 5628 times
Last edited by lesovoz85 on 03 Nov 2022, 14:41, edited 2 times in total.

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Esp Easy max7219 Dot Matrix

#27 Post by TD-er » 03 Nov 2022, 14:17

I think Ton also would like to see the pin configuration.

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

Re: Esp Easy max7219 Dot Matrix

#28 Post by Ath » 03 Nov 2022, 16:34

That's the 7-segment display plugin (P073), not the MAX7219 dot matrix plugin (P104), as I suggested could be the cause...
/Ton (PayPal.me)

lesovoz85
Normal user
Posts: 11
Joined: 02 Nov 2022, 14:36

Re: Esp Easy max7219 Dot Matrix

#29 Post by lesovoz85 » 04 Nov 2022, 03:18

Ath wrote: 03 Nov 2022, 16:34 That's the 7-segment display plugin (P073), not the MAX7219 dot matrix plugin (P104), as I suggested could be the cause...
What do I need to do?

lesovoz85
Normal user
Posts: 11
Joined: 02 Nov 2022, 14:36

Re: Esp Easy max7219 Dot Matrix

#30 Post by lesovoz85 » 04 Nov 2022, 03:51

Ath wrote: 03 Nov 2022, 16:34 That's the 7-segment display plugin (P073), not the MAX7219 dot matrix plugin (P104), as I suggested could be the cause...
this is what need?
Attachments
Screenshot_2022-11-04-10-24-07-231_com.android.chrome.jpg
Screenshot_2022-11-04-10-24-07-231_com.android.chrome.jpg (380.98 KiB) Viewed 5531 times

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

Re: Esp Easy max7219 Dot Matrix

#31 Post by Ath » 04 Nov 2022, 07:28

Sorry, can't read the Cyrillic characters, but from the few that aren't translated, it seems to be the correct plugin, as you will have seen by now, I assume 8-).
/Ton (PayPal.me)

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Esp Easy max7219 Dot Matrix

#32 Post by TD-er » 04 Nov 2022, 08:35

Offtopic:
Always seems kinda nice to see your own software being translated, even when it is automatically done in the browser.
It simply indicates its widely usage :)

lesovoz85
Normal user
Posts: 11
Joined: 02 Nov 2022, 14:36

Re: Esp Easy max7219 Dot Matrix

#33 Post by lesovoz85 » 05 Nov 2022, 12:24

TD-er wrote: 04 Nov 2022, 08:35 Offtopic:
Always seems kinda nice to see your own software being translated, even when it is automatically done in the browser.
It simply indicates its widely usage :)
Does SPI need to be enabled for this plugin to work?

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

Re: Esp Easy max7219 Dot Matrix

#34 Post by Ath » 05 Nov 2022, 12:27

Yes, SPI has to be enabled for this device to work.
/Ton (PayPal.me)

lesovoz85
Normal user
Posts: 11
Joined: 02 Nov 2022, 14:36

Re: Esp Easy max7219 Dot Matrix

#35 Post by lesovoz85 » 06 Nov 2022, 05:45

Ath wrote: 05 Nov 2022, 12:27 Yes, SPI has to be enabled for this device to work.
I connected =) sometimes i get a message
FS : Daily flash write rate exceeded! (powercycle or send command 'resetFlashWriteCounter' to reset this)

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

Re: Esp Easy max7219 Dot Matrix

#36 Post by Ath » 06 Nov 2022, 09:27

lesovoz85 wrote: 06 Nov 2022, 05:45 I connected =) sometimes i get a message
FS : Daily flash write rate exceeded! (powercycle or send command 'resetFlashWriteCounter' to reset this)
That's exactly what it says, you have probably tried many options, and saved the settings often. To protect the flash, a warning is issued after a certain number of flash-writes has been reached, as flash memory wears out after a limited number of writes.
/Ton (PayPal.me)

lesovoz85
Normal user
Posts: 11
Joined: 02 Nov 2022, 14:36

Re: Esp Easy max7219 Dot Matrix

#37 Post by lesovoz85 » 06 Nov 2022, 10:25

Ath wrote: 06 Nov 2022, 09:27
lesovoz85 wrote: 06 Nov 2022, 05:45 I connected =) sometimes i get a message
FS : Daily flash write rate exceeded! (powercycle or send command 'resetFlashWriteCounter' to reset this)
That's exactly what it says, you have probably tried many options, and saved the settings often. To protect the flash, a warning is issued after a certain number of flash-writes has been reached, as flash memory wears out after a limited number of writes.
It's clear. How can I get 1820 sensor readings on this display?

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Esp Easy max7219 Dot Matrix

#38 Post by TD-er » 06 Nov 2022, 12:23

The task you configured does have a name (e.g. "outdoor" or whatever name you entered)
The task value also has some name (e.g. "temperature" or whatever name you entered)

To use the current value of a taskvalue, you need to address it like this:
[taskname#taskvaluename] or using the names in my example: [outdoor#temperature]

lesovoz85
Normal user
Posts: 11
Joined: 02 Nov 2022, 14:36

Re: Esp Easy max7219 Dot Matrix

#39 Post by lesovoz85 » 07 Nov 2022, 13:11

TD-er wrote: 06 Nov 2022, 12:23 The task you configured does have a name (e.g. "outdoor" or whatever name you entered)
The task value also has some name (e.g. "temperature" or whatever name you entered)

To use the current value of a taskvalue, you need to address it like this:
[taskname#taskvaluename] or using the names in my example: [outdoor#temperature]
=) works

Post Reply

Who is online

Users browsing this forum: No registered users and 36 guests