DYP-ME003 人体感应模块

advertisement
Shenzhen DYP Sensor CO.,LTD
Specializes in developing sensor
Electrostatic Ultrasonic Ranging Sensor
DYP-ME007Y50H
Overview:
DYP-ME007Y50H is a high-power ultrasonic,which is designed by the
electrostatic exchange energy ultrasonic sensor.Measuring distances
could be up to 10 m,with temperature output. It has another significant
feature, that’s the detection angle of ultrasonic only 15°(and most
of ultrasonics are 60°, and the echo is not strong), echo signal with
a digital gain,which could be adjusted by automatically. This could
improve the angular resolution of the ultrasonic measurement and it is
a prime choice in robots and other field of applications barrier
navigation scheme.
Performance introduction:
• Operating power supply: operating voltage 5V;
• Operating current: ordinary current 20mA,instantaneous current
during sending 1A;
• Pattern of interface: TTL pulse width of level,serial interface of
UART and interface of RS485;
• Operating frequency: 49.5KHZ. Direction angle of probe: 15 °
(-6dB);
• Distance measurement of ultrasonic: 30CM to 10.5M,and the resolution
is 1mm;
• Pattern of operating: single-echo and multi-echo;
• Size of module: length - 50mm, width - 50mm;
• Range of operating temperature: 0℃~+60℃;
Features:
•
•
•
•
•
•
Small size and easy to use;
Low voltage and low power consumption;
Wide measuring range;
High accuracy in measuring;
Small blind;
Simple in using;
Web: http://www.dypsensor.com
Tel: 86-0755-33867781
Fax: 86-0755-33867780
1
Shenzhen DYP Sensor CO.,LTD
Specializes in developing sensor
Product application:
•
•
•
•
•
•
Applies to measuring distance;
Measuring the spacing between objects;
Obstacle avoidance of SPC car;
Obstacle avoidance of Robot;
Instrument of teaching;
Security, industrial control;
Angles measuring:
direction angle:15 ° (-6dB)
Definition of TTL trigger mode pin:
When you choose to use the interface of TTL,you had to disconnect the
S1,S2,S3,S4,as follows:
Junction of output function
Web: http://www.dypsensor.com
Tel: 86-0755-33867781
Fax: 86-0755-33867780
2
Shenzhen DYP Sensor CO.,LTD
Specializes in developing sensor
a. +5V: Power Supply: 5V; DC: 1A;
b. GND: Power Supply is negative;
c. TX: the outputting high level pulse width from output pin,which
represents distance. 1000us is equal to 17 cm;
d. RX: RX start triggering pin, high level trigger, the width of high
level is not less than 50 ms;
Diagram of timing as following:
Serial interface of UART and the interface of RS485 definition:
When you choose the serial interface of UART, you had to short the S1
and then disconnect the S2,S3,S4;
And when you choose the interface of RS485,you had to short the
S1,S2,S3,S4;
The formats of communication command frame are:
Communication parameters: baud rate: 9600 bps;
Data bit: 8-bit;
Web: http://www.dypsensor.com
Tel: 86-0755-33867781
Fax: 86-0755-33867780
3
Shenzhen DYP Sensor CO.,LTD
Specializes in developing sensor
Stop Bit: 1 bit;
Check bit: None;
Flow control: None;
Reading data:
The command of reading distance data:0x01
frame head
address
command
sending
0x55
0xaa
0x01
0x01
return
0x55
0xaa
0x01
0x01
data
NC
check sum
NC
Data H Data L
checksum
checksum
For example:
The address of ultrasonic module is 0x01, and sends out by the host
0x55 0xaa 0x01 0x01 the checksum
Check sum = (frame head + user address + command) & 0x00ff
=(0x55+0xaa+0x01+0x01) &0x00ff
=0x01
The return command will be:
0x55 0xAA 0x01 0x01 0x02 0x33 checksum
Check sum = (frame head + user address + command +data) & 0x00ff
=(0x55+0xaa+0x01+0x01+0x02+0x33) &0x00ff
=0x36
0x02 stands for the high data of distance;
0x33 stands for the low data of distance;
The distance value is 0x0233, which is converted into hexadecimal
is 563. (the unit is mm )
Web: http://www.dypsensor.com
Tel: 86-0755-33867781
Fax: 86-0755-33867780
4
Shenzhen DYP Sensor CO.,LTD
Specializes in developing sensor
Reading the data of temperature:
the command of reading the data of temperature::0x02
frame head address
command
sending
0x55
0xaa
0x01
0x02
return
0x55
0xaa
0x01
0x02
data
NC
check sum
NC
Data H Data L
checksum
checksum
For example:
The address of ultrasonic module is 0x01, and sends out by the host
0x55 0xAA 0x01 0x02 the checksum
Check sum = (frame head + user address + command) & 0x00ff
=(0x55+0xaa+0x01+0x02) &0x00ff
=0x02
the return command will be:
0x55 0xAA 0x01 0x02 0x00 0x23 checksum
Check sum = (frame head + user address + command +data) & 0x00ff
=(0x55+0xaa+0x01+0x01+0x00+0x23) &0x00ff
=0x25
When the temperature is negative,the highest of data_H is 1;
For example:
0x80 is the high temperature data
0x0A is the temperature low data
The hexadecimal of temperature value convert to temperature is
-10℃, and the unit is ℃;
0x00 stands for the high temperature data
0x23 stands for the low temperature data
The hexadecimal of temperature value convert to temperature is
35 ℃, and the unit is ℃;
Web: http://www.dypsensor.com
Tel: 86-0755-33867781
Fax: 86-0755-33867780
5
Download