Go Down

Topic: LED matrix display - MD_Parola, MD_MAX72xx and MD_MAXPanel (Read 451961 times) previous topic - next topic

borzov161

#1365
Sep 15, 2018, 03:58 pm Last Edit: Sep 15, 2018, 03:59 pm by borzov161
... Any ideas or possible solutions to this?
The control wire "DATA_PIN 11" must be shunted . A 1K resistor on the minus power .
if the wire "DATA_PIN 11" is longer than 10 cm.

RytisBe

I appreciate your answer. Could you explain why is it needed and what exactly do you mean on a minus power? Do i need to pull data pin down to GND with a 1K resistor?

borzov161

... 1K resistor?
bad technical translation. I will draw :)
https://a.d-cd.net/LIAAAgDI2OA-960.jpg
мне трудно писать на английском.

RytisBe

bad technical translation. I will draw :)
https://a.d-cd.net/LIAAAgDI2OA-960.jpg
мне трудно писать на английском.
Much appreciated!

arjious

Dear marco, you help me several time. Now i need another help. In your parola time zone msg example time is one zone and msg are in another zone. I want both time and msg in single zone. Time will flash first after 30 sec that all msg will flash. I tried but can't do it. Can you plz help me how can i modified your code.

marco_c

If you look at the Parola Sign example ("Evacuate"), you will see all the techniques that you need in order to do this work. You will need to rearrange what is happening to suit your specifics (eg, only one zone), but how to change message after some time is all there.
Arduino Libraries https://github.com/MajicDesigns?tab=Repositories
Parola for Arduino https://github.com/MajicDesigns/Parola
Arduino++ blog https://arduinoplusplus.wordpress.com

e-a-k

I have a Parola_Double_Height_Test with Arduino Uno, but I have a problem with wemos d1 mini error.

Arduino Uno


wemos d1 mini


error
Code: [Select]
Arduino: 1.8.5 (Windows 10), Board: "LOLIN(WEMOS) D1 R2 & mini, 80 MHz, Flash, 4M (1M SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 57600"

C:\Users\<name>\AppData\Local\Temp\arduino_modified_sketch_84285\Parola_Double_Height_Test.ino: In function 'void setup()':

Parola_Double_Height_Test:198: error: invalid conversion from 'const catalogItem_t*' to 'catalogItem_t*' [-fpermissive]

   catalog = (invertUpperZone ? catalogInvert : catalogNoInvert);

           ^

C:\Users\<name>\AppData\Local\Temp\arduino_modified_sketch_84285\Parola_Double_Height_Test.ino: In function 'void loop()':

Parola_Double_Height_Test:254: error: cast from 'catalogItem_t*' to 'uint16_t {aka short unsigned int}' loses precision [-fpermissive]

     PRINT(": A ", (uint16_t)&catalog[idxCat]);

                                            ^

C:\Users\<name>\AppData\Local\Temp\arduino_modified_sketch_84285\Parola_Double_Height_Test.ino:34:57: note: in definition of macro 'PRINT'

 #define PRINT(s, v)  { Serial.print(F(s)); Serial.print(v); }

                                                         ^

Parola_Double_Height_Test:268: error: invalid conversion from 'uint8_t {aka unsigned char}' to 'textEffect_t' [-fpermissive]

                       ci.zFX[ZONE_LOWER], ci.zFX[ZONE_LOWER]);

                                        ^

In file included from C:\Users\<name>\AppData\Local\Temp\arduino_modified_sketch_84285\Parola_Double_Height_Test.ino:24:0:

D:\TEMP\arduino-1.8.5\portable\sketchbook\libraries\MD_Parola\src/MD_Parola.h:1322:8: error:   initializing argument 6 of 'void MD_Parola::displayZoneText(uint8_t, char*, textPosition_t, uint16_t, uint16_t, textEffect_t, textEffect_t)' [-fpermissive]

   void displayZoneText(uint8_t z, char *pText, textPosition_t align, uint16_t speed, uint16_t pause, textEffect_t effectIn, textEffect_t effectOut = PA_NO_EFFECT);

        ^

Parola_Double_Height_Test:268: error: invalid conversion from 'uint8_t {aka unsigned char}' to 'textEffect_t' [-fpermissive]

                       ci.zFX[ZONE_LOWER], ci.zFX[ZONE_LOWER]);

                                                            ^

In file included from C:\Users\<name>\AppData\Local\Temp\arduino_modified_sketch_84285\Parola_Double_Height_Test.ino:24:0:

D:\TEMP\arduino-1.8.5\portable\sketchbook\libraries\MD_Parola\src/MD_Parola.h:1322:8: error:   initializing argument 7 of 'void MD_Parola::displayZoneText(uint8_t, char*, textPosition_t, uint16_t, uint16_t, textEffect_t, textEffect_t)' [-fpermissive]

   void displayZoneText(uint8_t z, char *pText, textPosition_t align, uint16_t speed, uint16_t pause, textEffect_t effectIn, textEffect_t effectOut = PA_NO_EFFECT);

        ^

Parola_Double_Height_Test:271: error: invalid conversion from 'uint8_t {aka unsigned char}' to 'textEffect_t' [-fpermissive]

                       ci.zFX[ZONE_UPPER], ci.zFX[ZONE_UPPER]);

                                        ^

In file included from C:\Users\<name>\AppData\Local\Temp\arduino_modified_sketch_84285\Parola_Double_Height_Test.ino:24:0:

D:\TEMP\arduino-1.8.5\portable\sketchbook\libraries\MD_Parola\src/MD_Parola.h:1322:8: error:   initializing argument 6 of 'void MD_Parola::displayZoneText(uint8_t, char*, textPosition_t, uint16_t, uint16_t, textEffect_t, textEffect_t)' [-fpermissive]

   void displayZoneText(uint8_t z, char *pText, textPosition_t align, uint16_t speed, uint16_t pause, textEffect_t effectIn, textEffect_t effectOut = PA_NO_EFFECT);

        ^

Parola_Double_Height_Test:271: error: invalid conversion from 'uint8_t {aka unsigned char}' to 'textEffect_t' [-fpermissive]

                       ci.zFX[ZONE_UPPER], ci.zFX[ZONE_UPPER]);

                                                            ^

In file included from C:\Users\<name>\AppData\Local\Temp\arduino_modified_sketch_84285\Parola_Double_Height_Test.ino:24:0:

D:\TEMP\arduino-1.8.5\portable\sketchbook\libraries\MD_Parola\src/MD_Parola.h:1322:8: error:   initializing argument 7 of 'void MD_Parola::displayZoneText(uint8_t, char*, textPosition_t, uint16_t, uint16_t, textEffect_t, textEffect_t)' [-fpermissive]

   void displayZoneText(uint8_t z, char *pText, textPosition_t align, uint16_t speed, uint16_t pause, textEffect_t effectIn, textEffect_t effectOut = PA_NO_EFFECT);

        ^

Using library MD_Parola at version 3.0.1 in folder: D:\TEMP\arduino-1.8.5\portable\sketchbook\libraries\MD_Parola
Using library MD_MAX72XX at version 3.0.2 in folder: D:\TEMP\arduino-1.8.5\portable\sketchbook\libraries\MD_MAX72XX
Using library SPI at version 1.0 in folder: D:\TEMP\arduino-1.8.5\portable\packages\esp8266\hardware\esp8266\2.4.2\libraries\SPI
exit status 1
invalid conversion from 'const catalogItem_t*' to 'catalogItem_t*' [-fpermissive]

marco_c

Thanks. A short term fix is to simply cast the pointer.

The WEMOS compiler settings seem to cause this problem a lot.
Arduino Libraries https://github.com/MajicDesigns?tab=Repositories
Parola for Arduino https://github.com/MajicDesigns/Parola
Arduino++ blog https://arduinoplusplus.wordpress.com

G7CZZ

Hi Marco, dont know if its been covered already, but trying to use zone display with 3 8x8 displays (basically want bscrolling text on 2 and the 3rd to control a bunch of RGB LEDs - its for table decorations at our wedding next August) but struggling to get it to work!! Will the zone message work with just 3 displays?
Chris

marco_c

Should work. There are no restrictions except that the minimum is 1 module.

Have you got the latest libraries? There was a bug some time ago (>6months) that was worked around.
Arduino Libraries https://github.com/MajicDesigns?tab=Repositories
Parola for Arduino https://github.com/MajicDesigns/Parola
Arduino++ blog https://arduinoplusplus.wordpress.com

plekotho

I got problem with double height scrolling display..

For testing, i got 1 x 12 (8x8) modules, i try to make scrolling text using arduino mega.

But the modules won't lights up normally, some of them OFF, and it's unpredictable.
I try to put resistor on data pin, just like sombody said. Still i got the same error.

Then i test it out using 2 x 12 (8x8) modules. I got the same error, some will light up, some won't.

I'm using FC-16 HW, Green Dot Matrix.

And the funny thing, the first 4 modules (first row and second row) lights up brighter than the rest of the modules, i've set the brightness, and still the first 4 brighter than the rest.

Pls help
Thank you

marco_c

1. You cannot power that many modules from the USB connection. Make sure you have a separate power supply for the display.
2. You don't say how you have connected these modules together. Make sure that the electrical connections between modules are tight and working properly.
3. Switch the positions of modules to see if the fault follows the module (faulty modules) or not.
Arduino Libraries https://github.com/MajicDesigns?tab=Repositories
Parola for Arduino https://github.com/MajicDesigns/Parola
Arduino++ blog https://arduinoplusplus.wordpress.com

plekotho

Hi Marco,

-I use 5V 40A Power Supply for the modules, and usb power for the arduino. I connected the ground between those two.

-I connected the last module of row 1 to the first of row 2 (the square module type), just like :

https://arduinoplusplus.wordpress.com/2017/03/15/parola-a-to-z-double-height-displays/

-I switch the modules many times, and the error is unpredictable. I try to ligth up each 4in1 modules, work perfectly fine.

attached the double height v1 test.
I use arduino Mega, CS = 53 , Din = 51, CLK = 52.

pls help
Thank you

marco_c

Are you using the latest version of the libraries?
Arduino Libraries https://github.com/MajicDesigns?tab=Repositories
Parola for Arduino https://github.com/MajicDesigns/Parola
Arduino++ blog https://arduinoplusplus.wordpress.com

plekotho

Im using version :

MD PAROLA 3.0.1 now, i've tried change it to version 3.0.0, same error.
MD MAX72XX 3.0.2, i've tried change it to version 3.0.1, same error.


Go Up