Ultrasonic Sensor

Ultrasound is a type of sound with a frequency bigger than humans can hear. This frequency, the 'upper-limit of human hearing,' is approximately 20,000 hertz (20 kilohertz). Bats use the type of sound to find objects. Your robot can do that too. Like bat it can also find out how far away something is.

21 Lines of code.

27 Lines of Code.

Top View of the UltraSonic Sensor.
Front View of the Ultrasonic sensor. We see the black body with two red rings on the left and right of the body with a gold mesh in the center of each ring. Some people see this as a pair of eyes.

To see a short video about how the Ultrasonic sensor works follow the link below. You will leave our site.

Illustration of Echolocation. Three pictures show the sending a sound and then the bounce back of the sound waves. Sources are a bat, dolphin and submarine.