
At a glance
Made by Maxbotix, this maxbotix ultrasonic sensor is a good fit for makers, students and electronics hobbyists. Main specs: model series MB12 Series; model no. / name MB1240; operating voltage (v) 3.3 to 5.5. Check that your power source supplies 3.3 to 5.5 before connecting it.
Key Highlights
- Model Series: MB12 Series
- Model No. / Name: MB1240
- Operating Voltage (V): 3.3 to 5.5
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
| Model Series | MB12 Series |
|---|---|
| Model No. / Name | MB1240 |
| Operating Voltage (V) | 3.3 to 5.5 |
| Maximum range(M) | 7.65 |
| Avg. Current Consumption | 3.4 |
| Frequency (Hz) | 42000 |
| Resolution | 1 cm |
| Read Rate (Hz) | 10 |
| Max. Sensing Distance (cm) | 765 |
| Sensor Cover Dia. (mm) | 16 |
| PCB Size ( L x W ) mm | 20 x 22.5 |
| Weight (g) | 6 |
| Shipping Weight | 0.01 kg |
| Shipping Dimensions | 5 × 3 × 3 cm |
Overview
The MaxBotix MB1240 XL-MaxSonar-EZ4 High-Performance Sensor, made by Maxbotix, is listed in our maxbotix ultrasonic sensor range and suits makers, students and electronics hobbyists. The notes below explain the main specifications and what to check before you order.
Specifications explained
- Model Series: MB12 Series
- Model No. / Name: MB1240
- Operating Voltage (V): 3.3 to 5.5 (match this to your power supply; too high a voltage can damage the part)
- Maximum range(M): 7.65 (quoted range is usually line-of-sight; walls and interference shorten it)
- Avg. Current Consumption: 3.4 (your supply must deliver at least this much current)
- Frequency (Hz): 42000 (make sure the rest of your system works at this frequency)
- Resolution: 1 cm
- Read Rate (Hz): 10 (make sure the rest of your system works at this frequency)
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.
This Maxbotix MB1240 XL-MaxSonar-EZ4 High Performance Ultrasonic Sensor Module is for indoor use only.
Features of the MB1240 XL-MaxSonar-EZ4, include centimeter resolution, has the highest noise tolerance and the narrowest beamwidth of any sensor in the XL‑MaxSonar‑EZ sensor line, short to long-distance detection, range information from 20cm to 765cm, a 10Hz read rate, and various output options: pulse-width, analog voltage, and RS232 serial.
The MB1240 is a great choice for applications where only larger objects need to be detected.
The MB1240 from the XL‑MaxSonar‑EZ line of sensors is a very small, less than one cubic inch, ultrasonic sensor component module. This sensor comes with mounting holes provided on the circuit board for easy installation in nearly all applications.
In addition, the MB1240 offers virtually noise-free distance readings through the use of high-output acoustic power combined with continuously variable gain, real‑time background automatic calibration, real‑time waveform signature analysis, and noise rejection algorithms. This holds true even in the presence of many of the various acoustic or electrical noise sources.
Product 3D Model
These 3D model files will download with a different product name.| Key Shot | IGES File | ACIS 7.0 File | Solid Works Part |
| STL File | STEP File | Parasolid Part |
Elecvora.in is an official distributor of MaxBotix Ultrasonic Sensors in India. Check out our MaxBotix Ultrasonic Sensors now!
Features :
- Read from all 3 sensor outputs: Analog Voltage, RS232 Serial, Pulse Width
- Virtually no dead zone, objects closer than 20 cm range as 20 cm
- Small, lightweight module
- Designed for easy integration into your project or product
- Real-time automatic calibration (voltage, humidity, ambient noise)
- Firmware filtering for better noise tolerance and clutter rejection
- 200,000+ Hours Mean Time Between Failure
- The narrowest beam of the XL-MaxSonar-EZ products
- Highest noise tolerance of the XL-MaxSonar-EZ products
- Great for large target applications
- The maximum range of 765 cm (300 inches)
- Hardware gain of 250
- Short-range, narrow detection zone for small targets
Package Includes :
1 x Maxbotix MB1240 XL-MaxSonar-EZ4 High Performance Ultrasonic SensorTutorials :
Sensor Selection, Setup, and TroubleshootingQuick specs
- Model Series
- MB12 Series
- Model No. / Name
- MB1240
- Operating Voltage (V)
- 3.3 to 5.5
- Maximum range(M)
- 7.65
- Avg. Current Consumption
- 3.4
- Frequency (Hz)
- 42000
Frequently Bought Together

Arduino Uno R3 with Cable
$9.99
MaxBotix MB1040 LV-MaxSonar-EZ4 Ultrasonic Sensor Module
$32.99
Uno R3 Board without Cable compatible with Arduino
$9.99
MaxBotix MB7366 HRXL-MaxSonar-WRL High-Performance Sensor
$130.99
Uno R3 CH340G ATmega328p Development Board Compatible with Arduino
$7.99
Seeed Studio Grove Ultrasonic Ranger
$10.99

















