Exactly by my meaning. Let me know if it works. Igor -----Original Message----- From: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.EDU]On Behalf Of WH Tan Sent: Monday, February 17, 2003 5:12 AM To: PICLIST@MITVMA.MIT.EDU Subject: Re: [PIC]: [EE]: 1 I/O interface to LCD - ONE chip solution Thanks a lot Igor. Just to make sure I am not interpreting anything wrongly. Is this what you means? Thanks again. WH Tan > -----Original Message----- > From: pic microcontroller discussion list > [mailto:PICLIST@MITVMA.MIT.EDU]On Behalf Of Igor Pokorny > Sent: 16 February 2003 07:29 > To: PICLIST@MITVMA.MIT.EDU > Subject: Re: [PIC]: [EE]: 1 I/O interface to LCD - ONE chip solution > > > Hello Tan. > I suggest you a solution with one pin of a PIC. I haven't proved it if it > works, but it's an idea at least. > Use some sort of 4094, outputs to LCD d7..d4, d/i, r/w and E. E > must be tied > to Vss by a resistor. > Connect an output pin of a PIC to D input, by C to clock with > resistor tied > to Vdd and by diode to STR. > STR input has a capactor to Vss and resistor to Vdd. OE of 4094 is in high > state all the time. > Output of a PIC is at high level, so STR, CLK is high as well, > the output is > enable. > When you drive output to low level for a certain time, STR and CLK signals > go to low. the output of 4094 is NC. > STR is going to Vdd and when reached high level with input still in low > level, zero will be written to serial register. > If input low level isn't long enough to allow CLK reachs high, > the one will > be written to serial register in the time when input gets from low to high > level. > When input stay enough long in high level, the STR input gets high and > writes result to output buffer. > Hope it helps you a little. > > Igor -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics