wireless sensor| ultrasonic sensor | IOT sensor

Smart Cities Solution Supplier CNDingtek

Home > Product > Density Sensor
  1. DM500 ultrasound density sensor water fuel diesel oil mixer liquid ultrasonic high stability density digital meter
  2. DM500 ultrasound density sensor water fuel diesel oil mixer liquid ultrasonic high stability density digital meter

DM500 ultrasound density sensor water fuel diesel oil mixer liquid ultrasonic high stability density digital meter

1 Overview The DM500 is one type of liquid density sensors which calculate the density from ultrasonic wave speed in the liquid. As it is based on the principle of speed related to the densi

  1. Detailed information

1 Overview

 

The DM500 is one type of liquid density sensors which calculate the density from ultrasonic wave speed in the liquid.

 

As it is based on the principle of speed related to the density of media. So it is applicable for the liquid which is with known value of referenced density. It is compact design with small dimension and it is easy to install. It is not necessary to be vertical in the liquid. Only if it is in the liquid, it is enough.

 

Furthermore, it is applicable for customized design, such as different mechanic structure, measurement range, and other OEM/ODM business.

2 Specification

 

Measurement

0.1~2g/cm3



Range







Resolution

0.01g/cm3




Drift per year

±0.5%FS




Power Supply

12-24V DC



Output Signal

RS232/RS485



Working

-40 ~ 85, 595%RH


Environment






Protection Rank

IP68  for

the

transducer,  IP66  for


controller box






Wireless

Optional

for

zigbee,  wifi,  GPRS,


3G(UMTS).






 

3 Principle

 

For the DM500, the sensor directly measure the ultrasonic wave speed v1 in current media.Then calculate the rate of v1 to reference media ultrasonic wave speed v0.Finally draw out the density of current media p1 based on the referenced media density p0. Formula is

 

p1:p0=(v1:v0)^2.

4 Interface Definition

 

 

Pin 1: Red Line: V+,

Pin 2: Blue Line: RS485 A+/ RS232 TX

 

Pin 3: Black Line: GND

Pin 4: Yellow Line: RS485 B-/ RS232 RX

 

If there is label of wire definition on the device, please act as the label said!

 

5 Part List

 

The package include two parts, one is the ultrasonic transducer which is need to be put into the liquid to be measured, the other is the controller box.


 

6 Quick Start

 

6.1 Install Density Reading Software

 

 

https://yadi.sk/d/kQHpvuhz3JKDrg is the software for density configuration and reading. User can download to install it.

 

Of course, user can send command according to the protocol to configure and read sensor. Not necessary to use the density configuration and reading software.

 

6.2 Set Current Speed as reference speed

 

 

Connect sensor with PC and power supply according to Part 4.

Put ultrasonic transducer into liquid. And power on the sensor.

Click button of set current speed as reference. The sensor will use the current speed as referenced speed v0. (See part 3 for the principle and meaning of v0 v1 p0 p1).

 

If command send successfully, the sensor will reply the liquid density: xx.

6.3 Set referenced density

 

 

Input the density value for the referenced liquid. Click send button. The sensor will use the current media as referenced liquid density p0.

 

 

 

6.4 Read density

 

 

Put the ultrasonic transducer into the liquid to be measured, click read density button. The sensor will output the density of current liquid.

Notes:

Please wait for >=5 seconds after moving from referenced media to the media to be measured.

 

If the ingredient of the liquid to measured is significantly different from the referenced liquid. The output of density maybe different from real data. E.g, 5% ethanol with water can be used as reference for media 20% or 50% ethanol. But 5% ethanol with water can not be used as reference to measure diesel with water.

 

7 Protocol

 

7.1 Com Port Setting

 

 

Baudrate115200

 

Data bit8


Stop bit1

 

Check SumNone

 

  • is reserved for this protocol, it is specially used to splitter for the parameter. In user data, it should not be used as parameter.

     

    7.2 Packet Format

     

     

     

     

1

2

2

n

2

2

Header

Command

ID

Content

Checksum

Tail

 

Header/Tail

 

Header 1 byte$ in ascii and in hex 0x24 for the request to sensor. And * in ascii and in hex 0x2A for the reply from sensor. Tail 2 byte, in hex 0x0D 0A.

 

Command

 

Refer to command list at Part 3. For command in reply is same as the command in request.

 

ID

01~FF

Content

0~32 bytes.

Checksum

 

Sum of bytes from header to id, then select the low 8 bit, finally convert to ASCII and show in Hex. E.g. If sum is 0x0356, then low 8 bit is 0x56, to ascii, the value is 56(0x35 0x36 in Hex).

Example

 

$RD011B Read Density

 

In hex 0x 24 52 44 30 31 31 42 0D 0A

0x 24 + 55 + 41 +30 + 31 = 0x 11B , the low byte is 0x1B, then checksum is 1B in ascii, in hex 0x31 42.

 

Notes:

For the automatic update version, the sensor automatically upload.

 

7.3 Command List

 

 

 

Command

Function

Scope





Standard Version





SN

Set Calibration

RS

 

SS

Set reference Speed

RS




SD

Set reference Density

RS




SI

I

RS


Set  D


SL

Set Liquid Type

RS




RD

Read Density

RS

 

Notes: SMS: applicable for SMS message. RS: applicable for RS232/485. Wireless:applicable for Wifi/zigbee/GPRS/3G.

 

7.4 Detailed Command

 

 

For the DM500, the sensor directly measure the ultrasonic wave speed v1 in current media.Then calculate the rate of v1 to reference media ultrasonic wave speed v0.Finally draw out the density of current media p1 based on the referenced media density p0. Formula is

 

p1:p0=(v1:v0)^2.

 

 

7.4.1 Set Calibration

 

 

Set current media as referenced media, so the speed in current media will be

 

used as v0. The density for this current media will be referenced density. If

not specify the value, it will be treated as 1. In another word, this command

should be done at the reference media.

Request from computer to sensor:

ASCII :  $SN0126

Hex: 24 53 4E 30 31 32 36 0D 0A

 

Reply from sensor

 

Liquid Speed: 1.519

 

 

 

7.4.2 Set Reference Speed

 

 

Set speed of reference media v0. Usually user do not know the reference

speed, please us the Set Calibration command at the reference media and Set

Reference Density command.

Request from computer to sensor:

ASCII : $SS0101.48056

 

Hex : 24 53 53 30 31 30 31 2E 34 38 30 35 36 0D 0A

Reply from sensor

Liquid Speed: 1.480

 

Unit is km/s.

 

7.4.3 Set Reference Density

 

 

Set reference density p0 value. Unit is g/cm^3. This command can be done in any media. In another version, it is not necessary to use this command in the referenced media.

 

Request from computer to sensor:

ASCII : $SD0101.1113E

Hex : 24 53 44 30 31 30 31 2E 31 31 31 33 45 0D 0A

Reply from sensor:

Liquid Density:  1.111

Unit is g/cm^3.

 

7.4.4 Set ID

 

 

Request from computer to sensor:

ASCII : $SI0100000142

Hex : 24 53 49 30 31 30 30 30 30 30 31 34 32 0D 0A

Reply from sensor:

 

*SI01OKOKOKEF

01 is sensor id, 00 is filler to reach 6 bytes, 01 is the new id, id range is 00~FF.

 

7.4.5 Set Liquid Type

 

 

Request from computer to sensor:

ASCII : $SL0100000347

Hex : 24 53 4C 30 31 30 30 30 30 30 33 34 37 0D 0A

Reply from sensor:

*SL010000034D

01 is sensor id, 00000 is filler to reach 6 bytes, 3 is the liquid type.

 

1: water, 2: gasoline, 3: diesel


7.4.6 Read Density

 

 

Read current media density.

Request from computer to sensor:

ASCII : $RD011B

 

Hex : 24 52 44 30 31 31 42 0D 0A

Reply from sensor:

ASCII: *RD0101.11143

Hex: 2A 52 44 30 31 30 31 2E 31 31 31 34 33 0D 0A Density is 1.111, Unit is g/cm^3.

 

For some version, it is automatic upload *RDxx.

 

 

8 Naming Rules & Clarification

 

 

DM500 Ultrasonic Density Sensor

 

Output

 

RS485

 

CRS232 Wireless

 

W Wifi

 

Z zigbee

 

G GPRS

 

U 3G(UMTS)

 

9 Video

 

DM500 ultrasonic density sensor test with liquids https://www.youtube.com/watch?v=uz1Xwas3ZGs&t=96s

 

DM500 Test in Beer

https://www.youtube.com/watch?v=OWOpfj-5tPI&t=35s