Page 1 of 1

ILI9225 TFT display driver

Posted: Sat Dec 29, 2018 12:37 pm
by kwyman
Does anyone know of a driver compatible with the ILI9225 chip for driving a 2.2" 176x220 TFT colour display? I can only get my hands on arduino or Raspberry Pi drivers. Thanks!

Re: ILI9225 TFT display driver

Posted: Sat Dec 29, 2018 9:26 pm
by OutoftheBOTS_
If you are using Lobo firmware for ESP32 his display module has a custom screen option (this is what I use for some of my screens) where u just need to write the low level custom initiation then you can use the rest of methods in the modules to drive the screen

Re: ILI9225 TFT display driver

Posted: Thu Jan 03, 2019 5:49 pm
by kwyman
I'm using the "normal" firmware @ micropython.org. Maybe someone has looked at making a generic display driver?

Re: ILI9225 TFT display driver

Posted: Thu Jan 03, 2019 9:17 pm
by deshipu
Just take one of the existing drivers, take the datasheet, and make it. It's not rocket surgery. You will probably only need to make small modification to the initialization commands, everything else should be exactly the same.

Re: ILI9225 TFT display driver

Posted: Fri Jan 04, 2019 8:39 am
by Roberthh
Agree. Using internet search I found a suitable driver for RasPi, which seeded easy to adapt. (https://github.com/firnsy/BHack_Python_ILI9225).

b.t.w.:
"rocket surgery" = "rocket science"[0] + "brain surgery"[1]
dropping: "science brain"

Re: ILI9225 TFT display driver

Posted: Fri Jan 04, 2019 11:05 am
by deshipu
Roberthh wrote:
Fri Jan 04, 2019 8:39 am
b.t.w.:
"rocket surgery" = "rocket science"[0] + "brain surgery"[1]
dropping: "science brain"
I always visualized it as similar to laser surgery, only with rockets instead of lasers.

Re: ILI9225 TFT display driver

Posted: Fri Jan 11, 2019 1:32 pm
by kwyman
Thanks guys! I will see if I can do it! #stillabeginner :D

Re: ILI9225 TFT display driver

Posted: Sun May 05, 2019 3:51 pm
by kwyman
deshipu wrote:
Thu Jan 03, 2019 9:17 pm
Just take one of the existing drivers, take the datasheet, and make it. It's not rocket surgery. You will probably only need to make small modification to the initialization commands, everything else should be exactly the same.
Do you know where I can look at some examples of how to adapt libraries? I am still very much a beginner.

kind regards

Re: ILI9225 TFT display driver

Posted: Sun May 05, 2019 3:57 pm
by deshipu
kwyman wrote:
Sun May 05, 2019 3:51 pm
deshipu wrote:
Thu Jan 03, 2019 9:17 pm
Just take one of the existing drivers, take the datasheet, and make it. It's not rocket surgery. You will probably only need to make small modification to the initialization commands, everything else should be exactly the same.
Do you know where I can look at some examples of how to adapt libraries? I am still very much a beginner.

kind regards
Have you tried looking at their source code already? That is generally a great starting point. If you can find a library or set libraries that support several displays, then you can compare the different implementation and see what is changing. I also sometimes look at the Arduino drivers for the given display, to see what initialization commands they use — it's often easy to adapt.