Page 1
Ultrasonic Distance Sensor EM400-UDL User Guide...
Page 2
In order to protect the security of the device, please change the device password when first configuration. Default password is 123456. The device is not intended to be used as a reference sensor, and Milesight won’t should responsibility for any damage which may result from inaccurate readings. ...
1.1 Overview EM400-UDL is a designed non-contact ultrasonic distance sensor. With this low power consumption technology, EM400-UDL can work up to 10 years with two 9000 mAh batteries. With multiple probes optional and different detecting ranges, it can satisfy different requirements.
2.2 Hardware Overview 2.3 Dimensions (mm) 2.4 Power Button EM400-UDL can be switched on/off via NFC. Besides, users can use power button to switch on/off and reset the device manually. Function Action LED Indication Switch On Press and hold the button for more than 3 seconds.
4.1 NFC Configuration EM400-UDL can be configured via NFC. 1. Download and install “Milesight ToolBox” App from Google Play or App Store. 2. Enable NFC on the smartphone and open “Milesight ToolBox” App. 3. Attach the smartphone with NFC area to the device to read the basic information.
2) If the smartphone fails to read/write configurations via NFC, keep the phone away and back to try again. 3) EM400-UDL can also be configured by dedicated NFC reader provided by Milesight IoT. 4.2 Basic Settings Go to Device > Setting > General Settings to change the reporting interval, etc.
Positioning Enable GNSS positioning. When the device is on motion status, it will only Settings upload positioning data instead of distance data. The duration of When device is detected to move beyond this duration, it will upload a Motion GNSS data packet. The duration of When device is detected to stop moving beyond this duration, it will upload stationary...
Page 9
Parameters Description Device EUI Unique ID of the device which can also be found on the label. App EUI Default App EUI is 24E124C0002A0001. Application Port The port used for sending and receiving data, default port is 85. Join Type OTAA and ABP mode are available.
Page 10
If frequency is one of CN470/AU915/US915, enter the index of the channel that you want to enable and make them separated by commas. Examples: 1, 40: Enabling Channel 1and Channel 40 1-40: Enabling Channel 1 to Channel 40 1-40, 60: Enabling Channel 1 to Channel 40 and Channel 60 All: Enabling all channels Null: Indicates that all channels are disabled Spread Factor...
1) Please contact sales for device EUI list if there are many units. 2) Please contact sales if you need random App keys before purchase. 3) Select OTAA mode if you use Milesight IoT cloud to manage devices. 4) Only OTAA mode supports rejoin mode.
Import the client key. Client Key 4.4 Advanced Settings 4.4.1 Calibration Settings Go to Device > Settings > Calibration Settings to enable calibration. EM400-UDL supports two calibration types. Numerical Calibration: users can define calibration value to correct every distance. ...
Go to Device > Setting > Threshold Settings to enable the threshold settings and input the distance threshold. EM400-UDL will detect whether the distance reaches the threshold according to collecting interval. If threshold is triggered, it uploads the current data once instantly.
2) Only Android version ToolBox supports the upgrade feature. 4.5.2 Backup EM400-UDL support configuration backup for easy and quick device configuration in bulk. Backup is allowed only for devices with the same model and frequency band. 1. Go to Template page on the App and save current settings as a template. You can also edit the template file.
Note: Slide the template item left to edit or delete the template. Click the template to edit the configurations. 4.5.3 Reset to Factory Default Please select one of following methods to reset device: Via Hardware: Hold on power button (internal) for more than 10s. Via ToolBox App: Go to Device >...
5. Installation 1. Drill two holes on the container cover according to the location of device mounting holes. 2. Put the device under container cover and align the holes in order to perfectly screw the bolts into the holes from the other side of the cover. Besides, the device can also be fixed by two M4 mounting screws and wall plugs.
Do not install the ultrasonic sensor above the influent stream to ensure the measured surface rather than the incoming stream. 6. Communication Protocol For decoder examples please find files on https://github.com/Milesight-IoT/SensorDecoders. 6.1 LoRaWAN Version ® All data are based on following format (HEX):...
Page 18
00 -Alarm dismiss 01 -Alarm Distance (2 Bytes) + Alarm Status (1 Byte) Distance: unit -- mm 82(Distance) Alarm Status: 00 -Alarm dismiss 01 -Alarm Examples: 1. Device information: report once whenever join the network. ff0bff ff0101 ff166329c42903640033 ff090100 ff0a0101 ff0f00 Channel Type Value...
Type Value Temperature: 22 01 =>01 22 = 290 * 0.1 = 29°C (Temperature) Alarm Status: 01= Alarm 6.1.2 Downlink Commands EM400-UDL supports downlink commands to configure the device. Application port is 85 by default. Channel Type Description 10 (Reboot)
Channel Type Value 10 (Reboot) ff (Reserved) 3. Enable “Tilt & Distance Switch” feature. ff3e01 Channel Type Value 3e (Set Tilt & Distance Switch) 01 = Enable 4. When the distance is below 1 m or above 3 m, the sensor will trigger threshold alarm. ff06 8c e803 b80b 0000 0000 Channel Type...
Page 21
Example: 02 0001 005f 00 0000 01 30313031 30313030 36373438443131323930313230303033 383638353038303631393234353133 343630303833383833383036363836 3839383630346238313032326330343536363836 10 000E 01750103677D000482FDFF050000 Type Content Start 0001 Packet Length 00 5f=95 bytes FLAG Frame Counter 0000 Protocol Version 01=V1 Software Version 30 31 30 31 => 0101=V1.1 Hardware Version 30 31 30 30 =>...
Page 22
Temperature (2 Bytes) + Alarm Status(1 Byte) Temperature: unit -- °C 67(Temperature) Alarm Status: 00 -Alarm dismiss 01 -Alarm Distance (2 Bytes) + Alarm Status (1 Byte) Distance: unit -- mm 82(Distance) Alarm Status: 00 -Alarm dismiss 01 -Alarm Examples: 1.
(Temperatu : FFFFFFFF = 29 °C 20=unknown 01= Alarm 6.2.3 Downlink Commands EM400-UDL supports downlink commands to configure the device. Note that it can only receive downlink commands within the 10s after sending uplink packets. Channel Type Description 10 (Reboot)
Need help?
Do you have a question about the EM400-UDL and is the answer not in the manual?
Questions and answers