Quote:
|
Originally Posted by Mike Betts
Jackel,
Each sensor must be on its own interrupt line and digital output line. Also, you must stagger the output pulse so that both will not transmit a pulse at the same time.
I can give you code fragments on how to so it in C but not EasyC.
Mike
|
This is the same problem that I just encountered, in trying to use 4 Ultrasonic sensors on a 4- wheel holonomic robot. Very very frustrating.
Does anyone have an EasyC solution to using multiple sonar sensors? I've tried using waits in between Ultrasonic sensor readings to try and avoid timing loop interference, but that has not worked. Each sensor works individually but not when more than one is used at a time. Is there too much latency in Starting and Stopping each individual Ultrasonics sensor in turn?
Thanks!