A PIC can measure the time an ultrasonic pulse takes to travel. That is how the tapeless tapemeasures work. Infrared travels too fast for a PIC to measure. You would need some external hardware to measure anything less than a mile. Sherpa Doug > -----Original Message----- > From: angus morrison [mailto:angus@ANGSTROM.UK.COM] > Sent: Thursday, March 28, 2002 1:12 PM > To: PICLIST@MITVMA.MIT.EDU > Subject: [EE]: Measurment of distance via infrared? > > > 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