This is a problem I have never encountered before like this. I was using a Waveshare 2.13’’ ePaper display for a project, as well as a NodeMC/ESP12-E. Soon after my code workd, I realised, that the 2.9’’ display would be far more beneficial, for such things as designing a case and mounting it, as well, as readability from afar.
I use the GxEPD library to interact with the display, and got the 2.13’’ display to work perfectly.
So I took the code, changed the include to use the library variant for the 2.9’’ display, swapped the physical display and the trouble began.
1.: The during the pload the IDE tels me, that it can’t find the device on the COM-Port, as long, as the Display is connected to the 3.3V of the µC. As soon, as I disconnect the powersupply the upload works again. The Controller is powered over the USB-Port and I don’t know wether it is USB-3, so maybe it has something to do with insufficient power?
2.: I’m using he deepsleep feature of the ESP. So when I upload the code, I disconnect the display, wait for the first sleepcycle to begin and connect the disply again. As soon, as I connect the wake-up pin with the reset, it tries to reset, but when I check the serial monitor, I get “waiting for host” and nothing else happens.
Does anybody know, if I need to change anything else in my code apart from the library version, or what else might cause these errors to happen?
Although I don’t suspect the code to be in the wrong here, since it worked perfectly wih the smaller display, it is attached.
Thermometer_Epaper_SHT31_no_Serial.ino (6.51 KB)