Hi, @pras33da
Have you written code that JUST uses the ultrasonic to establish you have control of it before adding all the other code?
You need to make sure the ultrasonic is working?
Can you please post a circuit diagram?
Please include power supply and label components and pin names.
Thanks.. Tom...
![]()