SEN0208

SEN0208 Datasheet


Weather proof Ultrasonic Sensor with Separate Probe SKU SEN0208

Part Datasheet
SEN0208 SEN0208 SEN0208 (pdf)
PDF Datasheet Preview
Weather proof Ultrasonic Sensor with Separate Probe SKU SEN0208

Contents
• 1 Introduction
• 2 Specification
• 3 Board Overview
• 4 Tutorial

Fundamental Principles Requirements Connection Diagram Sample Code
• 5 FAQ

Introduction

Specification
• Operating Voltage 5V DC
• Static Current 5mA
• Operating Current 30mA
• Operating Range 25cm ~ 4.5m
• Resolution 0.5cm
• Detecting Angle < 70°
• Operating Temperature -10 ~ 70°C
• Cable Length M
• Dimension 41mm x 28.5mm/1.61*1.12 inches
• Weight 54g

Board Overview

LABEL 1 2 3 4

NAME 5V Trig

Echo GND

FUNCTION Power Input + Trigger Signal Echo Signal

Tutorial

This tutorial will demonstrate how to use the Weather-proof Ultrasonic Sensor to measuring distance.

Fundamental Principles

A short ultrasonic pulse is transmitted at the time 0, reflected by an object. The sensor receives this signal and converts it to an electric signal. The next pulse can be transmitted when the echo fades. This time period is called cycle period. The recommend cycle period should be no less than 50ms. If a 10us width trigger pulse is sent to the signal pin, the ultrasonic module will output eight 40kHz ultrasonic signals and detect the echo back. The measured distance is proportional to the echo pulse width and can be calculated by the formula above. If no obstacle is detected, the output pin will give a 38ms high level signal.

Requirements
• Hardware Arduino UNO x1 Battery Capacity Indicator x1
• Software


Arduino IDE V1.6.9 Click to Download Arduino IDE from

Connection Diagram

Sample Code
1 #define ECHOPIN 2// Pin to receive echo pulse 2 #define TRIGPIN 3// Pin to send trigger pulse 3 void 4 Serial.begin 9600 5 pinMode ECHOPIN, INPUT 6 pinMode TRIGPIN, OUTPUT 8 void 9 digitalWrite TRIGPIN, LOW // Set the trigger pin to low for 2uS 10 delayMicroseconds 2 11 digitalWrite TRIGPIN, HIGH // Send a 10uS high to trigger ranging 12 delayMicroseconds 10 13 digitalWrite TRIGPIN, LOW // Send pin low again 14 int distance = pulseIn ECHOPIN, HIGH,26000 // Read in times pulse 15 distance= distance/58 16 Serial.print distance 17 Serial.println " cm" 18 delay 50 ;// Wait 50mS before next ranging 19

There are no questions about this product yet. If you have any problems or suggestions, you are welcome to email us or post on the DFRobot forum!

For any questions/advice/cool ideas to share, please visit the DFRobot Forum or email

Powered By DFRobot 2008-2017
More datasheets: FDH15N50 | DDM-09P-209G-TR | DDM-37P-137G-TG30 | 44203 | S1703B-50.0000(T) | PWARD1C1NWSP | PWARC1CWSP | PWARD1C1WWSP | PWARC1WWSP | PWARC1NWSP


Notice: we do not provide any warranties that information, datasheets, application notes, circuit diagrams, or software stored on this website are up-to-date or error free. The archived SEN0208 Datasheet file may be downloaded here without warranties.

Datasheet ID: SEN0208 509109