
1 / 2 · Click to enlarge
At a glance
This multi-brand ultrasonic sensors is a good fit for makers, students and electronics hobbyists. Main specs: item type Ultrasonic Sensor; model no. / name GY US42; communication interface I²C, UART (TTL), PWM. Check that your power source supplies 3 – 5 before connecting it.
Key Highlights
- Item Type: Ultrasonic Sensor
- Model No. / Name: GY US42
- Communication Interface: I²C, UART (TTL), PWM
Ideal For
- Arduino, ESP32 and Raspberry Pi projects
- School and college lab work
- Prototypes and test rigs
Buying Tip
Compare the pin layout and operating voltage with your circuit, and order a spare or two: small parts are easy to damage while soldering.
Specifications
| Item Type | Ultrasonic Sensor |
|---|---|
| Model No. / Name | GY US42 |
| Frequency | 15 Hz |
| Communication Interface | I²C, UART (TTL), PWM |
| Measurement Distance (m) | 0.2 – 7.2 |
| Operating Voltage (V) | 3 – 5 |
| Operating Current (mA) | 9 |
| Operating Temperature (°C) | −20 to +65 |
| Storage Temperature (°C) | −40 to +85 |
| Length (mm) | 28 |
| Width (mm) | 21 |
| Weight (g) | 05 |
| Shipping Weight | 0.008 kg |
| Shipping Dimensions | 6 × 6 × 2 cm |
Overview
The GY-US42 Pixhawk APM Flight Control Ultrasonic Distance Measurement Sensor Module is listed in our multi-brand ultrasonic sensors range and suits makers, students and electronics hobbyists. The notes below explain the main specifications and what to check before you order.
Specifications explained
- Item Type: Ultrasonic Sensor
- Model No. / Name: GY US42
- Frequency: 15 Hz (make sure the rest of your system works at this frequency)
- Communication Interface: I²C, UART (TTL), PWM (confirm your cable or board uses the same connector)
- Measurement Distance (m): 0.2 – 7.2
- Operating Voltage (V): 3 – 5 (match this to your power supply; too high a voltage can damage the part)
- Operating Current (mA): 9 (your supply must deliver at least this much current)
- Operating Temperature (°C): −20 to +65
Before you order
Compare the specifications with your project or device, and check delivery times and return terms for your country in our help centre. Questions about this item? Email [email protected] with the product code.
The GY-US42 Ultrasonic Distance Measurement Sensor Module is a compact and reliable solution for accurate short-to-long range distance sensing. Designed for Pixhawk and APM flight controllers, it delivers stable measurements from 20 cm up to 720 cm with 1 cm resolution, making it ideal for altitude hold, obstacle avoidance, and terrain following applications.
Ultrasonic Distance Measurement Sensor Supporting I²C, UART (TTL), and PWM output, the module offers excellent flexibility for integration with drones, robots, and embedded systems. With low power consumption and wide operating temperature support, the GY-US42 performs consistently in both indoor and outdoor environments.
Features:
- Wide measuring range up to 7.2 meters
- High accuracy with 1 cm resolution
- Supports I²C, UART, and PWM communication
- Low power consumption for embedded systems
- Compact and lightweight design
- Optimized for Pixhawk and APM controllers
Package Includes:
1 x GY-US42 Pixhawk APM Flight Control Ultrasonic Distance Measurement Sensor Module
1 x Header Pin
Quick specs
- Item Type
- Ultrasonic Sensor
- Model No. / Name
- GY US42
- Frequency
- 15 Hz
- Communication Interface
- I²C, UART (TTL), PWM
- Measurement Distance (m)
- 0.2 – 7.2
- Operating Voltage (V)
- 3 – 5













