Go Down

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

Jeff Haas

Marco, thanks.  I see what you mean about adapting the code for the Due, it's a bit of a stretch for me, so I'll have to see how badly we want this specific project.

Jeff

roamer

Hi everybody, has anyone done a sort of a menu system for led matrix. I find plenty for LCD Shields but it it would be nice if there were one for matrix display too.

marco_c

What do you mean by "a sort of menu system"? If you can be a bit more specific ...

In principle the only difference between a one line LCD display and the LED output is the final output stage. All the rest of the logic and data to manage the menu remains almost identical.
Arduino Libraries http://arduinocode.codeplex.com
Parola for Arduino http://parola.codeplex.com

roamer

Hi Marco, well I mean a menu system with buttons to navigate up or down and to confirm your choice. In my case I want a menu to set time for my clock. Now I have 2 buttons, with one I can start serial monitor to set date and time and with the other I can adjust brightness. I would like to do it with a menu with 4 buttons, but I have problem to make it work. A small example would be appreciated.

Regards roamer

marco_c

Arduino Libraries http://arduinocode.codeplex.com
Parola for Arduino http://parola.codeplex.com

s1930

Parola is an excellent scrolling program,I have used it with 4 generic modules,worked great.
T have also used it with icstation modules also works great.
I have now tried to use it with icstation 4 in line modules all on a pcb,but no success.
the Arduino seems to be sending multi inputs.
The input is on the left hand side (unlike the normal icstation modules.
I did manage to get it to work by hard wiring them ---data in to module 4, then data out to module 3,
then 2 then 1.
This'nt a very elegant solution. Has anyone solved this with Parola?

marco_c

Quote
the Arduino seems to be sending multi inputs.
Can you explain this?

4 ICStation modules connected together should be no different from a normal chain of modules connected together. Can you please also post a picture of what you have set up?
Arduino Libraries http://arduinocode.codeplex.com
Parola for Arduino http://parola.codeplex.com

s1930

Thanks Marco, I think this is a new 4 in line display from icstation.

The original ones worked OK as expected, but this new 4 matrix display seems to do muliple writes to the display.
The Din is on the left, whereas  Parola expects it on the right.

The only way I could get it to work correctly, was to hardwire the display using display number 4 (on the right) as the Din and then Dout to number 3 then 2 then 1.


marco_c

#623
Jul 28, 2015, 11:47 pm Last Edit: Jul 28, 2015, 11:47 pm by marco_c
Maybe you are catching me on a 'stupid' day, but I can't figure out why you perceive a problem.

Quote
The original ones worked OK as expected, but this new 4 matrix display seems to do multiple writes to the display.
I still don not understand what you are saying. Are you referring to the display showing the same thing on all displays? or do you mean something else?

Quote
The Din is on the left, whereas  Parola expects it on the right.

The only way I could get it to work correctly, was to hardwire the display using display number 4 (on the right) as the Din and then Dout to number 3 then 2 then 1.
Back to basics - With these modules (as with all others) the position in the chain defines its number. The first Din connected to the Arduino is on the first module. No matter whether the software expects that the first module be on the right or left, moving it to the other side (left or right, respectively) simply involves flipping the chain end to end. Worse case the text is upside down.

The modules shown in the photo are simply 4 single ICStation modules that have not been separated. They don't even have PCB traces across the separate PCB and still require the use of jumpers. If you were able to run multiple ICStation modules before (you said that in your post), this should work just the same way.

 Have you actually told the library that you have 4 modules in the chain?
Arduino Libraries http://arduinocode.codeplex.com
Parola for Arduino http://parola.codeplex.com

louwin

I think these are the FC-16 modules, as you said, not separated. I also think the traces DO go through as I have removed the micro jumpers. In fact, another version doesn't have the intermediate 5P headers as the traces just run through all 4 modules.

I have a 24 module scrolling setup using 16 modules (4 by 4 groups) with NO intermediate 5P headers and 8 modules (2 by 4 groups) WITH intermediate 5P headers but with the micro jumpers removed.

This scrolling display works PERFECTLY with Parola for Arduino (MD_Parola) and MD_MAX72xx libraries.
Newbie, bought a Uno because I had a $10 Paypal voucher  :)

s1930

Sorry for the delay in my reply, I have been doing lots of testing with the new icstation and the original
 icstion single modules.

I slowed down the write to the disply so I could clearly see what was happening.
I just sent the word Parola.

On the original (singles) working perfectly.
On the 4 module display it showed first scrolling Parola then the same on the second then the third then the forth.  That is it scrolled module 1 then 2 then 3 then 4.

I do not think for one moment that you have 'stupid' days, I think they are reserved for me, but my excuse is my age (there is a clue in the pen name)

I have since seen the post of Iouwin, and he has it working fine, so it must be me.

I have 4 of these modules of 4 each gives the same result.


marco_c

#626
Jul 30, 2015, 01:14 am Last Edit: Jul 30, 2015, 01:19 am by marco_c
Sounds to me like you have not changed the number of modules from 1 to 4. Please confirm?

The library will send out enough data to fill up the number of modules. If you give a number of modules less than it has, then it only fills up part way and the next lot of data pushed the first lot into the next modules, etc, with a delay of 1 animation frame between each module. So if you are scrolling in, the data will appear as one column in module 1, then 2 cols in mod 1 and 1 col in mod 2, then 3 col in mod 1, 2 col in mod 2 and 1 col in mod 3, etc, rippling down the line.
Arduino Libraries http://arduinocode.codeplex.com
Parola for Arduino http://parola.codeplex.com

jelker

Hello everyone,

I am trying to compile the program but come to this error:

"
In file included from C:\Program Files (x86)\Arduino\libraries\MD_MAX72xx\MD_MAX72xx_font.cpp:24:0:
C:\Program Files (x86)\Arduino\libraries\MD_MAX72xx\MD_MAX72xx_font.cpp:194:24: error: variable '_sysfont_var' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
 uint8_t _sysfont_var[] PROGMEM =
                        ^
C:\Program Files (x86)\Arduino\libraries\MD_MAX72xx\MD_MAX72xx_font.cpp:714:26: error: variable '_sysfont_fixed' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
 uint8_t _sysfont_fixed[] PROGMEM =
                          ^
Error compiling.
"

Could anyone offer some guidance on this so that I can upload to the Arduino?

marco_c

@jelker. You need to use the latest versions of all the libraries. This problem has already been discussed in earlier posts.

Links to the locations for the libraries are in my signature block.
Arduino Libraries http://arduinocode.codeplex.com
Parola for Arduino http://parola.codeplex.com

Go Up