Discussion in "PIC Microcontroller Discussion" started by    sairfan1    Aug 9, 2014.
Sat Aug 09 2014, 01:12 AM
#1
Hi,
I have some TFT 3.2" (driver SSD1289, HX8352 and ILI9481) as these all have 16bit interface. after spending hours still i could not find out how can i interface it in 8 bit mode, in datasheet i read that it can be connected in 8 bit mode and even in serial mode, but did not find any instruction or command. Please help if any one have tried it. thanks
Sat Aug 09 2014, 11:46 AM
#2
LCDs in market are customized by vendors and they usually configure controllers in 16-bit 8080 MCU format. Most of vendors keep provision of resistor based bootstrap on flex strip of LCD to change the modes of these LCD controllers. So instead of looking into datasheet of controllers look into datasheet of LCD and find out where you can locate those resistors. One more thing to note is, when you're changing mode like you want to use serial mode then make sure those serial pins are coming out on flex connector
 sairfan1 like this.
Sat Aug 09 2014, 01:46 PM
#3
Thanks a lot, i did not get such a useful information on this issue. unfortunately it is very hard to find datasheet for a china based item, even i have experience of wrong datasheet provided by supplier, so one have to pay hours of work to solve such mystery.

While reading datasheets its feel like TFT is configured for 16/8/3bit mode by command?

I'm attaching image of my TFT please see if you have gone through such kind.



[ Edited Sat Aug 09 2014, 01:51 PM ]
Mon Aug 11 2014, 12:14 PM
#4
I had similar bad experience with Chinese vendors. Data sheet was not matching controller specs and then finally it was vendor's mistake providing invalid information in their LCD datasheet.

This TFT LCD is different from what I worked on and I suggest you need to look on the other side of PCB where LCD is mounted and connected, incase you want to try changing its mode. I do not recommend doing that unless you have a good information of complete module. I am not sure if you can take off the LCD and see whats underneath and find out if you can still modify this to work in different mode.

The pinouts shows LCD is configured to run in parallel mode. There are many arduino based libraries available specially for this LCD. Did you check that?
Mon Aug 11 2014, 03:23 PM
#5
Thanks, I have successfully run the TFT in 16bit mode, i am using PIC controller after connecting TFT and Touch panel i'm left with no available ports. thats why it is necessary for me to configure it at least in 8bit mode.

I pulled out TFT to see its back side, please refer to attached image and advise if it can be configured.

One more thing I'm running project in 3.3v, i have added 40ohm resistor to its LEDs, it does not look like enough bright. Please advise how much resistance can be decreased to get brighter picture.

Thanking you.

Mon Aug 11 2014, 03:26 PM
#6
i was unable to upload image from front side, here is link to view

Image


[ Edited Mon Aug 11 2014, 03:35 PM ]
Tue Aug 12 2014, 03:42 PM
#7
I could not figure out much from the images. I think you're currently out of luck with changing LCD mode. however you can do other things to save pins of your controller like using a shift register to make a 16-bit port out of just 3 pins e.g. CD4094 you can connect two CD4094, feed data to only one shift register the next shift register can be connected back to back feeding Qs pin of first shift register to data pin of the next one and clock is common to both. once the data is shifted you can enable latch so all data is available on parallel port at once to avoid any error data.

Now you can do simple bitbang with a for loop to shift out 16-bits. this way with just three pins can give you a full 16-bit port.
Tue Aug 12 2014, 03:59 PM
#8
thanks, finally advise about brightness issue, I'm running project in 3.3v, i have added 40ohm resistor to its LEDs, it does not look like enough bright. Please advise how much resistance can be decreased to get brighter picture.

And which Touch TFT model/driver do you recommend, if possible plz give refer to some image. Thanks again.
Tue Aug 12 2014, 04:34 PM
#9
Usually its better to have a LED driver circuit in place for TFT backlights which can supply constant current. and then depending on forward voltage of LEDs you can decide series resistor. For this datasheet is more helpful to find out forward drop voltage of backlight LEDs.

Recommended modules.. I cannot say much on that as most of modules in market are mostly same. You can try TFTs from New Haven display, they are a reliable source, maybe a bit costly. I will see if i can get you better vendor name for TFTs.
Wed Aug 13 2014, 01:48 PM
#10
thanks, will be waiting for.

Get Social

Information

Powered by e107 Forum System

Conversation

scena
Tue May 19 2020, 06:29 PM
Does anyone have microcontroller programming software for STC15F104W (core 8051, 4 k, 128 byte, 6 I/O pin, UART ... DIL8), that works?
Sat May 02 2020, 03:38 PM
Tamu Gurung
Hi I am looking for a assembly language program for a digital decimal counter. Time counts max limit of 2 mins starting from 2.00 mins and ending at 0.00. time is to be displayed on 4 7-segment LED displays. Edsim51 simulator to be used. Thanks
Wed Mar 25 2020, 09:39 AM
Tajammul
Sir kindly send the code file i2c for 8051
ExperimenterUK
Fri Mar 13 2020, 06:36 PM
@ Rohitnani,ABEBE..which project ?
Fri Mar 13 2020, 08:55 AM
ABEBE
how can get hadwere of this project
Rohitnani
Sat Mar 07 2020, 12:11 PM
Sir, Could you please send me the zip file input password....
Wed Feb 26 2020, 11:58 AM
Peter Parker
Is it possible to send multiple messages using only 1 GSM module?
Sat Feb 01 2020, 05:12 AM
Pearl Olin
Hello,
Wed Jan 22 2020, 01:16 PM
MINU CHAUDHARY
I m getting errors while simulation process during interfacing socket output and lcd... Can i get the report of ur project which is same as us.
Tue Jan 14 2020, 02:08 AM
shubham kharade
when i am trying to simulate the program in Proteus 8 professional, I am getting some errors as cannot find module file dhtxx.md can u help me

Downloads

Comments

Davidthils
Thu May 21 2020, 08:44 AM
Jakeror
Wed May 20 2020, 09:28 PM
motorCar
Wed May 20 2020, 03:05 PM
Vordrync
Wed May 20 2020, 07:52 AM
JadenjiT
Wed May 20 2020, 03:15 AM
scena
Tue May 19 2020, 06:08 PM
CodySiz
Tue May 19 2020, 02:22 PM
ClaireSat
Mon May 18 2020, 09:50 PM

Online

Guests: 59, Members: 0 ...

most ever online: 182184
(Members: , Guests: 182184) on 06 Aug 2010: 01:37 AM

Members: 38211
Newest member: Davidthils
Forum Activity
xrxx Avatar
Posted By xrxx
Thu Apr 30 2020, 06:59 AM
BCD MULTIPLICATIONAssume that you have to 2 BCD nu...
liqian Avatar
Posted By liqian
Tue Apr 28 2020, 05:26 AM
I happened to see your post and I got many useful ...
ExperimenterUK Avatar
Posted By ExperimenterUK
Tue Apr 28 2020, 04:21 AM
The code is hard to read.Please zip it and attach ...
rogermado Avatar
Posted By rogermado
Sun Apr 26 2020, 01:53 AM
@ExperimenterUK, thanks for your reply. You'll fin...
ExperimenterUK Avatar
Posted By ExperimenterUK
Sat Apr 25 2020, 05:42 PM
Some simulators handle displays better than others...
rogermado Avatar
Posted By rogermado
Sat Apr 25 2020, 03:59 PM
Hello everyone, sorry in advance if i'm not in the...
PHANTOM28 Avatar
Posted By PHANTOM28
Fri Feb 28 2020, 10:25 AM
Hi.I hope you all can help me. I am relatively ne...
ExperimenterUK Avatar
Posted By ExperimenterUK
Fri Feb 21 2020, 05:05 PM
ajay_bhargav Avatar
Posted By ajay_bhargav
Fri Feb 21 2020, 04:45 AM
Yes you can do that.1. Create a channel @Thingspea...
ananyagupta Avatar
Posted By ananyagupta
Thu Feb 20 2020, 03:58 AM
With regards to the particular characters sent to ...