PDA

View Full Version : 2 PIC's 1LCD



puma
- 31st July 2004, 13:25
hi,
I need some help on this one.
Its not a real case but it could be a real case if it where possible.
Lets say I have an application with consists out of 2 pic's.
And I have an 16x2 LCD or an 14x4 LCD, doesn't matter for this example.
Then I have enough pins left on each PIC to drive an LCD parallel in 8bit mode with the lcdout command.
Now it comes: Can I connect those 2 PIC's in parallel with the LCD and have Pic1 put info on line1 and pic2 info on line2 (in case of 16x4 lcd pic1 puts info on line 1&2 en pic 2 Puts info on line 3&4)
If it is possible any thoughts?

The Puma

Dwayne
- 2nd August 2004, 19:28
Hello Puma,

Puma>>I need some help on this one.
Its not a real case but it could be a real case if it where possible.
Lets say I have an application with consists out of 2 pic's.
And I have an 16x2 LCD or an 14x4 LCD, doesn't matter for this example.
Then I have enough pins left on each PIC to drive an LCD parallel in 8bit mode with the lcdout command.
Now it comes: Can I connect those 2 PIC's in parallel with the LCD and have Pic1 put info on line1 and pic2 info on line2 (in case of 16x4 lcd pic1 puts info on line 1&2 en pic 2 Puts info on line 3&4)
If it is possible any thoughts?<<

Never thought of that.... I guess i would suggest putting diodes on both chips for the pins going to the LCD. That way there can be some protection...give it a try and tell us!

Dwayne

Andy M
- 3rd August 2004, 17:58
Sounds like you might need some sort of way for the PICs to let each other know when they are sending data to the LCD. Yes, please let us know what you come up with!