CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

LCD and digipot cable length?

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Will Reeve
Guest







LCD and digipot cable length?
PostPosted: Fri Jan 17, 2003 3:48 pm     Reply with quote

Hi all,
I have a PIC based project using a LCD screen (usual 4bit interface) and also a digital pot as an input device. I need to run the LCD and 'pot about 1m from the PIC, is this recommended? It all works OK but want it to keep working in possible noisy automotive environments. I was thinking about making a spi connection with another smaller PIC at the LCD end but then again spi is probably just as likely to be susceptible to interference? Any thoughts would be much appreciated.

Will
___________________________
This message was ported from CCS's old forum
Original Post ID: 10765
R.J.Hamlett
Guest







Re: LCD and digipot cable length?
PostPosted: Fri Jan 17, 2003 3:59 pm     Reply with quote

:=Hi all,
:=I have a PIC based project using a LCD screen (usual 4bit interface) and also a digital pot as an input device. I need to run the LCD and 'pot about 1m from the PIC, is this recommended? It all works OK but want it to keep working in possible noisy automotive environments. I was thinking about making a spi connection with another smaller PIC at the LCD end but then again spi is probably just as likely to be susceptible to interference? Any thoughts would be much appreciated.
:=

I have to admit, that I have found the inputs to many of these LCD displays to be particularly susceptible to noise. When running even quite short lengths adjacent to relatively large electrical fields, termination, shielding, and supression has become necessary. Your 'balancing act', will depend on the relative cost of providing good shielding on the cable, against the extra processor. If you are using a second processor for this type of application, consider using RS485, and a twisted pair cable.
However that having been said, unless the enviroment is ridiculous, 1m should be comfortably achievable, with a bit of care on the cableing and layout. Normal TTL signals can be run several times this length, by generally being a bit careful in the design - work out how both the signals and the ground are going to be handled. Consider using a twisted pair cable, with alternate grounds. Look at signal termination, and protection on the inputs.

Best Wishes
___________________________
This message was ported from CCS's old forum
Original Post ID: 10768
oscar
Guest







Re: LCD and digipot cable length?
PostPosted: Fri Jan 17, 2003 4:22 pm     Reply with quote

:=Hi all,
:=I have a PIC based project using a LCD screen (usual 4bit interface) and also a digital pot as an input device. I need to run the LCD and 'pot about 1m from the PIC, is this recommended? It all works OK but want it to keep working in possible noisy automotive environments. I was thinking about making a spi connection with another smaller PIC at the LCD end but then again spi is probably just as likely to be susceptible to interference? Any thoughts would be much appreciated.
:=
:=Will

Will,

1 meter in an automotive environment is like 10 meters under desks full of PC's and lab equipment.

I recommend you get yourself a CAN transceiver chip TJA1050 on either end of this cable and connect it to a CAN compatible micro. This means that your current micro has to be a CAN compatible micro. This does sound like a lot of work but wait until you have to design the power supply for this circuit (using 12V from car I assume?) you'll really be worried then.

Take it from an automotive electrical engineer, noise in a vehicle is a pain in the arse.

Good luck,
O
___________________________
This message was ported from CCS's old forum
Original Post ID: 10769
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

Re: LCD and digipot cable length?
PostPosted: Fri Jan 17, 2003 4:43 pm     Reply with quote

:=Hi all,
:=I have a PIC based project using a LCD screen (usual 4bit interface) and also a digital pot as an input device. I need to run the LCD and 'pot about 1m from the PIC, is this recommended? It all works OK but want it to keep working in possible noisy automotive environments. I was thinking about making a spi connection with another smaller PIC at the LCD end but then again spi is probably just as likely to be susceptible to interference? Any thoughts would be much appreciated.
------------------------------------------------------------
Possibly change to an LCD with an RS-232 interface.
<a href="http://www.seetron.com/slcds.htm" TARGET="_blank">http://www.seetron.com/slcds.htm</a>
___________________________
This message was ported from CCS's old forum
Original Post ID: 10771
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group