oh, the long wire is connected to nothing. It's around < 1m. No, there's no "not-so-long-wire". I'm trying to find out how long does the wire need to be in order to cause problem. mark >From: Jan-erik Svderholm (QAC) > >Reply-To: pic microcontroller discussion list >To: PICLIST@MITVMA.MIT.EDU >Subject: Re: [EE]: Noise problem with schmidt trigger >Date: Tue, 13 May 2003 13:01:40 +0200 > >And the long wire replaces what exactly ? >What's in the other end of the "long wire" ? >How long is the "not-so-long-wire" ? >Jan-Erik. > > >-----Original Message----- >From: Lim KK [mailto:mark_limkk@HOTMAIL.COM] >Sent: den 13 maj 2003 12:59 >To: PICLIST@MITVMA.MIT.EDU >Subject: Re: [EE]: Noise problem with schmidt trigger > > >yup, I tried to pull it up, but the problem persist. The output of the >encoder is pulses (0V to 5V). I think the encoder circuit producing the >pulses are fine. When I replace the input of the schmitt trigger with a >long >wire(1m), the problem appears. > >mark > > > >From: Jan-erik Svderholm (QAC) > > > >Reply-To: pic microcontroller discussion list > >To: PICLIST@MITVMA.MIT.EDU > >Subject: Re: [EE]: Noise problem with schmidt trigger > >Date: Mon, 12 May 2003 09:10:35 +0200 > > > >Pull up or pull down resistors on the input to > >the schmitt trigger ? What is the output from the > >encoder ? Just a open or closed switch ? > > > >Jan-Erik. > > > > > >Lim KK wrote: > > >The input to my schmitt trigger is actually pulses > > >coming from an optical encoder. > > > >-- > >http://www.piclist.com hint: PICList Posts must start with ONE topic: > >[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads > >_________________________________________________________________ >STOP MORE SPAM with the new MSN 8 and get 2 months FREE* >http://join.msn.com/?page=features/junkmail > >-- >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 > >-- >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 _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail -- 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