Shopping Cart

Your cart is empty.

Your cart is empty.

MB1240-000 XL-MaxSonar-EZ4 |Ultrasonic Distance Sensor for Arduino, Raspberry Pi, Robots| Ranges from 20cm to 765cm | MaxBotix Inc.

Free shipping on orders over $29.99

$39.95

$ 20 .99 $20.99

In Stock

About this item

  • Hardware gain of 250
  • Firmware filtering for better noise tolerance and clutter rejection
  • Real-time automatic calibration (voltage, humidity, ambient noise)
  • Narrowest beam of the XL-MaxSonar-EZ products
  • Operational Temperature from 0˚C to +65˚C (32˚F to +149˚F)



Product Description

mb1240 ultrasonic sensor

MaxBotix MB1240 Ultrasonic Sensor

The MB1240 is an ultrasonic distance sensor also used with Arduino, Raspberry Pi, in robots and for people detection.

Specs:

  • Resolution of 1 cm
  • 10Hz reading rate
  • Virtually no dead zone, objects closer than 20 cm range as 20 cm
  • 42kHz Ultrasonic sensor measures the distance to object
  • Operates from 3.3-5.5V
  • Low 3.4mA average current requirement
  • Real-time automatic calibration (voltage, humidity, ambient noise)
  • Firmware filtering for better noise tolerance and clutter rejection

MB1240-000 XL-MaxSonar-EZ4 Beam Pattern

The XL-MaxSonar-EZ4 has the highest noise tolerance and the narrowest beam of any of our indoor sensors.

The sensor is designed and calibrated to provide reliable range information to large targets even in environments with strong acoustic or electrical noise sources.

The sensor is small in size, yet the high output acoustic power combined with continuously variable gain, real-time background automatic calibration, real-time waveform signature analysis, and real-time noise rejection algorithms results in virtually noise free distance readings for most users.

This holds true even in the presence of many of the various acoustic or electrical noise sources.

The XL-MaxSonar-EZ sensor line is factory calibrated to match the sensor beam patterns and provides a long-range detection zone.


370gt
2025-08-17 11:46:23
Works great, I made the insulated cable out of an old micro usb and soldered it togeather. I'm using this with a apm 2.6. After making the cable and installing it, everything else was pretty much straight forward, also if your using this for the same controller as I am or earlier versions, Make sure that you enable the pin via mission Planner advanced settings or it won't read anything. Other than that I'd say this is a great product I would consider buying another for future projects.
sbass24
2025-07-20 14:09:17
Not sure what I was doing wrong but tried to set this up as a motion sensor. The product seems well built and I’m sure works great but I could not seem to figure out how to operate it
R. A. Moore
2025-06-24 11:36:14
The Stars Say it ALL!!!
John Simmermon
2025-05-04 11:39:38
Does not work in my application (aircraft altitude sensing) Noise level exceeds readout.
Jerry Jones
2025-05-02 17:37:03
Very expensive, did not come with cable and did not offer cable that I could find.Hard to install and use.
Keith
2025-04-25 16:37:16
I received this sonar sensor and had it implemented with an Arduino within 10 minutes, and working within specs. The ability to use several different communications protocols made programing simple and versatile, and the resolution and stability of the distance readings is impressive. I am very happy with this purchase, and will likely buy again when I have need for another medium range proximity sensor with fine resolution.
Mae
2025-04-05 17:25:15
It's a good product, but I wish there were an easy way to reverse the analogue output so a higher voltage indicates a closer object more like the IR sensors.
FJH
2025-02-12 17:28:58
Works like magic with my APM 2.7 flight controller for providing very accurate altitude info.
Recommended Products

$344.00

$ 99 .00 $99.00

5.0
Select Option