Hi,
Brief history, I've made my daughter a birthday badge to wear to school each year in primary school, this has normally been discrete electronics (leds, buzzers, speakers etc) but for her last year at small school, I thought I would make an e-paper display badge with some images.
Sadly, I'm struggling with getting the display to provide any output with the basic examples.
The device I have is the LILYGO TTGO T5 -EPaper ESP32 developement board
Long story cut shorter, after some time, I am now compiling and writing to the device, all appears to load correctly and the board is issued a reset, but I get no output on the display. The display was working on receipt and would cycle through the default installation.
I have tried both basic examples in the GxEPD and GxEPD2 libraries and get the following load dialogue, which I assume is correct?
Sketch uses 278454 bytes (21%) of program storage space. Maximum is 1310720 bytes.
Global variables use 18456 bytes (5%) of dynamic memory, leaving 309224 bytes for local variables. Maximum is 327680 bytes.
esptool.py v3.0-dev
Serial port COM3
Connecting.....
Chip is ESP32-D0WDQ6-V3 (revision 3)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 08:3a:f2:44:b4:9c
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Auto-detected Flash size: 4MB
Compressed 8192 bytes to 47...
Writing at 0x0000e000... (100 %)
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.0 seconds (effective 1394.4 kbit/s)...
Hash of data verified.
Compressed 18656 bytes to 12053...
Writing at 0x00001000... (100 %)
Wrote 18656 bytes (12053 compressed) at 0x00001000 in 1.1 seconds (effective 134.9 kbit/s)...
Hash of data verified.
Compressed 278576 bytes to 129619...
Writing at 0x00010000... (12 %)
Writing at 0x00014000... (25 %)
Writing at 0x00018000... (37 %)
Writing at 0x0001c000... (50 %)
Writing at 0x00020000... (62 %)
Writing at 0x00024000... (75 %)
Writing at 0x00028000... (87 %)
Writing at 0x0002c000... (100 %)
Wrote 278576 bytes (129619 compressed) at 0x00010000 in 11.8 seconds (effective 188.5 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 128...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (128 compressed) at 0x00008000 in 0.1 seconds (effective 463.7 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
I have tried all the appropriate board settings for the device which identifies as
depg0213bn
so for example within the GxEPD2_example i have tried -
//GxEPD2_BW<GxEPD2_213, GxEPD2_213::HEIGHT> display(GxEPD2_213(/*CS=D8*/ SS, /*DC=D3*/ 0, /*RST=D4*/ 2, /*BUSY=D2*/ 4)); // GDE0213B1, phased out
//GxEPD2_BW<GxEPD2_213_B72, GxEPD2_213_B72::HEIGHT> display(GxEPD2_213_B72(/*CS=D8*/ SS, /*DC=D3*/ 0, /*RST=D4*/ 2, /*BUSY=D2*/ 4)); // GDEH0213B72
//GxEPD2_BW<GxEPD2_213_B73, GxEPD2_213_B73::HEIGHT> display(GxEPD2_213_B73(/*CS=D8*/ SS, /*DC=D3*/ 0, /*RST=D4*/ 2, /*BUSY=D2*/ 4)); // GDEH0213B73
//GxEPD2_BW<GxEPD2_213_B74, GxEPD2_213_B74::HEIGHT> display(GxEPD2_213_B74(/*CS=D8*/ SS, /*DC=D3*/ 0, /*RST=D4*/ 2, /*BUSY=D2*/ 4)); // GDEM0213B74
on the GxEPD_example I have tried
//#include <GxGDE0213B1/GxGDE0213B1.h> // 2.13" b/w
//#include <GxGDEH0213B72/GxGDEH0213B72.h> // 2.13" b/w new panel
//#include <GxGDEH0213B73/GxGDEH0213B73.h> // 2.13" b/w newer panel
With the same results. I also tried the hello world example without success.
As a noob, I considered I was doing something silly, but my process largely matches the processes on these two youtube videos, who see output once the download has completed (although the libraries appear to have changed since the ShotokuTech video was done).
www.youtube.com/watch?v=av-w0U8UZEs
www.youtube.com/watch?v=2SxOzt17lzA
I've uninstalled Arduino IDE and re-installed it, tried with microSD card and without. Set the On/Off button and RST button and also tried pressing the IO39 button! The unit is powered from a USB port from the laptop and I am just pressing the "Upload" button at the top of the sketch. I can see some output on the COM port, although I read conflicting information on whether the com port should be open when uploading, but have tried uploading with the COM port open and closed without success.
Any help would be greatly appreciated, I can't see if I'm doing something stupid, or If I've missed something.
Hal