P10 board not working

I am making a project using p10 LED BOARD and i am trying to test it.I uploaded the code to my adruino uno and the board works fine with adruino uno supply.As soon as i supply 5 volt the display stops working or sometimes flickers two three leds brightly and goes off..



#include <SPI.h>
#include <DMD.h>
#include <TimerOne.h>
#include "SystemFont5x7.h"
#include "Arial_black_16.h"
#include "Arial14.h"

char b[8];
String str;
#define DISPLAYS_ACROSS 1
#define DISPLAYS_DOWN 1
DMD dmd(DISPLAYS_ACROSS, DISPLAYS_DOWN);

void ScanDMD(){
dmd.scanDisplayBySPI();
}

void setup() {
Serial.begin(9600);
Timer1.initialize(5000);
Timer1.attachInterrupt(ScanDMD);
dmd.clearScreen(true);
}

void loop()
{
  int slen=0;
  dmd.selectFont(Arial_Black_16);
  str = "welcome to Sikkim ";
  slen = str.length()+1;
  str.toCharArray(b, slen );
  dmd.drawMarquee( b, slen, (32*DISPLAYS_ACROSS)-1 ,1);
  unsigned long timing  = millis();
  boolean flag = false;
  while (!flag)
  {
	if ((timing + 70) < millis())
	{
  	flag = dmd.stepMarquee(-1, 0);
  	timing = millis();
	}
  }
}

You did not connect the green wire.

This reads like you are using the Arduino 5v pin to power the P10. You should not.

You have the power supply connections backwards or are using the Arduino as a power supply.

I am using a charger which outputs 5volts of power.
What foes backwards flow means??
All the connections are verified multiple times too

Ok.

What does "Arduino uno supply" mean?

How did you "supply 5 volt" ? To the matrix or to the Arduino? To which pins?

From the charger which outputs 5 volts..

If you don't want to cooperate, do not waste your and others time, try to resolve the problem yourself.
Good luck for your project.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.