Ultrasonic Distance Sensor

30.00 ر.س

In stock

Description

Features

  • 3.3v / 5v compatible, wide voltage level: 3.2v~5.2v
  • Only 3 pins needed, save I/O resources
  • Wide measurement range: 3cm ~ 350cm
  • Easy to use: grove connector, plug and play

Applications

  • Distance measurement
  • Ultrasonic detector
  • Proximity alarm
  • Smart car

Hardware Overview 

 

Specificationpage1image23753664

Parameter

Value/Range

Operating voltage

3.2~5.2V

Operating current

8mA

Ultrasonic frequency

40kHz

Measuring range

2-350cm

Resolution

1cm

Output

PWM

Size

50mm X 25mm X 16mm

Weight

13g

Measurement angle

15 degree

Working temperature

-10~60 degree C

Trigger signal

10uS TTL

Echo signal

TTL

Cabling & Coding

Cabling Vedio:

Connections:

Arduino

Grove-Ultrasonic Ranger

5V

Red

GND

Black

Not Conencted

White

D7

Yellow

Code:
include "Ultrasonic.h"
Ultrasonic ultrasonic(7); void setup()
{
Serial.begin(9600); }
void loop() {
long RangeInInches;
long RangeInCentimeters;
Serial.println("The distance to obstacles in front is: "); RangeInInches = ultrasonic.MeasureInInches(); Serial.print(RangeInInches);//0~157 inches Serial.println(" inch");
delay(250);
RangeInCentimeters = ultrasonic.MeasureInCentimeters(); // two measurements should keep an interval Serial.print(RangeInCentimeters);//0~400cm
Serial.println(" cm");
delay(250);
}

Reviews

There are no reviews yet.

Be the first to review “Ultrasonic Distance Sensor”

Your email address will not be published. Required fields are marked *

QR Code

QR Code