mrcodetastic / ESP32-HUB75-MatrixPanel-DMA

An Adafruit GFX Compatible Library for the ESP32, ESP32-S2, ESP32-S3 to drive HUB75 LED matrix panels using DMA for high refresh rates. Supports panel chaining.
MIT License
970 stars 211 forks source link

Need help for wiring a specific Esp32-s3 controller #697

Open romain-granai opened 1 day ago

romain-granai commented 1 day ago

Hi, I'm not really sure it's the right place to ask but I'm kind of desperate. I have a Esp32-s3 Pico and a 64x64 led matrix, respectively: https://www.waveshare.com/esp32-s3-pico.htm https://www.waveshare.com/rgb-matrix-p2-64x64.htm those exact models.

I'm unable to find the correct wiring, strictly unable to find the correct wiring for my controller. Is that even possible? there is this:

https://github.com/mrcodetastic/ESP32-HUB75-MatrixPanel-DMA/blob/master/src/platforms/esp32s3/ReservedPinsForPSRAM.PNG

But that doesn't really help. Can someone just show me THE correct way (and I guess only way) of wiring the 16 pins to the correct GPIO?

RGB-Matrix-P2-64x64-details-3 ESP32-S3-Pico-details-inter-1-1 RGB-Matrix-P2-64x6408

Any help would be greatly appreciated.

mrcodetastic commented 10 hours ago

Default pin mapping for this library for an ESP32S3 device is contained within:

https://github.com/mrcodetastic/ESP32-HUB75-MatrixPanel-DMA/blob/master/src/platforms/esp32s3/esp32s3-default-pins.hpp

Has the pin mapping so you just connect the HUB75 Pin (i.e. G1) to the relevant pin on the wave share board (it's GPIO 5 on the waveshare board for the RGB Panel's G1).

However, I see from looking at the waveshare board photo there's no GPIO 3 which the library uses for the 'C' HUB75 pin, so you will need to adjust the gpio mapping for gpio c using the mxconfig variable. Perhaps use GPIO 17 ('GP17') on the waveshare board.

Check the examples for how to do this.