Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

What's the maximum LCD cable length for connecting it to microcontroller?

Status
Not open for further replies.

CMOS

Advanced Member level 3
Joined
Jan 6, 2004
Messages
862
Helped
94
Reputation
186
Reaction score
50
Trophy points
1,308
Location
USA
Activity points
5,673
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.
 

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
 

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.
 

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.
 

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.
 

Re: LCD cable length

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

LCD cable length

TTL Level normally should not exceed 5 feet.
 

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.
 

LCD cable length

RS-232 max. cable lenth is 50 feet and max. speed is 20 kbps. and voltage is +- 12v to +- 15v
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top