Zack E-Mail: spazzman@iname.com One regrets more the things that you did not do than the things you did do. -----Original Message----- From: Josef Hanzal To: PICLIST@MITVMA.MIT.EDU Date: 18 December 1998 09:15 Subject: Signal conditioning snip------- > > +5V > o > | > 1K0 | > | |\ > |o---+----100K----+---------| >O---------> PIC pin > -| | |/ 1/6 > |o limit --- 100n | HC14 > | switch --- > | | > | | > --- --- > GND GND > >Do you think this will give me better chances or is there any better way of >conditioning the signals ? TIA. > >Josef > Try this, I have used it for lengths of up to 15Meters : +5V | 10k diode | |o---| PIC pin -| | |o limit --- 100n | switch --- | | | | --- --- GND GND