I'm trying to use a SMD 2727 P5 64x32 LED Display with the ESP32. I've opted for the following library https://github.com/NeoCat/ESP32-P3RGB64x32MatrixPanel
I'm also using 2 Logic Level Converters to shift from 5V to 3V3.
These are the specs of my power supply:
https://i.postimg.cc/prt2vnW7/20190401-145102.jpg
I've soldered the pins as per the default constructor. I've uploaded the following sketch in the ESP and something bizarre happens.
Code: Select all
#include <WiFi.h>
#include <Adafruit_GFX.h>
#include <Fonts/FreeSans9pt7b.h>
#include <P3RGB64x32MatrixPanel.h>
#include <SPI.h>
P3RGB64x32MatrixPanel matrix;
const char* ssid = "ssid";
const char* password = "password";
void setup() {
Serial.begin(115200);
delay(1000);
Serial.println((String)"Attempting to connect to " + ssid);
WiFi.begin(ssid,password);
delay(500);
int k = 0;
while(WiFi.status() != WL_CONNECTED && k<20) {
Serial.println((String)"Attempt number: " + (k+1));
k++;
delay(1000);
}
IPAddress ip = WiFi.localIP();
if(WiFi.status() != WL_CONNECTED) {
ESP.restart();
} else {
Serial.println((String)"Connected to *" + ssid + "* ! IP Address: " + ip.toString());
}
matrix.begin();
delay(500);
matrix.setTextColor(matrix.color444(180,0,0));
matrix.setFont(&FreeSans9pt7b);
matrix.println("IP Address: ");
matrix.setTextColor(matrix.color444(255,255,255));
matrix.println(ip);
}
void loop() {
}
The RED (PIN 1) wire from the HUB75 is on R1 (IO25).
I've done the workaround, changing from `PROVIDE ( GPIO = 0x3ff44000 );` to `PROVIDE ( GPIO = 0x60004000 );`
If the ESP32 is half-way inside like this, the screen is white and if I insert it all the way it get's red.
If I press on reset the ESP, the display will be off, and the Serial Monitor will output:
Code: Select all
rst:0x10 (RTCWDT_RTC_RESET),boot:0x33 (SPI_FAST_FLASH_BOOT)
flash read err, 1000
ets_main.c 371
ets Jun 8 2016 00:22:57
One more thing I found is that the ESP is hot, like I can't touch it hot.
If you are wondering why I need to insert the ESP32 into the board please read the following:
https://www.esp32.com/viewtopic.php?f=19&t=9936