![]() | ![]() | ![]() |
| |||||||
| 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. |
![]() |
| | Tools |
| | #1 |
|
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 | |
| |
| | #2 |
|
Use a Mux Unit, ............. JD | |
| |
| | #3 | |
|
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:
| ||
| |
| | #4 |
|
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.
| |
| |
| | #5 |
|
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.
| |
| |
| | #6 |
|
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 | |
| |
| | #7 |
|
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). | |
| |
|
| 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 |