# How to code an Obstacle Avoidance Robot

What is an Ultrasonic Sensor and how does it work? Follow this # How to Code an Obstacle Avoidance Robot to understand ultrasonic sensor!



An ultrasonic sensor can detect the distance between it and the object detected. The left probe (R) emits ultrasonic waves, and the right one (T) receives them.












