> I have a IR-sensor with an open collector output. > Can somebody help me to explain how it works ? > A drawing to show me will be nice. That's a very non-specific question, but I think that you'll find that it sinks a current in response to light. Don't you have a data sheet or some sort of information on the part? -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist