Skip to product information
1 of 6

HC-SR04 Ultrasonic Sensor Updated 2021 Version (4 Pieces)

HC-SR04 Ultrasonic Sensor Updated 2021 Version (4 Pieces)

Regular price $12.99
Regular price Sale price $12.99
Sale Sold out
Shipping calculated at checkout.

NOTE: For large quantity orders with custom pricing please contact us directly.

This product has a tutorial


  • This is the updated 2021 version of the HC-SR04 Ultrasonic Sensor.
  • Input voltage from 2.8V to 5.5V (NEW FEATURE).
  • Interface with a microcontroller such as the Arduino Nano via four methods (see description below)
  • Measures distance between 2cm and 400cm using.
  • 4-pack
  • PTSolns Customer Support – Your satisfaction matters to us. Please contact us for troubleshooting help or any other concerns you may have.

This ultrasonic sensor is the latest version of the popular HC-SR04 package. Previous versions are outdated and not nearly as flexible as this one. What's different with this latest version? For starters, the accepted input voltage ranges from 2.8V to 5.5V. This is convenient if you want to power the sensor with a microcontroller as it will work with either a 3.3V microcontroller or a 5V microcontroller.

Unlike the previous ultrasonic sensors, which can only communicate with the microcontroller using the general purpose input/output (GPIO), this new 2021 version can communicate via four different methods:

Mode 1: GPIO


Mode 3: 1-Wire (NEW FEATURE)


The default mode is Mode 1, which is the original communication method for this device using the GPIO pins. In order to select one of the other communication modes, the user must set the corresponding M1 and M2 jumpers on the back of the component, as shown below:

Ultrasonic Sensor 2021 Version


Various tutorials outlining these different communication modes of the ultrasonic sensor, using the Arduino Nano microcontroller and the Arduino IDE software, are referenced below.

Technical Specifications

  • Operating voltage: 2.8V to 5.5V
  • Measuring distance: 2cm to 400cm
  • Measuring angle: 15 degrees
  • Current consumption: 2mA (with VCC=3.0V)
    • NOTE: Our experiments show the following current consumption. 2mA @Vcc=3.0V, 2.3mA @ VCC=3.3V, 3.6mA @ VCC=5.0V.
  • Operating frequency: 40kHz
  • Weight: 7.4g
  • PCB dimensions: 4.5cm X 2.0cm
  • Thickness: 1.5cm (not considering connecting header pins)
  • Mounting holes: 4 (grounded), 4.2cm X 1.7cm, 2mm diameter

    View full details

    Customer Reviews

    Be the first to write a review