11 Replies Latest reply on Aug 18, 2017 1:54 PM by user_350540870

    PSoC4: UltraSonic Sensor based Distance Measurement


      Hi All


      I am currently working on UltraSonic Sensor based Distance Measurement. I am using the sensor HCSR04 for that. With help of Danaaknight, I have designed the attached project, but it is not working as I am not getting the distance. The PSoC4 pins of trigger, echo and the sensor's results are checked on CRO. They are tested OK. I think the problem lies in measuring the time period on the Echo pin. Everybody is welcome to give solution.