1.8" TFT screen looks "Funny"..

kasperv79
Posts: 10
Joined: Fri Dec 02, 2016 9:26 am

1.8" TFT screen looks "Funny"..

Postby kasperv79 » Fri Dec 02, 2016 9:33 am

Hi guys.
Have you any idea whats causes this faults?
Ive tried all the libraries i can find.. they are alle the same..
halv the screen is showing the Rainbow test, the other half is like mirror snowballs....

I try to add a picture.. :/

User avatar
RogerClark
Posts: 5296
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

Re: 1.8" TFT screen looks "Funny"..

Postby RogerClark » Fri Dec 02, 2016 10:05 am

We need more information

What controller does the screen use, which library are you using? how is it connected?

Post a picture

kasperv79
Posts: 10
Joined: Fri Dec 02, 2016 9:26 am

Re: 1.8" TFT screen looks "Funny"..

Postby kasperv79 » Fri Dec 02, 2016 11:41 am

Hi. thanks for the reply.

Im using the Beite Maple mini board.


connected:

#define cs 8
#define dc 10
#define rst 9 // you can also connect this to the Arduino reset

Using pin 4 and 6 for MOSI/SCK

#include <Adafruit_GFX_AS.h> // Core graphics library, with extra fonts.
#include <Adafruit_ILI9341_STM.h> // STM32 DMA Hardware-specific library
#include <SPI.h>
Attachments
IMG_0614.jpg
IMG_0614.jpg (153.83 KiB) Viewed 270 times

zmemw16
Posts: 924
Joined: Wed Jul 08, 2015 2:09 pm
Location: St Annes, Lancs,UK

Re: 1.8" TFT screen looks "Funny"..

Postby zmemw16 » Fri Dec 02, 2016 12:48 pm

what makes you think its a ili9341 display chip?

why that question, the 'horizontal' aspect of the text is reversed, the displayed picture may well be reversed in the vertical as well (can't remember the sequence the correct display shows,) it's also misaligned as well as being the wrong size.
go browsing and somewhere, (probably instructables, you-tube, ray's hack-a-day page,) you might see the correct display image
as you're using Adafruit'ish libs, start there.
istr that the size is usually 320x240, it is with mine and they're 2.2", 2.4", 2.8" and are ili9341's.

a link to the sellers page?
please post a picture of the displays' other side. if any part numbers are visible add them as a comment. it all helps

stephen

kasperv79
Posts: 10
Joined: Fri Dec 02, 2016 9:26 am

Re: 1.8" TFT screen looks "Funny"..

Postby kasperv79 » Fri Dec 02, 2016 1:08 pm


User avatar
ahull
Posts: 1373
Joined: Mon Apr 27, 2015 11:04 pm
Location: Sunny Scotland
Contact:

Re: 1.8" TFT screen looks "Funny"..

Postby ahull » Fri Dec 02, 2016 1:25 pm

The screen in your picture looks almost identical to the one I used here => viewtopic.php?f=13&t=292&start=20#p20722

Image

In which case, you could try the TFT_ILI963C driver. You may also need to set the board type in TFT_ILI9163C.h (see the comments in that for for more details).
Last edited by ahull on Fri Dec 02, 2016 1:28 pm, edited 1 time in total.
- Andy Hull -

ramimo
Posts: 3
Joined: Tue Nov 29, 2016 9:54 am

Re: 1.8" TFT screen looks "Funny"..

Postby ramimo » Fri Dec 02, 2016 1:28 pm

That display has a ST7735 controller. I have a bunch of them on my desk for a project. I use UGCLib instead of Adafruit. They work really nice.

zmemw16
Posts: 924
Joined: Wed Jul 08, 2015 2:09 pm
Location: St Annes, Lancs,UK

Re: 1.8" TFT screen looks "Funny"..

Postby zmemw16 » Fri Dec 02, 2016 2:08 pm

@kasperv79
your suppliers page says it's a ST7735R.

why are using ili9341?
so you'll need to go through the code adjusting as required, x direction, y direction, display size.

Or maybe just try finding a ST7735R driver?

stephen


Return to “Maple mini”

Who is online

Users browsing this forum: No registered users and 1 guest