www.dragino.com 
LSN50 LoRa Sensor Node User Manual    26 / 60 
2.4.7  Distance Reading 
Refer Ultrasonic Sensor section.  
 
2.4.8  Ultrasonic Sensor 
The LSN50 v1.5 firmware supports ultrasonic sensor (with AT+MOD=2) such as SEN0208 
from DF-Robot. This Fundamental Principles of this sensor can be found at this link: 
https://wiki.dfrobot.com/Weather_-
_proof_Ultrasonic_Sensor_with_Separate_Probe_SKU___SEN0208 
 
The LSN50 detects the pulse width of the sensor and converts it to mm output. The accuracy 
will be within 1 centimeter. The usable range (the distance between the ultrasonic probe 
and the measured object) is between 24cm and 600cm. 
 
The picture below shows the connection:  
 
 
 
Connect to the LSN50 and run AT+MOD=2 to switch to ultrasonic mode (ULT).  
The ultrasonic sensor uses the 8
th
 and 9
th
 byte for the measurement value.  
 
Example:  
Distance:  Read:0C2D(Hex) = 3117(D)  Value:  3117 mm=311.7 cm