LilyGO T5 4.7 driver?

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Astranome
Posts: 5
Joined: Sun Jul 12, 2020 12:46 pm

LilyGO T5 4.7 driver?

Post by Astranome » Tue Apr 06, 2021 12:56 am

Does LilyGo T5 4.7 inch e-paper driver exist in Micropython Universe? Maybe any e-paper driver with 8 bit parallel interface?

paulhart
Posts: 2
Joined: Wed Sep 08, 2021 7:05 pm

Re: LilyGO T5 4.7 driver?

Post by paulhart » Mon Sep 13, 2021 11:22 am

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!

scumola
Posts: 3
Joined: Thu Jan 20, 2022 9:54 pm

Re: LilyGO T5 4.7 driver?

Post by scumola » Thu Jan 20, 2022 9:56 pm

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?)

zdz
Posts: 2
Joined: Sun Feb 06, 2022 2:38 pm

Re: LilyGO T5 4.7 driver?

Post by zdz » Sun Feb 06, 2022 2:50 pm

The manufacturer posted something promising to it's twitter:

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

I'd love to get more information.

User avatar
scruss
Posts: 360
Joined: Sat Aug 12, 2017 2:27 pm
Location: Toronto, Canada
Contact:

Re: LilyGO T5 4.7 driver?

Post by scruss » Sun Feb 06, 2022 4:54 pm

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.

scumola
Posts: 3
Joined: Thu Jan 20, 2022 9:54 pm

Re: LilyGO T5 4.7 driver?

Post by scumola » Thu Feb 10, 2022 6:21 pm

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?

User avatar
pythoncoder
Posts: 5956
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Generic touchscreen driver?

Post by pythoncoder » Fri Feb 11, 2022 5:29 pm

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.
Peter Hinch
Index to my micropython libraries.

scumola
Posts: 3
Joined: Thu Jan 20, 2022 9:54 pm

Re: LilyGO T5 4.7 driver?

Post by scumola » Tue Feb 15, 2022 2:47 pm

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

zdz
Posts: 2
Joined: Sun Feb 06, 2022 2:38 pm

Re: LilyGO T5 4.7 driver?

Post by zdz » Sun Jun 19, 2022 8:54 am

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.

User avatar
russ_h
Posts: 88
Joined: Thu Oct 03, 2019 2:26 am
Contact:

Re: LilyGO T5 4.7 driver?

Post by russ_h » Sun Jun 19, 2022 6:20 pm

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

Post Reply