Go Down

Topic: My project is not working on TFT 2.0" ILI9225 (SKU MAR:2001)  (Read 474 times) previous topic - next topic

DustyCode

Hello there!

I've recently made an eye project using an Adafruit Itsybitsy M0 express with an Arduino ST7735 1.44" SPI TFT Module (SKU: MSP1443), with a 68hm resistor for the screen. It worked out very well!
So since it works, I've decided to try to make the same project but with a different display module.

That's when I wanted to use an Arduino TFT 2.0" ILI9225 (SKU MAR:2001) display module.


So I've wired it the same way (I hope) as to how I've wired it on my first project. The display module was turned on and had a white screen, well of course because nothing has been uploaded yet.
The picture is included here down below.
https://imgur.com/a/ubVYFyz
https://imgur.com/a/eODFuku

I've even added a resistor for the display module.
https://imgur.com/a/23HoFCR

I've wired the screens with the ItsyBitsy Microcontroller in this order:-

(Itsybitsy M0 express) -> (Arduino TFT 2.0 ILI9225)
USB -> VCC
G -> GND
12 -> CS
11 -> RST
7 -> RS
SCK -> CLK
MOSI -> SDA

Here is the problem:-
When I've uploaded the code into the ItsyBitsy M0 microcontroller, it said that the compilation was completed but the screen was still white. No errors at all too.

The project consists of 2 codes, first is the main .ino file, the other one is the config.h file.

Here's the code that I've used:-
https://pastebin.com/mqL9bemh  (Main .ino file)
https://pastebin.com/hE5QdZ8v   (Config.h file)

There is also a graphics file:-
https://github.com/wermy/Uncanny_Eyes/tree/master/uncannyEyes/graphics

I really want to get this screen working, but I don't know how to make it work.
What should I do? I'll be so extremely grateful if someone were to help me, I've been stuck on this topic for days and I still haven't found a solution.

Ps: I'm not too familiar with "computer-ish" terms, so I do hope someone replies with terms that "people who doesn't study computer science before" can more easily understand, but I'm okay if you need to use the hard terms, i'm still very grateful if you would help me nevertheless!

Thanks so much!

DustyCode


1racenjason

You probably won't get a response from anyone because the modifications are numerous. Different driver, different screen size (i.e. total pixels; width x height). If you want to do this, here are the steps:

1. Download and review (i.e. learn the code) for just an example on running the default screen in the project (so a stripped down version of just the code to work with the screen and nothing more)

2. Download and review (i.e. learn the code) for just an example on running the ILI9225 screen (again, just a stripped down version of just the code to work with the screen and nothing more)

3. Try and do some modifications to the examples to make sure you understand them and that you have them working correctly (if you don't get past these steps, you won't get anywhere porting your default screen over to an entirely different screen)

4. Replace the screen specific code in the project with the code in the ILI9225 example making modifications as necessary (this step is called porting a project and can be quite time consuming)

5. Modify screen size details and/or only use a portion of the ILI9225 screen that matches size of default screen (since the ILI9225 2.0" screen is a bigger, more pixels, screen then the default 1.44"). Modification means working out the bit patterns for the display and scaling them to the newer size since I would assume just using a portion of the screen would defeat the purpose of what you are trying to do.

Honestly I haven't reviewed the project you are referring to...I just know what would be involved with a quick glance at it.

As you can see, the modifications are extensive. Time to do this would be extensive. Only the person who is doing this for themselves may consider this time worthwhile. Otherwise it is too much to do just to help someone.

Probably not what you want to hear, but that's why no one has responded to your request yet.

bodmer

You will need a library that supports the ILI9255 as it has a different driver chip.

There are tutorials online that may help get the display running with an UNO like this one so perhaps try that then port to the ItsyBitsy.

Adafruit have a tutorial for the Uncanny eyes project which would be an easier route.

Go Up