LED dot matrix connection with esp32-S3
Posted: Thu Jan 11, 2024 4:16 pm
Hello, I have been trying, without much success, to connect an ESP32-S3-DevKitC-1U to an LED dot matrix, with the help of the video:
https://www.youtube.com/watch?v=Nkhmpz1rV78&t=234s
where they use the mdm32 library:
https://github.com/Qudor-Engineer/DMD32
I guess my problem lies in the definition of the pins, since the library defines them as:
but I do not have some pins available on the board either, in addition, I do not know the pins that make the SPI connection, since it is through this that the LED dot matrix is controlled
If you could help me, I would be very grateful. Greetings!!!
https://www.youtube.com/watch?v=Nkhmpz1rV78&t=234s
where they use the mdm32 library:
https://github.com/Qudor-Engineer/DMD32
I guess my problem lies in the definition of the pins, since the library defines them as:
Code: Select all
#warning CHANGE THESE TO SEMI-ADJUSTABLE PIN DEFS!
//ESP32 pins used for the display connection (Using VSPI)
#define PIN_DMD_nOE 22 // D22 active low Output Enable, setting this low lights all the LEDs in the selected rows. Can pwm it at very high frequency for brightness control.
#define PIN_DMD_A 19 // D19
#define PIN_DMD_B 21 // D21
#define PIN_DMD_CLK 18 // D18_SCK is SPI Clock if SPI is used
#define PIN_DMD_SCLK 2 // D02
#define PIN_DMD_R_DATA 23 // D23_MOSI is SPI Master Out if SPI is used
//Define this chip select pin that the Ethernet W5100 IC or other SPI device uses
//if it is in use during a DMD scan request then scanDisplayBySPI() will exit without conflict! (and skip that scan)
#define PIN_OTHER_SPI_nCS SS
but I do not have some pins available on the board either, in addition, I do not know the pins that make the SPI connection, since it is through this that the LED dot matrix is controlled
If you could help me, I would be very grateful. Greetings!!!