Angus There are a few approaches: Here are just a couple of leads: 1. An off the shelf solution with analog output: http://www.acroname.com/robotics/parts/R21-IR05.html: Sharp, makes the sensor Acroname is just one outfit that sells it. 2. Hacking a 'standard' ir receiver module to measure distance: http://www.mil.ufl.edu/imdl/handouts/sharphack.pdf Hope that helps. carl At 06:11 PM 3/28/2002, you wrote: >I need tt measure distance somehow - i.e. whether there is an object in >front of a sensor or not... is it possible to use a PIC to measure a very >rough calculation of reflection distance, - you know the same way one of >those tapeless tape measures work? > >anyone any experience/ideas? > >angus. > >-- >http://www.piclist.com hint: PICList Posts must start with ONE topic: >[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads