Llano
January 10, 2018, 7:56pm
1
Hello,
I recently purchased a DFRobot Mega 2560 and a 64x64 LED matrix, but i can't seem to get it to work correctly.
I have the LED panel connected to the pins on the Mega following the scheme on this page: 64x64_RGB_LED_Matrix_-_3mm_pitch_SKU_DFR0499-DFRobot
I also have a power supply that supplies 5 Volt @ 5 ampere connected to the LED panel.
Now, i am able to print stuff on the panel, but everything seems to be printed twice. It also flickers alot.
(GIF) Imgur
#include <DFRobot_RGBMatrix.h> // Hardware-specific library
#include <Wire.h>
#define OE 9
#define LAT 10
#define CLK 11
#define A A0
#define B A1
#define C A2
#define D A3
#define E A4
#define WIDTH 64
#define HIGHT 64
DFRobot_RGBMatrix matrix(A, B, C, D, E, CLK, LAT, OE, false, WIDTH, HIGHT);
void setup()
{
matrix.begin();
matrix.setTextSize(1); // size 1 == 8 pixels high
matrix.print("LHEY");
}
void loop()
{
}
If i disconnect the external power supply connected to the panel, it looks like this:
I seems to be able to fill the whole panel with white with the following code:
void setup()
{
matrix.begin();
// fill the screen with 'black'
matrix.setTextSize(1); // size 1 == 8 pixels high
matrix.fillScreen(matrix.Color333(7, 7, 7));
}
void loop()
{
}
but this also flickeres alot.
What could be the problem? I have doublechecked all the cables, and it is right.
Have you got A4 connected to the 'HE' pin on the display connector ?
This wire is missing on the 'Connection Diagram' on the page you linked.
Your 5v 5 amp supply should be connected to the display only, don't connect the Arduino 5v to the display at all.
Yours,
TonyWilk
Llano
January 11, 2018, 11:53am
3
TonyWilk:
Have you got A4 connected to the 'HE' pin on the display connector ?
I do not, since it wasn't show in the connetion scheme. Will try to connect this one when i get home after work.
Your 5v 5 amp supply should be connected to the display only, don't connect the Arduino 5v to the display at all.
Do you mean the nothing should be connected to the 5v pin on the board from the LED panel? Because nothing is.
Thanks!
Llano
January 11, 2018, 4:59pm
4
Just wanted to say that i connected the 'HE' into the Analog 4, and now it all seems to work
Weird thing they chose to exlude this connection in the wiki.
Thanks again!
Llano:
Just wanted to say that i connected the 'HE' into the Analog 4, and now it all seems to work
Weird thing they chose to exlude this connection in the wiki.
Thanks again!
Everything is in their wiki !!!
The connection is shown in the JPG
In addition, they write:
/ *************** Control signal pin connected to MEGA2560 ************************ /
R1-> 24 G1-> 25 B1-> 26
R2-> 27 G2-> 28 B2-> 29
HA-> A0 HB-> A1 HC-> A2 HD-> A3 HE-> A4
OE-> 9 LAT-> 10 CLK-> 11
GND-> GND
ieee488:
Everything is in their wiki !!!
Well, yes it is NOW.... but the HE connection was certainly not shown a couple of hours ago.
Yours,
TonyWilk
TonyWilk:
Well, yes it is NOW.... but the HE connection was certainly not shown a couple of hours ago.
Yours,
TonyWilk
The all-powerful Arduino forum was able to impact change in China.
OMG!