The first way that jumps to mind is the old-fashioned transistor switch. It only needs three parts, is available off the shelf, easy to assemble, and its cheap. You said it outputs a voltage, so you could probably use a mosfet instead of a bipolar. Or a comparator would probably work great, just set the - input to your trigger voltage and put the encoder on the +. : Hi all, : I am working with an optical encoder which outputs a voltage : between +0.35VDC and +1VDC. What is the easiest low : component count method for getting a clean 0V to 5V pulse : from this to use as an input to the PIC? : Thanks. : : Regards, : Stephen D. Barnes -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body