logo elektroda
logo elektroda
X
logo elektroda

How to connect a 32x16 LED matrix to an ESP32? The matrix does not light up, despite trying with two

miloszbialek 441 3
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 21154209
    miloszbialek
    Level 2  
    Hello, as a computer science student I have caught the fancy of microcontrollers. I am currently trying to do a project whereby a 32 x 16 LED matrix can be controlled via Wi-Fi using an ESP32. The problem is that no matter how many ways I connect it, no matter what programs I upload, the matrix will not light up. I think the problem definitely lies with plugging this in, as it is Chinese hardware the instructions are quite unclear and I think there is a mistake with the numbering of the relevant pins on the manufacturer's website.
    Matrix: https://wiki.dfrobot.com/32x16_RGB_LED_Matrix_-_6mm_pitch_SKU_DFR0471
    Mikrokontroler: https://botland.com.pl/moduly-wifi-i-bt-esp32...m-32-zgodny-z-esp32-devkit-5904422337438.html
    Power supply for the matrix: https://botland.com.pl/zasilacze-montazowe/58...-mean-well-rs-25-5-5v5a25w-5904422309510.html

    After a few hours of failing, I decided to try hooking this up to an Arduino Uno R4, the second microcontroller I own.
    Surprisingly, once connected, the diodes lit up on their own, just like in the pictures (I am also sending the wiring diagram):
    How to connect a 32x16 LED matrix to an ESP32? The matrix does not light up, despite trying with two
    How to connect a 32x16 LED matrix to an ESP32? The matrix does not light up, despite trying with two
    567ac.
    How to connect a 32x16 LED matrix to an ESP32? The matrix does not light up, despite trying with two
    Best of all as soon as the Arduino has no power they light up, as soon as the Arduino has power they go out. There is no program on the Arduino. I specifically cleaned them before connecting them. I'm asking for any help, I'm struggling with this for the 4th day.
  • ADVERTISEMENT
  • #2 21154242
    tos18
    Level 42  
    You do realise that a normal arduino (atmega based) has 5V logic and any esp has 3.3V - does your matrix work correctly with 3.3V logic ?
  • ADVERTISEMENT
  • #3 21154268
    miloszbialek
    Level 2  
    >>21154242 Just the thing, I'm using an external power supply which is 5V and 5A. That's also why I tried using 2 different boards with different output voltages. The problem is that it doesn't work for both. As I have shown in the picture, with the Arduino unconnected (to the USB power supply from the laptop) some random configuration lights up.
  • #4 21155298
    gps79
    Level 37  
    Logic 3.3V, this is not the voltage of the power supply.
    I'm not sure if the RGBmatrixPanel library supports the ARM platform. It is not clearly described. Either verify this yourself, or run your project first on a regular Arduino Uno. If it works here (and it should), then you can move on to the WiFi version of the platform. It is possible that you will have to change to a different library or modify it yourself. For a computer science student, this could be a fun exercise.
  • ADVERTISEMENT