Back to Raspberry PlugITs content page
The GPIO Ultrasound sensor plugIT allows to read the value of an ultra sound sensor as the HC-SR04 and to define a trigger distance.

Parameters | 
    |
1 | 
      Raspberry PI GPIO pin number connected on the "Trigger" pin of the module.  | 
    
2 | 
      Raspberry PI GPIO pin number connected on the "Echo" pin of the module.  | 
    
3 | 
      Sets the trigger distance for the in and out events.  | 
    
Events | 
    |
In | 
      Sent when the distance less than or equal to the set value.  | 
    
Out | 
      Sent when the distance is again greater than the set value.  | 
    
Current distance | 
      Sends current distance in the link parameter.  | 
    
