Creative Commons images are CC BY 2.0

Description: The XL series of MaxSonars are a super high-performance version of the easy-to-use sonar range finder from Maxbotix. The XL series of this sensor features higher resolution, longer range, higher power output and better calibration when compared to the LV version.

We are extremely pleased with the size, quality, and ease of use of this little range finder. The sensor provides very accurate readings from 0 to 765cm (0 to 25.1ft) with 1cm resolution. This sensor can be powered with anywhere between 3.3 and 5VDC.

Range information can be gathered through one of three methods - analog, serial, or PWM - all of which are active at the same time. The analog output will produce a voltage proportional to the measured distance, with a sensitivity of (Vcc/1024)V/cm. The serial interface is simple and formatted to RS-232, with voltages ranging from 0 to Vcc and terminal settings of 9600-8-N-1. Finally, the PWM pin outputs a pulse-width representation of the range with a scale factor of 58us/cm.

The Maxsonar-XL series is offered in the EZ0, EZ1, EZ2, EZ3, and EZ4 versions, each with progressively narrower beam angles allowing the sensor to match the application. Please see beam width explanation below.


  • 3.3V to 5V supply with very low average current draw
  • High acoustic power output
  • All interfaces are active simultaneously:
    • RS-232 serial
    • 0 to Vcc output range
    • 9600 baud, 8-N-1
    • Analog, (Vcc/1024) / cm
    • Pulse Width
  • Real-time auto calibration and noise rejection for every ranging cycle
  • Calibrated beam angle
  • Object detection includes zero range objects
  • Readings can occur up to every 100mS, (10-Hz rate)
  • Free run operation can continually measure and output range information
  • Triggered operation provides the range reading as desired
  • Sensor operates at 42KHz


Recommended Products

Customer Comments

  • Does anyone know how much this sensor weighs? (Preferably in grams)

  • Hi there, I am not so familiar with robotic and sensing devices (my background is biology) and have a very basic question on this interesting sensor. I would like to use it to track the position of rodents running on a (80 cm long) treadmill. I need a decent temporal resolution and this is were I have a doubt. On the one hand, the datasheet says that there is a pin that provides an analog voltage proportional to the position of the detected object. But on the other hand it says that reading can occur every 100 msec. Then, what is this analog output ? A step function with each step having a 100 msec long ? There is something basic I don’t understand here and if someone could clarify I would be more than grateful. Thanks

    • You’re on the right track (ha!). This sensor outputs a voltage that effectively holds the most recent reading until the next one arrives. As you’ve seen, this type of sensor is limited by the send/return timing; if you need faster sampling you might look into infrared proximity sensors, but both types of sensors will have (different) limitations based on getting a good echo or IR reflection off of a possibly sound or light-absorbing rodent. Maybe computer vision processing is an option? However you solve it, best of luck with your project!

  • pls post da code

  • No comment

Customer Reviews

4 out of 5

Based on 1 ratings:

Currently viewing all customer reviews.

not bad

I use it for dron . resolution 1cm is not good enough as my dron fluctuating high above ground. it goes over the objects keeping constant distance as it should