Ultrasonic Distance Sensor with Dragon12-Plus-USB
Hello all,
I'm working on Adaptive Cruise Control using Fuzzy Logic project and I m trying to use Ultrasonic Distance Sensor to measure the distance of an object and compute the motor speed using the Fuzzy Logic.
Whole project works using IR Sensor but this IR sensors are very jumpy when room light goes up and down or shadow passes thru... So I decided to switch to Parallax Ultrasonic Distance Sensor.
How can I implement C Code for Parallax Ultrasonic Distance Sensor on Dragon12-Plus-USB board? As per Parallax Ultrasonic Distance Sensor datasheet I have to generate 5 usec pulse and then get the data...
Anyone implement Parallax Ultrasonic Distance Sensor using Dragon12-Plus board?
Thanking in advance...
Cheers,
Nitesh
I'm working on Adaptive Cruise Control using Fuzzy Logic project and I m trying to use Ultrasonic Distance Sensor to measure the distance of an object and compute the motor speed using the Fuzzy Logic.
Whole project works using IR Sensor but this IR sensors are very jumpy when room light goes up and down or shadow passes thru... So I decided to switch to Parallax Ultrasonic Distance Sensor.
How can I implement C Code for Parallax Ultrasonic Distance Sensor on Dragon12-Plus-USB board? As per Parallax Ultrasonic Distance Sensor datasheet I have to generate 5 usec pulse and then get the data...
Anyone implement Parallax Ultrasonic Distance Sensor using Dragon12-Plus board?
Thanking in advance...
Cheers,
Nitesh
Comments
Please any one can help me with this problem? I will really appreciate it...
Cheers,
Nitesh