Connect MKR WIFI 1010 to 32x16 Led panel

Hi There,

I found several pages on the internet on how to connect an Arduino Unu to a 32x16 Led panel (P10).
But I cannot seem to find the schema how to connect an Arduino MKR WiFi 1010 to the same 32x16 Led Panel.

From what I read, the 32x16 Led panel has the following pins:
Enable: This pin is used to control the brightness of the LED panel, by giving a PWM pulse to it.
A, B: These are called multiplex select pins. They take digital input to select any multiplex rows.
Shift clock (CLK), Store clock (SCLK), and Data: These are the normal shift register control pins.

Enable is connected to Pin 9 on the Uno. But Pin 9 on the MKR is SCK.
A is connected to Pin 6 and B to Pin 7. Is that the same on a MKR?
CLK and SCLK is not an issue.
Data is connected to Pin 11. Which Pin is it on the MKR?

Thank you.

@glansing, welcome. Your topic has been moved to a more suitable location on the forum. Installation and Troubleshooting is not for problems with (nor for advice on) your project :wink: See About the Installation & Troubleshooting category.

Please provide some links. The ones that I found do use CLK and SCLK; e.g. LED Display Board using P10 LED Matrix Display and Arduino or https://www.instructables.com/Display-Text-at-P10-LED-Display-Using-Arduino/.

Which library are you planning to use? DMD2 ( GitHub - freetronics/DMD2: Beta release of a new Dot Matrix Display Arduino library ) ?

I have no experience with P10, the MKR or the DMD2 library but I had a quick look. The easiest might be to use SoftDMD where you can specify the pins.

The constructor (from the source code)

SoftDMD::SoftDMD(byte panelsWide, byte panelsHigh, byte pin_noe, byte pin_a, byte pin_b, byte pin_sck,
          byte pin_clk, byte pin_r_data)
  : BaseDMD(panelsWide, panelsHigh, pin_noe, pin_a, pin_b, pin_sck),
    pin_clk(pin_clk),
    pin_r_data(pin_r_data)
{
}

In your sketch, it would look somethng like

SoftDMD dmd(WIDTH,HEIGHT,9,6,7,?,?,11);

You will have to fill in the pins with the ? once you have figured out to which pins you want to connect them.

There might be better ways using the SPI but I'm not sure.

Those are the links I meant. There are a few more, but there explain basically the same.
Thank you for pointing me in the right direction. This looks usefull.

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