Discussion in "PIC Microcontroller Discussion" started by    sairfan1    Aug 9, 2014.
Sat Aug 09 2014, 05: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, 03:46 PM
#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, 05: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, 05:51 PM ]
Mon Aug 11 2014, 04: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, 07: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, 07:26 PM
#6
i was unable to upload image from front side, here is link to view

Image


[ Edited Mon Aug 11 2014, 07:35 PM ]
Tue Aug 12 2014, 07: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, 07: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, 08: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, 05:48 PM
#10
thanks, will be waiting for.

Get Social

Information

Powered by e107 Forum System

Conversation

Sun Oct 13 2019, 02:02 AM
Aline Hutchinson
Hey there,
ExperimenterUK
Sat Oct 12 2019, 10:23 PM
Log in.. then post your code in the 8051 forum
Sat Oct 12 2019, 10:18 AM
Bhadra Sajikumar
i am doing a countdown timer with 8051 for my project, unfortunately our professor had to take a leave of absence before he could teach us most of it.. can someone explain the .asm code of it for me?
Mon Sep 23 2019, 07:37 AM
Nathaniel
I am doing a project for my schools wireless security system with cameras,sensors and spot lights using 8051 micro controller, could you help me out with the design and its source code.
Wed Sep 18 2019, 08:48 PM
Caryn Kover
Thank you for your time,
ExperimenterUK
Mon Aug 05 2019, 07:09 PM
@Ismail ..post in forum, give details
Mon Aug 05 2019, 04:33 PM
Ismail balghmi
Hello. Please I won't download
ExperimenterUK
Wed Jul 24 2019, 12:47 AM
@BUSTER123 Please post in the forum
Tue Jul 23 2019, 06:13 PM
BUSTER123
hello! newbie here. i am kind of a guy who hates using ready - made existing libraries, so this helped a lot as i was trying to control and write to a character lcd display. however, i can't figure out how to set the cursor position. for example, i want to set it to the 5th column in the first row, so position 5. so according to the table, i am sending 10000101 on the 8 data lines of the lcd (register select pulled low). the cursor does not move there however. and i cant move the cursor left or right too. is it something wrong that i am doing? thank you.
ExperimenterUK
Thu Jul 11 2019, 07:55 PM
@ramos https://www.theengineeringprojects.com/2017/09/l298-motor-driver-library-proteus.html

Downloads

Comments

ilylily07
Tue Oct 15 2019, 04:32 PM
hientran123
Tue Oct 15 2019, 02:27 AM
Sat Oct 05 2019, 02:38 PM
zexalo
Thu Oct 03 2019, 09:53 AM
thanhle12345
Thu Oct 03 2019, 07:37 AM
ramon_vsc
Fri Sep 20 2019, 04:53 PM
youssoufba
Thu Sep 19 2019, 11:57 AM
Taiphan000
Tue Sep 17 2019, 04:21 AM

Online

Guests: 44, Members: 0 ...

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

Members: 38097
Newest member: ilylily07
Forum Activity
s_dinesh40@yahoo.com Avatar
Posted By [email protected]
Sun Oct 20 2019, 03:09 PM
s_dinesh40@yahoo.com Avatar
Posted By [email protected]
Sun Oct 20 2019, 03:02 PM
sir, when i on display ,sometime 3rd display is no...
s_dinesh40@yahoo.com Avatar
Posted By [email protected]
Sun Oct 20 2019, 02:53 PM
sir, when i on display ,sometime 3rd display is no...
ExperimenterUK Avatar
Posted By ExperimenterUK
Sun Oct 20 2019, 12:21 AM
Your code seems okay on my simulationTry my code o...
ExperimenterUK Avatar
Posted By ExperimenterUK
Sun Oct 20 2019, 12:21 AM
Your code seems okay on my simulationTry my code o...
s_dinesh40@yahoo.com Avatar
Posted By [email protected]
Sat Oct 19 2019, 07:13 PM
please find video attachment. 3rd & 4th displa...
s_dinesh40@yahoo.com Avatar
Posted By [email protected]
Sat Oct 19 2019, 07:05 PM
sir, 3rd and 4th dot matrix display flickering, ...
ExperimenterUK Avatar
Posted By ExperimenterUK
Fri Oct 18 2019, 09:18 PM
Hopefully you understand some of the program.Which...
s_dinesh40@yahoo.com Avatar
Posted By [email protected]
Thu Oct 17 2019, 09:38 PM
ExperimenterUK Avatar
Posted By ExperimenterUK
Thu Oct 17 2019, 08:35 PM
Do you understand how this code works?If so, addin...