pyupm_ultrasonic module¶
-
class
pyupm_ultrasonic.
UltraSonic
(pin)[source]¶ Bases:
object
API for Grove Ultrasonic Ranger.
ID: ultrasonic
Name: Ultrasonic Proximity Sensor
Category: sound
Manufacturer: seeed
Link:http://wiki.seeed.cc/Grove-Ultrasonic_Ranger/
Connection: gpio This Grove Ultrasonic sensor is a non-contact distance measurement module which is compatible with the Grove system. It is designed for easy modular project usage with industrial performance. Detection ranges from 3 cm (1.2”) to 4 m (13‘1.5”) and works best when the object is within a 30 degree angle relative to the sensor.
C++ includes: ultrasonic.hpp