Page 1 of 1

Esp Easy max7219 Dot Matrix

Posted: 14 Feb 2018, 17:14
by The-Holgi
Hello,
is there a workaround to use the Max7219 Dot Matrix with Esp Easy?

Thanks Holgi

Re: Esp Easy max7219 Dot Matrix

Posted: 16 Nov 2020, 22:57
by hellgun
Almost three years later...

Has anyone had any success with this one?

Image

/Anders

Re: Esp Easy max7219 Dot Matrix

Posted: 09 Feb 2021, 16:57
by Grumpf
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

Re: Esp Easy max7219 Dot Matrix

Posted: 24 Oct 2021, 15:37
by Ath
The plugin to support this type of display (P104) has been merged into the main development branch of ESPEasy (mega).

Re: Esp Easy max7219 Dot Matrix

Posted: 24 Oct 2021, 21:01
by hellgun
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!

Re: Esp Easy max7219 Dot Matrix

Posted: 25 Oct 2021, 23:00
by hellgun
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

Re: Esp Easy max7219 Dot Matrix

Posted: 25 Oct 2021, 23:32
by Ath
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).

Re: Esp Easy max7219 Dot Matrix

Posted: 25 Oct 2021, 23:56
by hellgun
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 :)

Re: Esp Easy max7219 Dot Matrix

Posted: 26 Oct 2021, 08:53
by TD-er
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)

Re: Esp Easy max7219 Dot Matrix

Posted: 25 Nov 2021, 21:48
by CiciRs2006
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

Re: Esp Easy max7219 Dot Matrix

Posted: 25 Nov 2021, 22:11
by Ath
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.

Re: Esp Easy max7219 Dot Matrix

Posted: 26 Nov 2021, 22:15
by CiciRs2006
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

Re: Esp Easy max7219 Dot Matrix

Posted: 26 Nov 2021, 22:27
by Ath
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.

Re: Esp Easy max7219 Dot Matrix

Posted: 26 Nov 2021, 22:29
by TD-er
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.

Esp Easy max7219 Dot Matrix

Posted: 19 Oct 2022, 13:03
by popaserge
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

Re: Esp Easy max7219 Dot Matrix

Posted: 19 Oct 2022, 14:49
by Ath
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.

Re: Esp Easy max7219 Dot Matrix

Posted: 19 Oct 2022, 20:22
by Ath
If you can't get that going, I could provide a custom build, if you list here what plugins and controllers you need.

Re: Esp Easy max7219 Dot Matrix

Posted: 02 Nov 2022, 14:43
by lesovoz85
Помогите подключить дисплей мах7219, у меня показывает мусор

Re: Esp Easy max7219 Dot Matrix

Posted: 02 Nov 2022, 14:57
by TD-er
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?

Re: Esp Easy max7219 Dot Matrix

Posted: 03 Nov 2022, 11:31
by lesovoz85
I have
Wemos D1 Mini and dot matrix display Max7219. When connected, it shows garbage. firmware mega-20211105

Re: Esp Easy max7219 Dot Matrix

Posted: 03 Nov 2022, 11:58
by TD-er
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.

Re: Esp Easy max7219 Dot Matrix

Posted: 03 Nov 2022, 13:08
by Ath
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 ;)).

Re: Esp Easy max7219 Dot Matrix

Posted: 03 Nov 2022, 13:30
by lesovoz85
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?

Re: Esp Easy max7219 Dot Matrix

Posted: 03 Nov 2022, 13:46
by lesovoz85
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:

Re: Esp Easy max7219 Dot Matrix

Posted: 03 Nov 2022, 13:52
by Ath
Please show the Device configuration for your display.

Re: Esp Easy max7219 Dot Matrix

Posted: 03 Nov 2022, 13:59
by lesovoz85
Ath wrote: 03 Nov 2022, 13:52 Please show the Device configuration for your display.

Re: Esp Easy max7219 Dot Matrix

Posted: 03 Nov 2022, 14:17
by TD-er
I think Ton also would like to see the pin configuration.

Re: Esp Easy max7219 Dot Matrix

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

Re: Esp Easy max7219 Dot Matrix

Posted: 04 Nov 2022, 03:18
by lesovoz85
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?

Re: Esp Easy max7219 Dot Matrix

Posted: 04 Nov 2022, 03:51
by lesovoz85
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?

Re: Esp Easy max7219 Dot Matrix

Posted: 04 Nov 2022, 07:28
by Ath
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-).

Re: Esp Easy max7219 Dot Matrix

Posted: 04 Nov 2022, 08:35
by TD-er
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 :)

Re: Esp Easy max7219 Dot Matrix

Posted: 05 Nov 2022, 12:24
by lesovoz85
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?

Re: Esp Easy max7219 Dot Matrix

Posted: 05 Nov 2022, 12:27
by Ath
Yes, SPI has to be enabled for this device to work.

Re: Esp Easy max7219 Dot Matrix

Posted: 06 Nov 2022, 05:45
by lesovoz85
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)

Re: Esp Easy max7219 Dot Matrix

Posted: 06 Nov 2022, 09:27
by Ath
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.

Re: Esp Easy max7219 Dot Matrix

Posted: 06 Nov 2022, 10:25
by lesovoz85
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?

Re: Esp Easy max7219 Dot Matrix

Posted: 06 Nov 2022, 12:23
by TD-er
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]

Re: Esp Easy max7219 Dot Matrix

Posted: 07 Nov 2022, 13:11
by lesovoz85
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