Wired as follows:
BUSY: 25
RST: 26
DC: 27
CS: 15
CLK: 13
DIN: 14
plus GND and 3V3 pins.
I had actually started having some success with this board today, able to download data over HTTP and reliably draw pixels on the display. Happy days.
The next part of the project was to make the board awaken every few minutes to do this, and go into a low-power mode at other times. I did this using esp_sleep_enable_timer_wakeup(TIME_TO_SLEEP * uS_TO_S_FACTOR); delay(1000); esp_deep_sleep_start();
I don't think it's a red herring, but since then, I've been unable to write anything else to the display, even using the same previously working code. The serial monitor frequently logs "Busy Timeout!".
I've tried using the following minimal code:
void setup()
{
Serial.begin(115200);
Serial.println();
Serial.println("setup");
display.init(115200, true, 2, false);
SPI.end(); // release standard SPI pins, e.g. SCK(18), MISO(19), MOSI(23), SS(5)
SPI.begin(13, 12, 14, 15); // map and init SPI pins SCK(13), MISO(12), MOSI(14), SS(15)
display.setTextColor(GxEPD_BLACK);
display.firstPage();
do
{
display.fillScreen(GxEPD_WHITE);
display.print("Hello World!");
}
while (display.nextPage());
}
No output is seen on the display. The serial monitor logs the following:
I know I said the deep sleep thing may be a red herring. I just realised also, it may have coincided with me trying to power the ESP32 board from a USB battery charger. I wonder if this could somehow have damaged either the board or the display.
The combination of the Waveshare ESP32 Driver Board with a 4.2" e-paper board may result in too low voltage to the e-paper panel and its controller. The LDO on the display board being the cause.
If yes: what specifically was my mistake? Is a USB phone charger a poor choice of power source for this project? What might be a better choice of battery source.
If no: how might I resurrect it, and avoid this issue in future?
Hello all. I am still seeking advice on the following.
My display seems to have gone from working to not-working after trying to power my ESP32 board using a USB charger. Is my display likely permanently broken? If yes, any ideas on what my mistake might have been and how to avoid it with a new display? If no, any ideas on how I might resurrect it?
What is a "pull-up of 1k on RST" and how might I do one? Google is not helping me here.
What happens to a USB charger when the current draw drops too low? Again Google is not helping much.
Should I start new threads for these? Should I seek help on another forum? Should I throw all my equipment in the bin and forget about this project? Any advice appreciated.