2 x HC-SR04 Ultrasonic Distance Measuring Sensor Modules for Arduino

£3.95 Buy It Now, FREE Shipping, 30-Day Returns, eBay Money Back Guarantee
Seller: karens_e-shop ✉️ (3,157) 100%, Location: PETERSFIELD, GB, Ships to: WORLDWIDE, Item: 282666125383 2 x HC-SR04 Ultrasonic Distance Measuring Sensor Modules for Arduino.

 

HC-SR04 Ultrasonic Distance Measuring Sensor Module

 

These easy to use ultrasonic distance measuring sensor modules allow you to use your Arduino development board to determine precise distances up to 400cm. Applications are wide-ranging, but have significant utility for robotics projects where obstruction detection and distance measurement is vital.  Please see instructions and further information below.

 

Many thanks for looking and don't forget to check out my other items!

 

 

SPECIFICATIONS

 

module

HC-SR04

 

Module DIMENSIONS

45.0mm x 20.0mm x 15.0mm

 

WEIGHT

8g

 

working Voltage

5v

 

pin pitch

2.54mm

 

detection distance

2cm – 400cm

 

precision

Up to 0.3cm

 

static current

Less than 2mA

 

Input trigger signal

10us TTL impulse (5v)

 

echo output signal

TTL PWL signal (high level 5v, low level 0v)

 

sensor angle

+/-15 degrees

 

 

 

WHAT’S INCLUDED?

 

2 x HC-SR04 Ultrasonic Distance Measuring Sensor Modules

 

Please Note : Module markings, detailed component layout and colour may sometimes slightly vary.  I have included examples of the different versions which I supply in my listing photos.  All versions do the same job just as well, they just look slightly different!

 

 

 

 

INSTRUCTIONS

 

Recent eBay policy changes prevent me from including links in this listing to external sites where you can find useful information and download tested code libraries and drivers for Windows and the Apple Mac.  However, in compliance with eBay’s new policy, I now provide full details of these links in your order confirmation email, which will be sent within 2 working days of purchase.

 

To operate this module, you will need to download the ‘Arduino IDE ’.

 

Prior to powering up the development board and HC-SR04 sensor module, make the following connections (I have tested these on the Arduino Uno, Nano, Pro-Mini and Mega 2560):

 

HC-SR04 Pin

Arduino Pin

Use

Vcc

5V

Power Supply

Echo

D7

Echo Pin

Trig

D8

Trigger Pin

Gnd

GND

Ground

 

 

Thereafter, connect power up the development board and HC-SR04 sensor module, upload your code, open your Arduino IDE Serial Monitor and watch and see!

 

Operation : The IO trigger of the sensor module is initiated by a 10us high level (5v) start pulse sent from the Arduino development board to the sensor module Trigger Pin.   The sensor module ultrasonic transducer then sends an eight 40kHz square waves chirp and automatically detects whether the returning echoes are received.  Whilst echoes are returning to the sensor module, the sensor module Echo Pin remains at a high level (5v), thereby providing an echo time pulse.  The duration of this high level output continuing is used by the Arduino development board to calculate the distance travelled. If no obstacle is detected, the sensor module Echo Pin will give a 38ms high (5v) level signal.

 

 

 

 

 

 

 

 

EXAMPLE ARDUINO CODE

 

The following Arduino code example uses the above wiring connections and provides a distance measurement in the Arduino IDE Serial Monitor:

 

#define echoPin 7 // Echo Pin

#define trigPin 8 // Trigger Pin

#define LEDPin 13 // Onboard LED

 

int maximumRange = 450; // Maximum range needed.

int minimumRange = 0; // Minimum range needed.

long duration, distance; // Duration used to calculate distance.

 

void setup() {

  Serial.begin (9600);

  pinMode(trigPin, OUTPUT);

  pinMode(echoPin, INPUT);

  pinMode(LEDPin, OUTPUT); // Use LED indicator (if required).

}

 

void loop() {

// The following trigPin/echoPin cycle is used to determine the distance of the nearest object by bouncing soundwaves off of it:

  digitalWrite(trigPin, LOW);

  delayMicroseconds(2);

 

  digitalWrite(trigPin, HIGH);

  delayMicroseconds(10);

 

  digitalWrite(trigPin, LOW);

  duration = pulseIn(echoPin, HIGH);

 

  distance = duration/58.2; // Calculates the distance (in cm) based on the speed of sound (Use 148 to calculate distance in inches).

 

  if (distance >= maximumRange || distance <= minimumRange){

  // Send a negative number to computer and Turn LED ON to indicate "out of range":

  Serial.println("-1");

  digitalWrite(LEDPin, HIGH);

  }

  else {

  // Send the distance to the computer using Serial protocol, and turn LED OFF to indicate successful reading:

  Serial.println(distance);

  digitalWrite(LEDPin, LOW);

  }

 

  delay(50); // Delay 50ms before next reading.

}

 

 

 

 

ABOUT ME

 

I have been an eBay member and United Kingdom based seller since 2011.  All my products listed are in stock and sent directly from the United Kingdom.

 

Customer service is of high importance to me and I greatly value my reputation on eBay.  If, for any reason, there is an error with your purchase or your item is delayed, then please contact me so that your issue can be dealt with accordingly.  Please direct all questions through the eBay messaging service to ensure that you have a timely response which will usually be the same day, if not within 24 hours.

 

Many thanks for looking at my items for sale and I hope you are satisfied with your purchase.

 

Karen Watson

 

 

 

SHIPPING

 

Once the payment has been processed, your order will be dispatched within 2 working days.  However, the majority of orders received will be processed within 24 hours (Monday to Thursday).  Orders received after 12:30 (UK time) on Fridays and all weekend orders will be dispatched on the next available working weekday.

 

Please note that all orders will receive a confirmation email within 2 working days.  This email will also contain, where necessary, URL links to recommended drivers, Arduino Libraries and tutorials to enable you to get the best out of your purchase.

 

All items will be dispatched by the Royal Mail.

Please Note : Buyer is responsible for paying any customs duties/fees and import VAT/Goods & Services Tax.

 

 

 

WARRANTY

 

I am confident that you will not wish to return your item as every care has been taken to ensure the item arrives exactly in line with my own high expectations.  However, for peace of mind I have a 30-day guarantee on the return of all purchases; simply return the purchased item within 30 days for a full refund.  A full refund will be offered to all returned goods, excluding the original postage costs unless the item is faulty (Please Note : This does not include issues relating to damage caused by mistreatment or misuse).

 

 

 

RETURNS

 

Here are the simple steps to requesting a return:  

1. Please contact me via the eBay Messaging System prior to initiating a formal eBay Return. I will endeavour to respond to you within 2 working days. In accordance with eBay's policy on Buyer and Seller communications, please do not rely on external email.

2. All returns must be authorised prior to posting back to me. Please note by contacting me first on eBay messaging, I may be able to help you resolve the issue, thereby avoiding any additional hassle. 

3. Once authorised, return the merchandise within a 30-day time frame from your purchase date (Please Note : Items sent and stamped after the 30-day period has expired may be refused).

4. Include the item(s) and all accessories in the original (unused) condition, in which they were received, and enclose details of your eBay User Id and Item Number.

5. It is recommended that the return package has a tracking number, should it become mislaid in the post, which can occur from time-to-time.

 

 

 

FEEDBACK

 

Please leave me a 5 Star Positive feedback if you are happy with my service and product as it helps me to grow and raise my service standards.  I would like all of my customers to be happy with their items and the service provided by my store.  I am willing to address all issues as long as they have been brought to my attention.

 

If you intend to leave a Negative / Neutral Feedback or low scores for any of the categories in the feedback area, please make sure you contact me first to provide me with a chance to resolve any issues which you might have with your item.

 

  • Condition: New
  • Modified Item: No
  • Country/Region of Manufacture: Unknown
  • Custom Bundle: No
  • Type: HC-SR04
  • MPN: Karen032
  • Brand: Unbranded

PicClick Insights - 2 x HC-SR04 Ultrasonic Distance Measuring Sensor Modules for Arduino PicClick Exclusive

  •  Popularity - 14 watchers, 0.0 new watchers per day, 2,379 days for sale on eBay. Super high amount watching. 168 sold, 8 available.
  •  Best Price -
  •  Seller - 3,157+ items sold. 0% negative feedback. Great seller with very good positive feedback and over 50 ratings.

People Also Loved PicClick Exclusive