Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
Tools
Old 12th November 2007, 10:08 PM   #1
Default 2 Pics - 1 LCD

does anyone have any suggestions how I can interface 2 pic's to one lcd. Through software, i can make it where only one pic will try to communicate with the LCD at a time. However, when i wire both pics to the LCD, neither pic is able to communicate. Can i simply use an OR gate? perhaps a 3rd pic configured to act like an OR gate?

all suggestions welcome.

Thanks
hunt4it44 is offline  
Old 12th November 2007, 10:16 PM   #2
Default

Use a Mux Unit, .............

JD
JD1 is offline  
Old 12th November 2007, 10:17 PM   #3
Default

Having more then one uC talk to a single LCD is difficult.

Better to have one PIC control the LCD. Have the 2nd, (3rd..) PIC send the info to be displayed to the first who then displays the needed info.

How you do the communication is up to you. Lots of options.

The same question was asked here not too long ago. Search for it if you want to read the entire thread.
Quote:
Originally Posted by hunt4it44
does anyone have any suggestions how I can interface 2 pic's to one lcd. Through software, i can make it where only one pic will try to communicate with the LCD at a time. However, when i wire both pics to the LCD, neither pic is able to communicate. Can i simply use an OR gate? perhaps a 3rd pic configured to act like an OR gate?

all suggestions welcome.

Thanks
3v0 is offline  
Old 13th November 2007, 03:47 AM   #4
Default thanks

thanks for the response. i guess i need to see what i can do about passing data from one pic to the other which will control the lcd.
hunt4it44 is offline  
Old 13th November 2007, 09:37 AM   #5
Default

You just need a single pin on each, and send serial data - you can even buy serial LCD modules, these just have an on-board PIC doing the processing.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 14th November 2007, 05:18 AM   #6
Default

How about using 2 PIC in master slave configuration. the master connect direct to the LCD. The slave can pass on message in 4 bit mode to the master and the master then display to the LCD.
__________________
May the force be with you.


My project: Simple White Line Follower

http://au.youtube.com/watch?v=8Z_MmrdH4oc

http://i271.photobucket.com/albums/j...nefollower.jpg
Wingmax is offline  
Old 14th November 2007, 11:40 AM   #7
Default

Too bad we don't know what controller is on the LCD.
If it's the well known () Hitachi HD44780.
Then you could buy a 4 lines * 40 characters LCD.
It has 2 controllers on it one for the first two lines and the other for the last two lines.
Such LCD has 2 enable lines (one for each PIC) and multiplexed datalines (to both PIC's).
mcs51mc is offline  
Reply

Tags
lcd, pics

Thread Tools
Display Modes


Similar
Title Starter Forum Replies Latest
PIC16F628A LCD problems. HerbertMunch Micro Controllers 17 2nd October 2007 10:20 AM
Newbie needs help with LCD backlight dimming Mongoose General Electronics Chat 6 22nd September 2007 12:23 AM
Nokia 7110 LCD + questions regarding code and behaviour of LCD. MrNobody Micro Controllers 2 19th September 2007 08:50 AM
LCD Troubles Kyle-s4h Micro Controllers 13 11th September 2007 01:30 PM
I am interested in PiCs but dont know much about them cubdh23 Micro Controllers 2 10th July 2004 08:07 AM



All times are GMT. The time now is 12:14 AM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker