ping ultrasonic with 8051
eem_murat
Posts: 8
hi friends,
ı have parallax ping ultrasonic sensor and ı want· to use this· sensor with·AT89s51.and ı want to·use c language..ı· have bs2 and this is very easy to bs2..so ı want· to use 89s51 .you think how can ı use this· sensor or can ı use this· sensor..
ı have parallax ping ultrasonic sensor and ı want· to use this· sensor with·AT89s51.and ı want to·use c language..ı· have bs2 and this is very easy to bs2..so ı want· to use 89s51 .you think how can ı use this· sensor or can ı use this· sensor..
Comments
The documentation we have on the product web page outlines how to do this. You’ll basically need to trigger the device and then make the I/O pin an input and measure the length of the return pulse. The lengths of the pulses and maximum return pulse width are all listed. Take care.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support