For nibble mode, set the bits on the port then take E high then take it low again, then change the bits on the port, set E high again and pulse E high again. Then initiate the necessary delay (40us for most functions). Don't forget to create a delay after switching on the LCD to allow everything to settle down before giving commands. 30mS is more than enough as I recall. I believe the remote LCD daughterboard should work very nicely. I did something very similar to driver some LEDs on a daughter board when I needed to control 12 LEDs but didn't want to have to use 12 connecting wires. The interesting bit I imagine will be brewing up an interface protocol. The great thing about the LCD daughterboard is that the delay created by making a serial interface will not matter too much because of the intrinsic delays involved in writing to an LCD. I got a CS550001 LCD module (2*16) from EIO. I got it to work with a 16F84. I wrote up a quick app note, which EIO have posted on their technical page for the CS550001 unit which includes source code for the CS550001 in nibble mode with a 16F84 (the CS550001 only does nibble mode). Its not for a daughterboard system but might give you some pointers. If you mail me off list I can send a copy of the app note to you- otherwise its from www.eio.com Ben ----- Original Message ----- From: JP To: Sent: Monday, September 17, 2001 9:20 PM Subject: Re: [PIC]:LCD Daughterboard? > Ok, I have read most of the stuff I can on these LCD's. Two Questions, > > 1. Writing in 4bit mode, do I set E high, set the 4 databits, Set E low, > Set E high, set the remaining 4 databits (d3 - d0) then set E low? > > 2. How can I Equate a variable to 4 bits of PortB? If using 8bit mode I > would simply use: > > LCD-DATA equ PORTB > then later: > movwf LCD-DATA > > So for 4 bit mode I need to be able to Equate LCD-DATA to PORTB (bits > 4,5,6,7). How do I do this? > > Thanks, and sorry if the above is a bit jumpled and makes no sense... > > JP. > > ----- Original Message ----- > From: "Bond, Peter" > To: > Sent: Monday, September 17, 2001 9:11 AM > Subject: Re: [PIC]:LCD Daughterboard? > > > > Hi - > > > > > Hi, I am looking at making an LCD daughterboard using a 16F84 > > > and a 2x16 LCD display. There are two reasons, > > > > 2 wire LCD - http://www.rentron.com/Myke1.htm > > > > (Assuming it hasn't already been posted...) > > > > Peter > > This email, its content and any attachments is PRIVATE AND CONFIDENTIAL to > > TANDBERG Television. If received in error please notify the sender and > > destroy the original message and attachments. > > > > -- > > http://www.piclist.com#nomail Going offline? Don't AutoReply us! > > email listserv@mitvma.mit.edu with SET PICList DIGEST in the body > > > > > > -- > http://www.piclist.com#nomail Going offline? Don't AutoReply us! > email listserv@mitvma.mit.edu with SET PICList DIGEST in the body > > > -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu