Hello World! I made another example project, I am using the KY-032 to show you how obstacle avoidance Sensors work. The code is basic but works fine for simple things. From the code you can build bigger projects.
The obstacle avoidance sensor is being used in multiple things, for example Unmanned military vehicles.
In cars, and a lot of robotics.
Check the next step for code and schematic.
Step 1: Schematic Code & Parts List.
Just wire everything up like the schematic and it should work.