ME007YS Waterproof Ultrasonic Sensor
SKU:SEN0312
Introduction
Ultrasonic distance sensor determines the distance to a target by measuring time lapses
between the sending and receiving of the ultrasonic pulse. ME007YS is an waterproof
ultrasoinic sensor module with 4.5m effective ranging distance. It is compatible with 5V
device like Arduino, Raspberry Pi, etc. The average current of ME007YS is only 8mA so it
can be powered by most controllers' IO port.
The ultrasonic sensor adopts closed probe of transmitter & receiver, waterproof and
dustproof, which could be well suitable for harsh and moist measuring environment. It
reserves 2.54-4P interface and adopts UART communication. ME007YS has experienced
long-term test and constant optimization so it can offer a pretty fast response time, high
stability and sensitivity, and low power consumption.
Use the sensor with Arduino controller to build up your projects, such as backing car
annunciator, obstacle avoidance robot, object approaching detection etc.
Specification
Operating Voltage: 5V
Average Current: ≤8mA
Peak Current: ≤50mA
Blind Zone Distance: 0-28cm
Ranging Distance for Flat Object: 28-450cm
Output: UART
Response Time: 100ms
Probe Center Frequency: 40K±1.0K
Operating Temperature: -15~60℃
Storage Temperature: -25~80℃
Operating Humidity: ≤80%
Operating Humidity: ≤90%
Sensing Angle: 44°
Protection Rate: IP67
Features
High Protection Rate
Strong Resistance
Stable Output
Low Power
Fast Response
High Antistatic Performance
Wide Operating Temperature
High Accuracy
Small in Size
Installation Dimension
Pinout
Label
Name
Description
1
VCC
Power Input
2
GND
Ground
3
RX
Function Pin
4
TX
UART Output
UART Output
Output Communication
When "RX" floats or input High level, the module outputs processed value, the data is
more steady, response time: 100-300ms; when input Low level, the module outputs realtime value, response time: 100ms.
UART
TTL level
UART Output Form
Data bit
8
Stop bit
1
Parity
none
Band rate
9600bps
Frame Data
Description
Byte
Header
0xFF
1 byte
DATA_H
Distance Data High 8-bits
1 byte
DATA_L
Distance Data Low 8-bits
1 byte
SUM
Checksum
1 byte
UART Output
Header
DATA_H
0xFF
DATA_L
0x07
SUM
0xA1
Note: checksum only reserves the low 8-bits of the accumulated value.
SUM=(Header+Data_H+Data_L)&0x00FF
=(0XFF + 0X07 + 0XA1)&0x00FF
=0XA7;
Copy
Distance= Data_H*256+ Data_L=0X07A1;
Equal to 1953 when converted into decimal;
Represent the current measured distance is 1953mm.
Arduino Platform
Preparation
Arduino UNO
UNO IO Sensor Expansion Board
ME007YS Ultrasonic Sensor
4P Connector
0xA7
Connection
Sample Code
/*
*@File : DFRobot_Distance_ME007YS.ino
*@Brief : This example use ME007YS ultrasonic sensor to measure distance
* With initialization completed, We can get distance value
*@Copyright [DFRobot](http://www.dfrobot.com),2016
* GUN Lesser General Pulic License
*@version V1.0
*@data 2019‐8‐28
*/
#include
SoftwareSerial mySerial(11,10); // RX, TX
unsigned char data[4]={};
float distance;
void setup()
{
Serial.begin(57600);
mySerial.begin(9600);
}
void loop()
{
do{
for(int i=0;i
很抱歉,暂时无法提供与“SEN0312”相匹配的价格&库存,您可以联系我们找货
免费人工找货- 国内价格 香港价格
- 1+188.494921+22.75820
- 3+167.436653+20.21570
- 国内价格 香港价格
- 1+121.327321+14.64863