Quote:
Originally Posted by lukevanoort
Most ultrasonic sensors need an interrupt and a timer to measure the time the sound pulse takes to travel from the sensor to the object and back. That's why the Maxbotix sensor is so nice; it does this with its onboard electronics.
|
I guess the reason that the one we used was so expensive (for just one) is that it had an onboard (microprocessor I'm assuming... perhaps it was just a CPLD or something) that converted it to a readable analog signal.... no interrupts required. It could just be read in by the processor whenever it needs it.
Makes coding simpler. Dunno how common those are though.
Jacob