Page 1 of 2

LilyGO T5 4.7 driver?

Posted: Tue Apr 06, 2021 12:56 am
by Astranome
Does LilyGo T5 4.7 inch e-paper driver exist in Micropython Universe? Maybe any e-paper driver with 8 bit parallel interface?

Re: LilyGO T5 4.7 driver?

Posted: Mon Sep 13, 2021 11:22 am
by paulhart
I'm currently working on taking the source code from the repository and attempting to turn it into a module. I have enough code in place that I should be able to start testing in the next day or two. In essence my strategy has been to add a new MP C file that references the existing code.

My C is pretty rusty though, and I'm learning by looking at existing modules as examples, so no promises!

Re: LilyGO T5 4.7 driver?

Posted: Thu Jan 20, 2022 9:56 pm
by scumola
Curious if there's been any movement on the T5 4.7 driver for micropython yet (and how about the touch-panel that comes with it?)

Re: LilyGO T5 4.7 driver?

Posted: Sun Feb 06, 2022 2:50 pm
by zdz
The manufacturer posted something promising to it's twitter:

https://twitter.com/lilygo9/status/1482289617202454532

I'd love to get more information.

Re: LilyGO T5 4.7 driver?

Posted: Sun Feb 06, 2022 4:54 pm
by scruss
it looks (if this: MicroPython? · Issue #34 · Xinyuan-LilyGO/LilyGo-EPD47 is correct) that they're using ondiiik/micropython-espboards: Micropython clone with support for TWatch 2020, as it seems to have the EPD47 display support.

Re: LilyGO T5 4.7 driver?

Posted: Thu Feb 10, 2022 6:21 pm
by scumola
Really jazzed about the micropython driver for the T5 4.7" display! Does anyone know if there's a driver for the touchscreen that comes with it? Is there a generic touchscreen interface/driver that will probably just work?

Generic touchscreen driver?

Posted: Fri Feb 11, 2022 5:29 pm
by pythoncoder
I don't think a generic touchscreen driver exists not least because the hardware is so disparate. Some touchscreens have an analog interface, others use a variety of chips, most need calibration which implies linkage with the display driver.

Re: LilyGO T5 4.7 driver?

Posted: Tue Feb 15, 2022 2:47 pm
by scumola
FYI: I was able to download and compile the lilygo T5 4.7" micropython build (it builds a whole new version of micropython) on a linux machine without any errors from here: https://github.com/Xinyuan-LilyGO/lilygo-micropython and it does include the touchscreen driver!

You can download the compiled binary here: http://p01.badcheese.com/LilyGo-MicroPy ... eaf556.bin

Re: LilyGO T5 4.7 driver?

Posted: Sun Jun 19, 2022 8:54 am
by zdz
Manufacturer put an "official" repository on https://github.com/Xinyuan-LilyGO/lilygo-micropython . There are binary builds available.
The quality is… not great. There is ghosting (https://github.com/Xinyuan-LilyGO/lilyg ... n/issues/2) and rotation support is missing.

Re: LilyGO T5 4.7 driver?

Posted: Sun Jun 19, 2022 6:20 pm
by russ_h
I have spent a lot of time working on a driver for the LilyGO T4 4.7 using a newer version of https://github.com/vroland/epdiy and have run into the same issue with ghosting. The ghosting happens almost always after a power-on and less frequently but randomly after a soft reset. There is some conflict between the way the epidiy driver works and MicroPython. The driver is complex and uses both CPU cores and i2s to push data. The epdiy driver by itself, using ESP-IDF 4.4, does not have the ghosting issue. I have not found a solution, so I have not released my version of the driver. You can see the ghosting at the beginning of this video: https://youtu.be/h_Rx9BUQlHk