SENSOR- Ultrasonic HC-SR04 (Interfacing HC-SR04 with 8051)
I am doing a project based on obstacle detector. It is a outdoor project hence i choose to buy an ultrasonic sensor to work efficiently on both bright sun light as well as dark nights. Now my problem is i am not able to interface this sensor with my controller. Anyone please tell me what input i must give to trig input of that sensor and what kind of output i get form the echo pin. also tell me how can i interface this sensor with the AT89S52.
i have attached the user manual which i downloaded from internet.
Please help me with your valuable comments, Thanks in advance.