Sale!

10MM Ultrasonic Sensor, Transceiver (Price per suit 2 Pieces)

Original price was: 3,74 €.Current price is: 2,71 €. Excluding VAT

The 10mm ultrasonic sensor measures accurate distances, ideal for Arduino and robotics projects. Great for obstacle avoidance and proximity control.

Available on back-order

Domande su questo prodotto? Scrivi a Lana su WhatsApp

🎬 The product on video

Description

What it is

The 10mm ultrasonic sensor is a device that measures distance with precision, ideal for Arduino and robotics projects. This component allows for obstacle avoidance and effective proximity monitoring.

Features

  • Measures accurate distances;
  • Ideally suited for Arduino and robotics projects;
  • Great for obstacle detection and distance monitoring applications.

What it is for

This sensor can be used to build alarm systems, for example for the front door, by measuring the distance from any approaching person. It is compatible with Arduino and ESP.

Tutorial: How to use 10mm Ultrasonic

This ultrasonic sensor measures distance with precision, ideal for obstacle detection and distance monitoring projects.

What you need

  • Arduino or compatible
  • Power supply cable
  • 10kΩ resistor
  • Pair of pins to connect

Steps

  1. 1. Prepare the sensor and necessary tools.
  2. 2. Connect VCC to +5V of the Arduino.
  3. 3. Connect GND to the GND pin on the Arduino.
  4. 4. Connect TRIG to a digital pin (e.g., 9).
  5. 5. Connect ECHO to a digital pin (e.g., 10).
  6. 6. Connect the 10kΩ resistor between ECHO and GND.
  7. 7. Load the source code.
  8. 8. Check the connection and functionality.

Example code

void loop() { long duration, distance; pinMode(trigPin, OUTPUT); pinMode(echoPin, INPUT); digitalWrite(trigPin, LOW); delayMicroseconds(2); digitalWrite(trigPin, HIGH); delayMicroseconds(10); digitalWrite(trigPin, LOW); duration = pulseIn(echoPin, HIGH); distance = duration * 0.034 / 2; Serial.print(distance); Serial.println(" cm"); delay(500); }

Mini project

Build an entry door alarm system using Ultrasonic to measure distance from people.

Common mistakes

  • Connect ECHO to an analog pin.
  • Omit the 10kΩ resistor.
  • Do not check the connection before uploading the code.
  • Use non-digital pins for TRIG and ECHO.

Recommended accessories

  • Arduino Uno
  • USB cable for power supply
  • LCD display
  • 9V battery

Frequently asked questions

How can I check the connection?
Ensure that the pins are correctly connected and that the power supply is stable.

Does the sensor work with Arduino Mini?
Yes, but make sure the power supply is 5V.

Can I use an analog pin?
No, ECHO must be connected to a digital pin.

How can I improve accuracy?
Add another 10kΩ resistor between ECHO and GND.

Reviews

There are no reviews yet.

Be the first to review “10MM Ultrasonic Sensor, Transceiver (Price per suit 2 Pieces)”

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