electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

LCD cable length


Post new topic  Reply to topic    EDAboard.com Forum Index -> Hobby Circuits and Small Projects Problems -> LCD cable length
Author Message
CMOS



Joined: 06 Jan 2004
Posts: 810
Helped: 39
Location: USA


Post06 Jun 2004 17:39   

LCD cable length


Hi,
I want to know what is the maximum length of cable that I can use to connect an HD44780 based 16x1 LCD display to any microcontroller, say 89C51?
In one of my project, I need to place LCD on the front door of a small metal cabinet and to make sure that cabinet's door open completely, my cable length should be atleast 45 cms. Will this much length work without any problems? Same is the case with 4x4 Matrix keypad.
Back to top
shorty



Joined: 26 Feb 2002
Posts: 60
Location: Austria


Post06 Jun 2004 22:21   

Re: LCD cable length


hi

i have testet cable lengh up to 30 m with standard rs 232 cable (shielded)and it works fine

the value of the pull ups must be low (1k2)

shorty
Back to top
Google
AdSense
Google Adsense




Post06 Jun 2004 22:21   

Ads




Back to top
CMOS



Joined: 06 Jan 2004
Posts: 810
Helped: 39
Location: USA


Post07 Jun 2004 5:57   

Re: LCD cable length


30m !! Thats great!!

Were your signals TTL compatible? i.e. 0-5V?

Right now I am using 4k7 pull-ups on 89C51 ports. That means it should run 45 cms wihtout any problems.
Back to top
simce



Joined: 09 Jan 2004
Posts: 195


Post07 Jun 2004 8:35   

Re: LCD cable length


I've tested this kind of LCD with cable length of about 3m (TTL levels) and there were no problems. But take in mind to use shielded cable or flat cable but with twisted pairs. Every pair should be combination of ground/signal and put termination resistors on LCD side if you are only writinig to LCD (small resistance-0.5-1k and maybe small capacitors 2-3pF). You can use ferrite bead on end of the cable. Also reinitialize LCD from time to time (i mean full initialization). If you have problems lower the frequency of signals sent to LCD. I've not tested for longer cable, but everything can be possible.
Back to top
betanorm



Joined: 13 Aug 2001
Posts: 44


Post07 Jun 2004 8:45   

Re: LCD cable length


I think that the length of the cable depends on the pulse duration to send and receive data from LCD module, cable capacitance and output impedance of the MCU.

If you keep signal durations long enough to overcome the cable capacitance, then the output resistive component of impedance would be the limitation...


My experience which I spent days... ->On my first use of digital humidity and temperature sensor SHT-11 from Sensirion, it didn't give back ack signal. That means it didn't worked. Everything was OK, both the hardware and the software. Finally I realized that the cable impedance and length was the main problem. When it was shortened to an appropriate length, the sensor begin to give responses and worked very well.


Last edited by betanorm on 07 Jun 2004 14:18; edited 3 times in total
Back to top
simce



Joined: 09 Jan 2004
Posts: 195


Post07 Jun 2004 11:32   

Re: LCD cable length


betanorm is right.
You must adjust the pulse duration regarding cable impendance (all resitive, inductive and capacitive componens are important).
Back to top
pico



Joined: 30 Sep 2001
Posts: 285
Helped: 6


Post07 Jun 2004 14:47   

LCD cable length


TTL Level normally should not exceed 5 feet.
Back to top
Learn Kid



Joined: 24 Oct 2007
Posts: 1


Post24 Oct 2007 3:07   

Re: LCD cable length


Please Help!!

I had a problem with sending data from MCU through RS232 Data Cable (7x0.2mm) with 6 meter and 3.1 meter to LCD module with 4 data line mode, it seems that the signal receive at the LCD terminal crash especially the Enable bit, could anyone offer your kind helping hands! Thank you.
Back to top
pico



Joined: 30 Sep 2001
Posts: 285
Helped: 6


Post24 Oct 2007 5:03   

LCD cable length


RS-232 max. cable lenth is 50 feet and max. speed is 20 kbps. and voltage is +- 12v to +- 15v
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Hobby Circuits and Small Projects Problems -> LCD cable length
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
Thermocouple Cable Length (11)
1-Wire cable length (7)
Extend USB cable length (1)
cable length for PC interface (4)
JTAG Chain Cable Length (1)
622 Mbps cable length (1)
Coaxial Cable length for impedance match (8)
FCB/FCC LCD cable connector - can't find one (2)
Stripline Length - length of the haipin resonator (1)
Etch Length & Manhattan Length (3)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS