Go Down

Topic: 1.44 inch TFT 128x128 GLCD ILI9163 (Read 12707 times) previous topic - next topic

mrburnette

Aug 12, 2014, 06:07 pm Last Edit: Aug 13, 2014, 02:28 pm by mrburnette Reason: 1
I don't get around these parts much anymore as I have been off doing PSoC designs; however, I just got in a couple of TFT GLCD color 128x128 for testing last week:
http://www.ebay.com/itm/310876068105
and was having some issues with the PSoC 4200 so I figured I would back-up and work out the signaling with the Arduino first.  I did a quick scan in Advanced Search and did not find anything here, so I thought I would post this information; all credit to sumotoy on http://forum.pjrc.com/threads/25862-ILI9163C-128x128-TFT-driver

The test code (zip) is by sumotoy as is his TFT library:
https://github.com/sumotoy/TFT_ILI9163C
You will also need the Adafruit GFX libray:
https://github.com/adafruit/Adafruit-GFX-Library

- Compiled under 1.0.5r2 for Nano running at 3.3V (yes, out of spec.)  

- I placed a solder-bridge (jump) across J1 on the rear of the display carrier to effectively short the IC regulator (65Z5) although the test unit did work without the solder-jumper at precisely 3.3Volts.  

- Note that the LED backlight on this display has a 10 Ohm resistor on the display carrier board that I received... double-check this before connecting the LED power pin to 3.3V.


Ray

Note: as my intent is to use this display with the PSoC 4200 and since the source and libraries were NOT changed, please do not expect me to respond to assistance requests - I am simply posting working code and heading back to working out my ARM issues.  Use this thread to state your experience or request forum members assistance.  Thanks.

Edited to correct link
http://youtu.be/RLDTBaXMmX4

thedaverman

Working fine,
but it is not possible to send a color bitmap with this library !!!

mrburnette


Working fine,
but it is not possible to send a color bitmap with this library !!!



So, is the lack of this capability critical? (Rhetorical.)  If so, your quest for a cheap color display must continue OR you can start downloading libraries and try and document one that works with an SD card bitmap.

Personally, since this inexpensive TFT GLCD does not incorporate a SD card on the breakout board, I do not think there is any issue here... match the library to the hardware selected to satisfy the needs of the project.

Of course, that is just my opinion,

Ray

reef

#3
Nov 11, 2014, 08:32 pm Last Edit: Nov 12, 2014, 12:10 pm by reef
Hello,
if I want to use this TFT with Arduino UNO I have to make a bridge of solder on the J1 so I can use 5v, but not on a LED that remains at 3v, is it correct?
thanks bye


LED      (BACKLIGHT)   3.3v
SCK      (SCLK)      pin 13
SDA      (MOSI)      pin 11
A0      (DC)         pin 9
RESET   (RESET)      pin 8
CS      (CS)         pin 10
GND      (GND)      GND
VCC      (VCC)      5v

OK, the answer is no, J1 is used to bypass the voltage regulator, TFT is ready to work with arduino (the 65Z5 is 5v), only the LED pin is connected with a resistance of 10 ohm (I have a 22ohm and it's perfect ) to 3v.

mimhs

I have the same display and after a lot of searching I found this link. Thanks to mrburnette, finally I managed to display everything correctly.
My cabling was :
sck -pin 13
reset - pin 12
sda - pin 11
cs - pin 10
A0 - pin 9
GND -GND
VCC - VCC
LED - 3.3v
Used his simple and easy 'test.zip' file on a Duemilanove with excellent results. For one more time Thank you.

ssddaa

i still have the problem
can someone please say step by step how to run the files.
still can not get a clear compiling and i dont really know what/where to change or specify

nid69ita

#6
Nov 27, 2014, 04:05 pm Last Edit: Nov 27, 2014, 04:06 pm by nid69ita
Perfect and veeeery fast on Teensy 3.1 (work at 3.3V) , I changed this on test.ino:
Code: [Select]
#define __CS 10
#define __DC 9
#define __RST 12

My pinout (tft - teensy), the same of @mimhs :
1.Vcc -  3.3V
2.Gnd - Gnd
3.Cs - 10
4.Reset -  12
5.A0 - 9
6.Sda - 11
7.Sck - 13
8.Led - 3.3V

Somebody undestand the pin names ?  A0 and Sda ?  Usually on SPI Mosi/Miso or Din/Dout  :smiley-eek-blue:
my name is IGOR, not AIGOR

Dimdim

Hi guys, I seem to have one of the black PCB 1.44" TFTs and I was wandering what kind of modifications I would need to do to get it working with this library.

I would appreciate any kind of help!

Glychee

Hi guys, I seem to have one of the black PCB 1.44" TFTs and I was wandering what kind of modifications I would need to do to get it working with this library.

I would appreciate any kind of help!
Hey Dimdim, this may be a bit late,but I hope this will help you;

After installing sumotoys library and the adafruit gfx, go to:
Your user directory here\Documents\Arduino\libraries\TFT_ILI9163C-master
and open the TFT_ILI9163C.h file in a text editor.
On row 113-117 is a small section where you can out-comment your display type and comment the display type you're not using.
By default it's set to the red pcb,but you and I have the black one!
Save it, (restart arduino IDE?) and it should work!
Cheers.

tanaris12

#9
Sep 21, 2015, 02:32 am Last Edit: Sep 21, 2015, 02:34 am by tanaris12
All yout wiring shows

1.Vcc -  3.3V
2.Gnd - Gnd
3.Cs - 10
4.Reset -  12
5.A0 - 9
6.Sda - 11
7.Sck - 13
8.Led - 3.3V

but the progran has an extra pin not in the pin rangethat you specify.


// pin definition for the Uno
#define sd_cs  4
#define lcd_cs 10
#define dc     9
#define rst    8


And the sck and sda are nowhere to be found on the test script nad my display does nothing but stay white all the time.
Can you please clarify.

tanaris12

All yout wiring shows

1.Vcc -  3.3V
2.Gnd - Gnd
3.Cs - 10
4.Reset -  12
5.A0 - 9
6.Sda - 11
7.Sck - 13
8.Led - 3.3V

but the progran has an extra pin not in the pin rangethat you specify.


// pin definition for the Uno
#define sd_cs  4
#define lcd_cs 10
#define dc     9
#define rst    8


And the sck and sda are nowhere to be found on the test script nad my display does nothing but stay white all the time.
Can you please clarify.


Found the issue, it was a software issue, failed to set the reset.

mrule

Has anyone else experienced the IL9163 LCDs doing something weird with auto-adjusting the brightness when the screen is dark?

I have a cheap 128x128 board form Ebay that claims to use the IL9163DS driver, and I'd can't find this "feature" documented anywhere in the vendor-supplied datasheet.

It really messes up the colors and I'm trying to figure out how to turn it off.

yogesh0x221E

guys help me out to getting start my arduino mega 2560

i had buy

http://www.aliexpress.com/item/F85-Free-Shipping-1-44-Serial-LCD-Display-128-128-SPI-TFT-Color-Screen-With-Adapter/32454581700.html

and

sumotoy TFT library:         https://github.com/sumotoy/TFT_ILI9163C

Adafruit GFX libray:            https://github.com/adafruit/Adafruit-GFX-Library


1.Vcc -  3.3V
2.Gnd - Gnd
3.Cs - 10 (SS)
4.Reset -  3.3V
5.A0 - 9 (DC)
6.Sda - 11 (MOSI)
7.Sck - 13 (SCLK)
8.Led - 3.3V

only this much i did and try to start sample programs
program get compiled & write to my Mega2560 but
nothing in display

plz help me out from this

david_prentice

Regardless of what they say on the website,   these displays are not supposed to run with 5V logic.
Use some series resistors.    Or better still,   use a 3.3V Arduino.

There is no Hardware SPI on D10, D11, D13 of a mega2560.   It is on D50-D53


David.

gimpo

#14
Jan 09, 2016, 01:24 am Last Edit: Jan 09, 2016, 01:30 am by gimpo
Regardless of what they say on the website,   these displays are not supposed to run with 5V logic.
Use some series resistors.    Or better still,   use a 3.3V Arduino.

David.
Hello David,
How should be sized the resistor to lower the voltage from 5V to 3.3V? How many Ohms?

I took a look to the data sheet for the TFT and I have found that the typical declared consumption is:

18 mA (for the backlight LED) + 1.3 mA (for the LCD) = 19.3 mA

That is very close to what consumes my Adafruit 1.44" TFT (20 mA). Recalling my (poor) notions of electronic a resistor R push a drop of voltage that is

R = Volt / Ampere

So if the current (almost) stable at 19.3 mA and the drop to obtain is 1.7 then the R value should be

R = 1.7 Volt (19.3/1000 Ampere) = 1700/19.3 (Volt/Ampere) = 88.08 Ohm

Are my calculations right or it's time for me to go to bed???
Arduino, what else?

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy