Go Down

Topic: Scrolling LED matrix display - Parola for Arduino (Read 322175 times) previous topic - next topic

oshamed

Thank you for quick replay.
Before any thing I know that the problem at my end.lib works fine.
I am using esp8266 with .5 A USB no external power.
The error swap between matrix.
Here is link for my matrix

https://uge-one.com/four-cascaded-max7219-8x8-led-matrix-serial-display-module-for-arduino.html?search=cascade%20&description=true

My application grapes gold price from server.
And display it on screen.

Thank you

marco_c

Each of those modules can take up to 200 mA so I think your power supply is not big enough. I have an article in my blog on this - link on the left. Once a module drops out it needs to be initialised, as you have found.
 
Arduino Libraries https://github.com/MajicDesigns?tab=Repositories
Parola for Arduino https://github.com/MajicDesigns/Parola
Arduino++ blog https://arduinoplusplus.wordpress.com

oshamed

#1172
Nov 08, 2017, 09:25 am Last Edit: Nov 08, 2017, 09:41 am by oshamed
Even if I set intensity to 1

How can I donate to this lip?

marco_c

Those modules typically have an Rset resistor of 10k. This makes them very bright. Even with intensity 1 it can draw a lot of current if there are a lot of LEDs on at the time.

Quote
How can I donate to this lip?
No idea what this means.

Arduino Libraries https://github.com/MajicDesigns?tab=Repositories
Parola for Arduino https://github.com/MajicDesigns/Parola
Arduino++ blog https://arduinoplusplus.wordpress.com

oshamed

Thank you works now when using external power 1A.
Iam asking do you accept donation...you worked hard for this library .if you accept please send me donation like.



marco_c

Glad to hear it is working. Just give me karma points if you like it.
Arduino Libraries https://github.com/MajicDesigns?tab=Repositories
Parola for Arduino https://github.com/MajicDesigns/Parola
Arduino++ blog https://arduinoplusplus.wordpress.com

henrybernet

#1176
Today at 02:50 am Last Edit: Today at 03:06 am by henrybernet
Marco,

I post to piggyback off of DaIceMan's post regarding instability when booting cold and other inexplicable issues during the boot process after calling "begin()".

First off, fantastic library.  It has made a lot of tasks easy and it is clear you have a passion and have put a lot of effort into this.  Don't read any of this as crticisim, I hope to give as much information as possible and please let me know if you need more.  

Background: I've built this project going through several iterations.  First, learning by using a shift register with a single matrix and i've graduated to a 4 module grouping.  (Exact model).  I think Parola is the fourth library I've implemented, as I have continually required more features.  

Full disclosure: I can run all of the examples without issues.  However in my own code, seemingly at random... or cold boot/after the third upload/etc., I cannot get past the setup loop where I execute Begin().  

On the serial monitor, it is clear that the whole thing crashes or hangs after execution.  I'll see my first debug message on the serial monitor and then the whole thing is toast.  When I comment out the Parola lines I can get through it fine.  Sometimes, immediately after I upload the sketch, it will be fine.  Cold boot is probably 1 and almost never.

I have read many comments about RAM issues and I implemented debugging to track RAM usage through the sketch.  I don't think I am running out of memory.  For example, on a successful boot, I have the readings below   Technically:  I really have 4 devices and want 2 zones....I was messing around based on DaIceMan's comments (doesn't make much of a difference).  

RAM USAGE
(MAX_DEVICES = 7, ZONES = 7)
Before Parola Setup freeMemory()=1473
After Parola Setup freeMemory()=986

I am utilizing the MD_MAD72XX version 2.90 and Parola 2.64.

I can do things like displayText() all day long.  It is only once I start implementing zones that I seem to get into problems.  

I'm happy to provide as much detail as possible.  Let me know.


EDIT:  Adding Full Sketch for Reference.  Code commented/uncommented may vary by mileage.  Outside of specific initializations it is the same code I am referencing. 

marco_c

#1177
Today at 04:17 am Last Edit: Today at 04:18 am by marco_c
Some things for my information, please:
1. What is your development environment and versions?
2. Where did you get Bounce2 and version, so I can get same.
3. What does the sample code do to help me read the code in context.
4. Does the sample code cause problem on your system? This only has 2 zones/4 modules and you mention 7 zones/7 modules.
Arduino Libraries https://github.com/MajicDesigns?tab=Repositories
Parola for Arduino https://github.com/MajicDesigns/Parola
Arduino++ blog https://arduinoplusplus.wordpress.com

Go Up