LED dot matrix connection with esp32-S3

Yohani
Posts: 6
Joined: Tue Jan 09, 2024 7:12 pm
Location: Valdivia, Chile

LED dot matrix connection with esp32-S3

Postby Yohani » 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:

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
Image

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!!!

liaifat85
Posts: 200
Joined: Wed Dec 06, 2023 2:46 pm

Re: LED dot matrix connection with esp32-S3

Postby liaifat85 » Sat Jan 13, 2024 11:55 am

You can find the SPI pin reference here: http://wiki.fluidnc.com/en/hardware/ESP ... _Reference

Who is online

Users browsing this forum: No registered users and 66 guests