ILI9225 TFT display driver

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
kwyman
Posts: 4
Joined: Sat Dec 29, 2018 12:27 pm

ILI9225 TFT display driver

Post by kwyman » Sat Dec 29, 2018 12:37 pm

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!

OutoftheBOTS_
Posts: 847
Joined: Mon Nov 20, 2017 10:18 am

Re: ILI9225 TFT display driver

Post by OutoftheBOTS_ » Sat Dec 29, 2018 9:26 pm

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

kwyman
Posts: 4
Joined: Sat Dec 29, 2018 12:27 pm

Re: ILI9225 TFT display driver

Post by kwyman » Thu Jan 03, 2019 5:49 pm

I'm using the "normal" firmware @ micropython.org. Maybe someone has looked at making a generic display driver?

User avatar
deshipu
Posts: 1388
Joined: Thu May 28, 2015 5:54 pm

Re: ILI9225 TFT display driver

Post by deshipu » 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.

User avatar
Roberthh
Posts: 3667
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: ILI9225 TFT display driver

Post by Roberthh » Fri Jan 04, 2019 8:39 am

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"

User avatar
deshipu
Posts: 1388
Joined: Thu May 28, 2015 5:54 pm

Re: ILI9225 TFT display driver

Post by deshipu » Fri Jan 04, 2019 11:05 am

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.

kwyman
Posts: 4
Joined: Sat Dec 29, 2018 12:27 pm

Re: ILI9225 TFT display driver

Post by kwyman » Fri Jan 11, 2019 1:32 pm

Thanks guys! I will see if I can do it! #stillabeginner :D

kwyman
Posts: 4
Joined: Sat Dec 29, 2018 12:27 pm

Re: ILI9225 TFT display driver

Post by kwyman » 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

User avatar
deshipu
Posts: 1388
Joined: Thu May 28, 2015 5:54 pm

Re: ILI9225 TFT display driver

Post by deshipu » Sun May 05, 2019 3:57 pm

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.

edwinclement08
Posts: 1
Joined: Mon May 17, 2021 6:32 pm

Re: ILI9225 TFT display driver

Post by edwinclement08 » Mon May 17, 2021 6:34 pm

kwyman wrote:
Sat Dec 29, 2018 12:37 pm
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!
Was there any update for this, I got a couple of these boards and intend to use this with micropython(on ESP32)

Post Reply