Zeroji / st7789v

Python module to control ST7789V-based displays
GNU General Public License v3.0
17 stars 6 forks source link

Control orient display AFY240320A1-2.8INTH? #8

Open Jvr1998 opened 4 months ago

Jvr1998 commented 4 months ago

Hello, Thanks for the library developed. I was trying to make it work with your driver and it wasn't working, and I wanted to know if it was possible for me to use it, to know if I was doing something wrong with the pin mapping or there was another problem like that the tft screen was not controllable by this library.

My screen is this one: https://www.orientdisplay.com/wp-content/uploads/2020/12/AFY240320A1-2.8INTH-spec.pdf

Zeroji commented 4 months ago

Hi,

The screen you linked does not have a controller attached. If you bought it as a module with a controller on board, it should work fine, please send a picture or diagram of your setup to check.

Jvr1998 commented 4 months ago

Thanks for your answer. It was my first time trying to control an lcd and I didn't know it came without a dedicated controller. I thought it wasn't needed, so sorry for the question. In case I wanted to add one, do you know which one could I buy?

Zeroji commented 4 months ago

If you really have this kind of connection: image (screenshot from your linked datasheet), it's going to be difficult to attach a controller if you don't have the right tools. The datasheet mentions a ST7789VI controller can be used, I don't know if that controller is close enough to the ST7789V for my lib to work.

For reference, this is the screen I'm using, you can see the LCD itself is connected back into the small board, and then there's a ST7789V controller on that board which exposes a couple of pins, making it easier to use.