Are you intending to use the time it takes for the IR to reach the target, or are you thinking of using the drop in amplitude with range? The first will require very fast timing. The second will mistake poor visability or power variations for range changes. Sherpa Doug > -----Original Message----- > From: Micro Eng [mailto:micro_eng@HOTMAIL.COM] > Sent: Friday, August 24, 2001 12:06 PM > To: PICLIST@MITVMA.MIT.EDU > Subject: [PIC]:Using IR....determing position? > > > I am trying to decide if I can use an IR setup to determine > if something is > in range. I could use ultrasonic, but I wondered if IR might > be easier. > All I want is PIC watching the inputs and if the box is moved within a > certain range (12"-16") turn on an LED. Simple in concept.... > > _________________________________________________________________ > Get your FREE download of MSN Explorer at > http://explorer.msn.com/intl.asp > > -- > http://www.piclist.com hint: To leave the PICList > mailto:piclist-unsubscribe-request@mitvma.mit.edu > > > -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu