How to separate the brightness setting on an LED P10?

I wish to separate data transmission from light control. Data transmission will be conducted using an Arduino UNO, while light control will be managed using an Arduino Nano.

Schematics:

However, after assembling the circuit, my P10 LED display cannot have its brightness adjusted and appears dim. What could be the issue?

Code Untuk Arduino UNO dan Arduino Nano:

  Quick demo of major drawing operations on a single DMD
 */

#include <SPI.h>
#include <DMD2.h>
#include <fonts/SystemFont5x7.h>
#include <fonts/Arial_Black_16.h>

SoftDMD dmd(1,1);  // DMD controls the entire display

// the setup routine runs once when you press reset:
void setup() {
  dmd.selectFont(Arial_Black_16);
  dmd.begin();
}

// the loop routine runs over and over again forever:
void loop() {
  dmd.setBrightness(50);
  dmd.fillScreen(true);
  delay(1000);
  dmd.clearScreen();
  delay(1000);

  dmd.setBrightness(100);
  dmd.fillScreen(true);
  delay(1000);
  dmd.clearScreen();
  delay(1000);

  dmd.setBrightness(150);
  dmd.fillScreen(true);
  delay(1000);
  dmd.clearScreen();
  delay(1000);

  dmd.setBrightness(200);
  dmd.fillScreen(true);
  delay(1000);
  dmd.clearScreen();
  delay(1000);

  dmd.setBrightness(250);
  dmd.fillScreen(true);
  delay(1000);
  dmd.clearScreen();
  delay(1000);
}

Welcome to the forum

Have both boards and the display all got a common GND connection ?

Why are you planning to use two boards rather than just one ?

3 Likes

I've already connected all the grounds together. Is a single ground connection not enough?

I want to identify the problem with my existing controller, which is quite expensive to replace. That's why I'm attempting to shift the brightness control to the Arduino Nano.

So, I conducted an experiment to separate the data transmission from the brightness control.

They all need to be connected to a common ground:

Alright, thank you. It's been solved.

I connected all the GROUND pins of the Arduino Nano to the GROUND of the P10 display, as well as all the GROUND pins of the Arduino Uno. I thought the GROUND system on the Arduino Nano, with one GROUND pin, represents all the other GROUND pins on the Arduino Nano.

It does, so something else must have changed

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