Open zvoniimiir opened 4 years ago
If anyone is using ESP-IDF/ ESP32 I made a class that works with this display:
https://github.com/martinberlin/cale-idf/wiki/Model-heltec0151.h
Attention when using the class recommended by @zvoniimiir if I see this correctly the controller is different than the one in this class (SSD1681) Checking the Heltec product page says the controller is IL0389. At least for the 1.54 inches 200x200 that I'm testing!
Hi Martin, don't know how your progress is on this issue, but i checked the Heltec library and there are 2 sets of SPI commands. One set it is for the IL0389, the other, i have no idea.... Unfortunate because i'm trying to make it work. Mine says E-ink Display V2 on the back. According to the library this is a "special version" of the display.... Special being : even more badly supported than the original ha ha ha
Wim
So i finally discovered that mine does have the SSD1681 however i couldn't get it to play nice with the library yet.
Try to use my ESP-IDF epaper library. Maybe it's not such a quick start as the Arduino ESP32 framework, but my library definitively works :)
I tried to give it a try, but it's not quite clear to me how to set up the 'hello worl' example for this. Could you maybe reach out for 15 mins to give me a quick runthrough? My appreciation would be very high.
Sure one afternoon I can show you around, just send me an email to martin at luckycloud.de But do you have ESP-IDF configured and can already compile something?
Hi Martin, i wrote you an email, hope you got it.
In the meanwhile i figured out that my e-ink display actually has the SSD1681 installed, and it worksperfectly fine with the GxGDEH0154D67 driver of the GxEPD library that can be found here : https://github.com/ZinggJM/GxEPD The only thing i changed was the SPI frequency from 4MHz to 2MHz (as can be found in the original Heltec "library")
It is clear that there are indeed a couple of different versions produced by Heltec and it is not well documented at all which version you will get, other than the sticker indication. So my guess is, that the people who are having the ones with BLUE sticker are having the IL0389 version?
Any way i'm happy to see it work now, unfortunately one is bricked/broken. Hope i can get the tricolor 2.13" one to function as well...
Hope this info will help anybody strugling out there.
ps : Martin, i still want to try your library and have a small chat of course ;)
edit : it seemed the first panel i tested was bricked, it's the reason why i couldn't make it work with the library anymore I changed displays, luckily i bought a few, and now it works well
I have 2.13'' brw display, that I have tried countless libraries on, but it still displays that default image.. Is it possible I have damaged it by sending 5V data instead of 3.3v ? Are there a way to tell ?
I have a class in my ESP32 IDF component that works good with it:
https://github.com/martinberlin/cale-idf/wiki/Model-gdeh0213b73.h (Check if it is the same IC controller)
for the 1.51 inches b/w try: https://github.com/martinberlin/cale-idf/wiki/Model-heltec0151.h
But I always had this version that you can see in my ESP32 watch that gas the IL0389 IC. Not sure if there are another versions out there. This is Espressif IDF, not arduino ESP32 but is easy to compile it if you have the IDF >= 4.2 installed
By now you know this repository is crap. This is what worked for me on a 1.54 e-ink display. It should work on other sizes as well.
NOTE: This display requires 3.3 data lines. It works on 5v data lines, but just barely. The display is not crisp. I've read it's possible to use a 10k/4k7 resistor divider for 5v data lines, but it didn't work for me.
Download this library https://github.com/ZinggJM/GxEPD
From Arduino IDE, open the example
Select this display
include <GxGDEH0154D67/GxGDEH0154D67.h> // 1.54" b/w
Use these pins GxIO_Class io(SPI, /CS=/ 10, /DC=/ 9, /RST=/ 8); GxEPD_Class display(io, /RST=/ 8, /BUSY=/ 7);
Connect as follows (display / arduino): VCC / VCC GND / GND D/C / D9 SDI / D11 CS / D10 CLK / D13 BUSY / D7