Joy-IT KY-050
This modules shows how to measure a distance to an object with an ultrasonicspeaker and a microphone. The principle is based on the theory that the speed of the sonic, at a stable temperature, is constant - at 20° C it's 343,2m/s.KY-050 Ultrasonic-distance-sensor KY-050 Ultrasonic-distance-sensor Contents 1 Picture ................................................................................................................................................................. 1 2 Technical data / Short description ....................................................................................................................... 1 3 Pinout ................................................................................................................................................................... 1 4 Function principle ................................................................................................................................................ 1 5 Code example Arduino ......................................................................................................................................... 3 6 Code example Raspberry Pi .................................................................................................................................