SKU: SENS-4166
📋 GST Invoice Available

GY-US42 Ultrasonic Distance Measurement Sensor Module for Pixhawk & APM - I2C/UART/PWM

₹989.00 (Inclusive of all taxes)
Out of Stock

The GY-US42 is a multi-interface ultrasonic distance sensor module designed for direct compatibility with Pixhawk and APM flight controllers. Operating from 3-5V, it provides stable measurements from 20 cm to 7.2 m with 1 cm resolution via I2C, UART (TTL), or PWM output for drone altitude hold, robotics, and embedded systems.

Features

  • Wide 0.2 m to 7.2 m (20 cm to 720 cm) sensing range with 1 cm resolution.
  • Triple-interface flexibility: I2C, UART (TTL), and PWM output for easy system integration.
  • Optimized for Pixhawk and APM flight control ecosystems for altitude hold and obstacle avoidance.
  • Low 9 mA operating current and 3-5V supply range for power-sensitive embedded applications.
  • Robust -20°C to +65°C operating temperature range for indoor and outdoor use.

Out of stock

Description

The GY-US42 ultrasonic distance sensor module employs high-frequency sound waves to deliver precise, non-contact ranging. Its integrated signal processing provides stable readings even in varied environmental conditions, making it suitable for dynamic applications like drone navigation and robotic sensing. The module outputs distance data through user-selectable I2C, UART, or PWM interfaces, offering direct compatibility with a wide range of microcontrollers and single-board computers.

Engineered for reliability, the sensor features a compact PCB-mount design with a consistent 15 Hz update rate, balancing response speed with measurement stability. Its wide operating voltage and temperature range ensure consistent performance in both controlled laboratory settings and demanding field deployments, from aerial vehicles to automated guided systems.

Key Features

  • Extended 7.2-meter maximum range capability for medium-distance applications.
  • High 1 cm resolution provides precise distance data for fine control and positioning.
  • Multi-protocol communication (I2C, UART, PWM) enables flexible integration with diverse control architectures.
  • Low-power design with typical 9 mA draw maximizes battery life in mobile and airborne platforms.
  • Wide -20°C to +65°C operational temperature ensures reliability in varying climatic conditions.
  • Compact 28mm x 21mm footprint allows for easy installation in space-constrained designs.
  • Direct plug-and-play compatibility with popular Pixhawk and APM autopilot ecosystems.

Applications

  • Drone and UAV altitude hold, terrain following, and landing assistance for Pixhawk/APM controllers.
  • Robotic obstacle detection and avoidance for autonomous mobile robots (AMRs) and AGVs.
  • Precise non-contact level sensing in tanks, bins, and silos for industrial monitoring.
  • Proximity and presence detection for automated gates, doors, and security systems.
  • Embedded system ranging for interactive exhibits, interactive art, and maker projects.

Technical Specifications

Model NumberGY-US42
Sensor TypeUltrasonic Ranging
Measurement Range0.2 m – 7.2 m
Resolution1 cm
Update Rate15 Hz
Output InterfacesI2C, UART (TTL), PWM
Operating Voltage3 V – 5 V DC
Operating Current9 mA (typical)
Operating Temperature-20°C to +65°C
Storage Temperature-40°C to +85°C
Dimensions (L x W)28 mm x 21 mm
Weight5 g

Frequently Asked Questions

What microcontrollers or flight controllers is the GY-US42 compatible with?

The GY-US42 is designed for direct plug-and-play compatibility with Pixhawk and APM flight controllers, commonly used in drones and UAVs. It is also broadly compatible with any 3.3V or 5V logic microcontroller (like Arduino, ESP32, STM32) that supports I2C, UART, or PWM communication, thanks to its selectable output interfaces.

How do I select between the I2C, UART, and PWM output modes?

The output mode is typically selected via hardware configuration, such as solder jumpers or configuration pins on the module's PCB. Consult the specific pinout diagram for your GY-US42 module. I2C mode allows for multiple sensors on a bus, UART provides simple serial data, and PWM outputs a duty cycle proportional to distance.

What is the power requirement and current consumption of this sensor?

The module operates from a 3V to 5V DC supply. Under typical operating conditions, it draws approximately 9 mA. This low power consumption makes it suitable for battery-powered applications like drones and portable robots.

Can this sensor be used outdoors or in harsh environments?

Yes, the GY-US42 has an operating temperature range of -20°C to +65°C, allowing for reliable use in many outdoor conditions. However, like most ultrasonic sensors, its performance can be affected by heavy rain, snow, or extreme wind, which can scatter the sound waves. It is not typically rated as waterproof (IP-rated).

What is the measurement update rate and how accurate is it?

The sensor provides distance updates at a rate of 15 Hz (15 times per second). It has a resolution of 1 cm. Accuracy is influenced by target surface angle, material, and environmental factors like temperature and air turbulence, but it provides stable and reliable measurements for most robotic and drone applications within its specified range.

Package Includes

  • 1 x GY-US42 Ultrasonic Distance Sensor Module
  • 1 x Header Pin Strip

Additional Information

Weight 0.005 kg
Dimensions 2.8 × 2.1 cm