Contact Us
  • Home
  • COMPONENTS
  • Ultrasonic Transducers and Distance Sensors for Level and Proximity

Ultrasonic Transducers and Distance Sensors for Level and Proximity

Open structure 40 kHz parts come as a matched transmitter and receiver pair, at 120 dB sound pressure and -63 dB sensitivity. Sealed modules cover 20 cm to 765 cm at 1 cm resolution, with analog, pulse width, RS232 or I2C output. Average supply current is 2 mA to 4.4 mA, so a battery node can range continuously. Each row lists beam angle, supply range, read rate and package, because those set the mounting and the firmware loop.
quote now

Product Specifications

Product Overview

A 40 kHz transducer pair is the least expensive way to measure distance without touching the target. The transmitter is driven with a burst of square waves at its resonance and the receiver listens for the echo. Time of flight gives the distance directly: sound travels at about 343 m/s at 20 C, so 1 ms of flight is 17 cm of path and 8.6 cm of range. Nothing in the beam is heated, no lens is needed, and the same pair reads a liquid surface, a cardboard box or a person without a change of setup.

There are two ways to buy this function, and the choice decides how much work stays on the board. The bare pair, such as the Murata MA40S4S and MA40S4R, leaves the burst generation, the receive amplifier, the threshold detection and the timing to the firmware, and costs a few dollars. A module such as the MaxBotix LV or XL line does the same job inside a potted housing and hands out the range as an analog voltage, a pulse width, an RS232 string or an I2C register, so the host only reads a value. The pair is the right choice when the product already has a microcontroller with a timer and the mechanical envelope is tight. The module is the right choice when the reading has to be right on the first prototype, or when the sensor sits outdoors.

Beam angle and dead zone decide the mechanical mounting more than the resolution does. The open structure parts have a directivity of about 80 degrees, which is wide enough to find a wall without aiming but wide enough to see a nearby pipe as well. The narrow beam modules in the EZ4 family trade that width for side lobe rejection, which is what a bin or a tank needs when the walls are close. Every ultrasonic sensor also has a minimum range: the diaphragm keeps ringing after the burst, and the receiver cannot hear a weak echo until that ringdown has decayed. That limit is 20 cm on the sealed XL modules, 15 cm on the LV module and about 20 cm on the open pair, and it is a property of the acoustic path, not of the electronics.

Temperature is the error term that is easiest to forget. The speed of sound rises by about 0.6 m/s per degree C, so a reading that is not compensated moves by 0.17 percent per degree, which is 13 cm at 7.6 m over a 10 degree swing. The sealed modules correct for it with an on board temperature measurement and a real time calibration against ambient noise, and the open pair needs the correction in firmware from a nearby thermistor. Target material matters as much: a soft curtain absorbs the burst, a surface at 45 degrees reflects it away from the receiver, and a foam surface returns an echo so weak that the threshold has to be lowered, which in turn shortens the usable range.

The table below covers the three groups we quote most often: open structure 40 kHz parts for boards that do their own timing, the small LV module for short range work on a 3.3 V or 5 V rail, and the sealed XL and I2C modules for tanks, silos and outdoor installations. Frequency, range, resolution, beam, supply current and package come from the maker data sheet for each order code.

Key Specifications

ParameterOpen structure pair, MA40S4S / MA40S4RLV module, MB1040Sealed modules, MB1240 / MB7060 / MB7040
Operating frequency40.0 kHz42 kHz42 kHz
Acoustic output or sensitivity120 dB plus or minus 3 dB sound pressure (transmitter), -63 dB plus or minus 3 dB (receiver)Not quoted, module output is a range valueNot quoted, module output is a range value
Detection range0.2 m to 4 m as a pair15 cm to 645 cm20 cm to 765 cm
ResolutionAbout 9 mm, one wavelength at 40 kHz1 inch1 cm
Beam80 degrees directivityNarrow beam, EZ4 opticsNarrow beam, XL optics
SupplyDrive only, 20 Vp-p maximum at 40 kHz2.5 V to 5.5 V, 2 mA typical3.0 V to 5.5 V, 3.4 mA average
Output formatsAnalog echo at the receiverAnalog, pulse width, RS232 at 9600 baudAnalog, pulse width, RS232, I2C on the MB7040
Read rateSet by the firmware burst periodUp to 20 Hz10 Hz, up to 40 Hz on the I2C part
Operating temperature-40 C to +85 C0 C to +65 C-40 C to +70 C, -40 C to +65 C on the I2C part
Package9.9 mm diameter, 7.1 mm high, two pinsPCB module with 0.1 inch headerIP67 PVC housing, 3/4 inch NPS thread

Included Models and Order Codes

The table lists the order codes we quote most often for level, presence and distance work. Frequency, range, resolution, supply current and package come from the maker data sheet for that code. The transmitter and the receiver of the open pair are two different order codes and are always quoted together, because a receiver used as a transmitter loses several dB of output.

Part NumberTypeFrequencyRangeOutput or SensitivitySupplyPackage
MA40S4STransmitter40 kHz0.2 m to 4 m with MA40S4R120 dB sound pressure at 30 cm, 10 Vrms sine20 Vp-p max drive9.9 mm dia, 7.1 mm high
MA40S4RReceiver40 kHz0.2 m to 4 m with MA40S4S-63 dB, 0 dB = 10 V per PaPassive9.9 mm dia, 7.1 mm high
MA40S5Transmitter and receiver40 kHz0.3 m to 2 m120 dB sound pressure typical, 60 degree directivity20 Vp-p max drive9.9 mm dia, 7.1 mm high
MB1040Module42 kHz15 cm to 645 cmAnalog Vcc/512 per inch, pulse width 147 us per inch, RS2322.5 V to 5.5 V, 2 mAPCB module
MB1240Module42 kHz20 cm to 765 cmAnalog, pulse width, RS2323.3 V to 5.5 V, 3.4 mAPCB module
MB7060Sealed module42 kHz20 cm to 765 cmAnalog, serial, pulse width3.0 V to 5.5 V, 3.4 mAIP67 PVC, 3/4 inch NPS
MB7040Sealed module42 kHz20 cm to 765 cmI2C, up to 127 sensors on one bus3.0 V to 5.5 V, 2.7 mA at 3.3 VIP67 PVC, 3/4 inch NPS

Key Features

Matched pair, not two of the same part – MA40S4S is tuned to give 120 dB of sound pressure at 40 kHz while MA40S4R is tuned to give -63 dB of sensitivity at the same frequency, and a pair built from two transmitters gives up several dB of the echo budget that the range depends on.

Beam angle sets the mounting – the open parts have an 80 degree directivity, which halves the sound pressure at 40 degrees off axis, so a wall 30 cm to the side of the target still returns an echo and the beam has to be aimed or shielded in a narrow tank.

Ringdown sets the minimum range – the diaphragm continues to vibrate after the drive burst, and the receiver cannot resolve an echo until that vibration has decayed, which is why the usable minimum is 20 cm on the sealed modules and about 20 cm on the open pair rather than zero.

Resolution follows the wavelength – at 40 kHz the wavelength in air is about 8.6 mm, so the best case step is one wavelength, which is why the open pair is quoted at 9 mm and the modules report 1 cm without pretending to a finer figure.

Three output formats at once – the LV and XL modules present the same reading as an analog voltage, a pulse width and an RS232 string at the same time, so the host can use a comparator, a capture input or a UART without buying a different part number.

Sealed housing for tanks and weather – the WR modules are rated IP67 and match a 3/4 inch PVC conduit fitting, which lets the sensor be mounted through a tank lid or a wall plate without a separate enclosure or a gasket.

Applications

These parts are quoted for products that measure a distance or detect a presence in air, typically where:

Tank, bin and silo level – a sealed module looks down at the surface from the lid and reports the head room in centimetres, and the narrow beam keeps the walls and the filling stream out of the reading.

Presence and people detection – an open pair or an LV module watches a doorway or a queue, and the 80 degree beam of the open part covers a wider gate than a narrow beam module at the same mounting height.

Roll diameter and web loop control – a module measures the distance to the outside of a paper or film roll so the drive can keep the loop constant, and the 10 Hz to 20 Hz read rate is enough for a dancer arm that moves slowly.

The transducer sits on the same board as the ranging circuit, so it is quoted with the SUPERB PCB and the SUPERB PCBA build for that assembly.

Sourcing and Cross-Reference

Selection starts with the mechanical envelope. An open pair needs a hole for each transducer, a driver stage that can swing close to 20 Vp-p for full output and a receive amplifier with a threshold that follows the ringdown, and it is the cheaper route once those blocks already exist. A module needs a cut out for its housing or a bracket, a clean supply and one input pin, and it moves the acoustic work into a part that has been calibrated during production.

The second check is the acoustic path. The beam has to miss the sides of the vessel, the target has to be larger than the beam at the working distance, and the surface has to return the burst rather than scatter it. Foam, cloth and open cell material absorb at 40 kHz, so a level reading on a bin of grain or pellets is reliable while the same sensor over a bin of insulation wool is not. A standpipe around the sensor removes both the side echoes and the wind.

Where a specific code has gone to a not recommended for new builds status, as the MA40S4S and MA40S4R have, the replacement is checked on frequency, sound pressure, directivity, capacitance and mounting at once, because a part that matches the frequency but not the directivity will read the same target at a different amplitude. The route for that check is on our source obsolete components page, and the mechanical comparison is on pin to pin cross reference.

For volume builds, SUPERB Assembly support covers the transducer potting, the acoustic port in the housing and the lead dress that keeps the drive burst away from the receive trace.

Q: Can you quote MA40S4S and MA40S4R as a matched pair, and confirm the drive stage for a 40 kHz burst from a 5 V rail?

A: Yes. Send the range, the target material and the supply rail, and the SUPERB Tech team will confirm the transducer pair or the module, the drive level and the mounting from the maker data sheet before quoting.

Why Buyers Source Ultrasonic Sensors Through SUPERB

  1. Transmitter and receiver quoted as a pair: the two order codes are never split on a quotation, so the acoustic budget is set once instead of being revised after the first prototype.
  2. Range figure quoted with its condition: the 120 dB output is stated at 10 Vrms and 30 cm, and the module range is stated at its minimum and maximum, so the usable distance is not read from a headline number.
  3. Status of the open parts tracked: the MA40S4S and MA40S4R are marked not recommended for new builds, and the quotation says so with the last time buy window and the module alternative next to it.
  4. Mounting hardware named: the IP67 housing thread, the header pitch and the transducer footprint are given with the part, which is what the mechanical drawing needs before the enclosure is cut.

Related Product Families

This page is part of the component range we supply for industrial, telecom, medical and defence builds. Continue with: Sensors and detectors, Industrial pressure sensors, Ambient light and proximity sensors, MEMS microphones, Gyroscopes, Sourcing obsolete components, Component lead time solutions.