Follow MaxBotix:
Ask A Question

MaxBotix Tutorials/FAQ

View articles on the set-up and proper use of MaxBotix Inc. Sensors

Most questions will be answered in the product datasheets
Click link for downloads page...Downloads
To view our legacy FAQ please click here

An Introduction to the 42kHz Sound Wave
Configuring USB‑MaxSonars
Controlling A MaxSonar Sensor
Cube Corner Reflectors
Design Cycle Guide
Finding Direction and Distance
Human Safety Application Use
Kiosk Sensors & People Detection
Long Range Sensing
MaxBotix Code Examples
MaxSonar Copyright Status
MaxSonar Quick‑Start Guide
MaxSonar Troubleshooting Guide
Methods to Conceal an Ultrasonic Sensor
Outdoor Use of MaxSonar‑EZ Sensor
Protected vs. Non-Protected Environments
Reading MaxSonar Beam Patterns
Snow Sensor Mounting Notes
Using a MaxSonar on a UAV
Using a MaxSonar with a Raspberry Pi
Using a MaxSonar with an Arduino
Using an Arduino with an I2C‑MaxSonar
Using Analog Voltage Pin 3
Using Multiple Ultrasonic Sensors
Using Pulse Width Pin 2
Using Serial Data Pin 5
Weatherproof the Pin Out
Web‑based Remote Monitoring
Wireless Sensor Monitoring
|     Written By: Carl Myhre & Tom Bonar    |     Date Posted: 01-06-2012     |
LV-MaxSonar-EZ1 QuickStart Guide

An Easy to Follow Guide

This guide is serves as an easy to use set-up guide for the LV‑MaxSonar‑EZ Ultrasonic Sensor. MaxBotix Inc., is excited to provide this guide which is designed to assist you in using your MaxSonar sensor for the first time!

|     Written By: Tom Bonar    |     Date Posted: 07-10-2012     |
MaxSonar Troubleshooting Guide

Troubleshooting the MaxSonar Sensor Family

Our sensors are improved to not allow unstable readings. Occasionally unstable range readings occur. Within this tutorial we will explain how to identify, trouble shoot, and eliminate the cause of unstable range readings. This will work for all lines of sensors

|     Written By: Tom Bonar    |     Date Posted: 07-10-2012     |
Calculating Distance from Analog Voltage

Finding Distance from Analog Voltage (Pin 3)

The Analog Voltage pin on the MaxSonar family of sensors has been the most popular output for our users. All of the MaxSonar sensors have this output included. This guide will give a look into how to use it for obtaining the distance to the target being detected.

|     Written By: Tom Bonar    |     Date Posted: 07-10-2012     |
Calculating Distance from Pulse Width

Finding Distance from Pulse Width (Pin 2)

All of the MaxSonar sensors have an output waveform that is a pictorial representation of distance measured. For the majority of our sensors that waveform output is a pulse width. Unlike analog voltage, pulse width does not scale with power input.

|     Written By: Tom Bonar    |     Date Posted: 07-10-2012     |
Using RS232 with a MaxSonar

Connecting The MaxSonar® to a Computer

The MaxSonar® can be directly interfaced to be used with your PC, if you have a PC with a DB9 Serial. Connecting the sensor to a computer allows the user to see range readings that have already been processed to distance using RS232.

|     Written By: Tom Bonar     |     Date Posted: 04-30-2014    |
How to use a MaxSonar with an Arduino
The Arduino micro-controller is one of the most popular development boards for electronics enthusiasts. With the ability to control components such as buzzers, LED’s, servos, motors, and LCD’s, Arduinos have become the go-to selection for users that are looking to start into electronics, firmware coding, or automation.
With three simple interfaces, it is easy to connect a MaxSonar to an Arduino. For assistance with setup, coding, and wiring, MaxBotix Inc., has made it easier to interface our sensors with an Arduino.
|     Written By: Carl Myhre     |     Date Posted: 03-27-2015    |
How to use a MaxSonar with an ArduinoA number of customers have asked if the Arduino supports talking to the I2C‑MaxSonar sensors over an I2C interface. The short answer is "Yes." MaxBotix staff has worked to provide a clear and easy to follow path to get an I2C‑MaxSonar up and running on your Arduino. Educational information related to this specific I2C implementation has also been provided.

This article is written to assist in configuring I2C-MaxSonar sensors that were shipped after 10/29/14. We have updated our I2C-MaxSonar sensors to support faster speeds and work with the current Arduino Wire() library.

|     Written By: Tom Bonar     |     DatePosted: 08-29-2013     |
How to use a MaxSonar with a Raspberry Pi
MaxSonar sensors now come with a TTL serial output in our HRLV‑MaxSonar‑EZ and HRXL‑MaxSonar‑WR sensor lines. With this new output interface, MaxSonars are compatible with many more devices than before. This includes the popular Raspberry Pi micro‑computer. MaxBotix Inc., is glad to provide this tutorial on connecting MaxSonar sensors to the Raspberry Pi and reading the range output of the sensor.

|     Written By: Tom Bonar     |     DatePosted: 11-19-2013     |
How to use a MaxSonar with an Arduino
Using a MaxSonar with ioBridge products have proven to be effective methods of monitoring distance over the internet in real-time from anywhere in the world. This solution quickly connects you to the real-world information you want from a variety of devices. Using this system, users were able to watch the build of up hurricane Sandy in real-time. With the new Wireless Endpoint Pro, by ioBridge, pretty much anything can be monitored by remote. The remote based monitoring is website based which means it is
accessible through a computer, tablet, or smartphone. We walk you through how to setup a Wireless Endpoint Pro and how to interface our sensor with this module.
|     Written By: Scott Wielenberg     |     Date Posted: 02-18-2012     |
Reading MaxSonar Beam Pattern

MaxBotix Inc., sensors have been successfully used on a number of multi‑copters. Even so, many users have had issues getting the sensors to operate reliably. Sensor operation on a quad‑copter is a challenging environment for an ultrasonic sensor to operate reliably.

|     Written By: Tom Bonar    |     Date Posted: 07-10-2012     |
Reading MaxSonar Beam Pattern

MaxSonar Beam Patterns

MaxBotix Inc provides beam patterns for all of our sensors to assist users in choosing the correct sensor for their application. The beam plots provided are approximations to target sizes and distance. Though our beam plots are accurate for the sensor and may differ slightly from sensor to sensor for each part number.

|     Written By: Tom Bonar    |     Date Posted: 10-23-2012     |
USB-ProxSonar Configuration

USB-ProxSonar®-EZ™ Computer Configuration

MaxBotix Inc., has released USB‑MaxSonar ultrasonic sensors. The USB‑MaxSonar ultrasonic sensors feature an easy to USB interface that uses a standard Micro-B USB cable to connect to a computer.

|     Written By: Tom Bonar    |     Date Posted: 07-10-2012     |
Using Multiple MaxSonar Sensors

Chaining MaxSonar Sensors

When using a single sensor typically it is possible to just let it range continuously in free run mode. This method is very easy and works very well.

|     Written By: Carl Myhre     |     Date Posted: 01-12-2011     |
Finding Direction and Distance to a Pole

The MaxBotix Inc., HRLV-MaxSonar-EZ1 (MB1013) makes the perfect robot sensor for robot pole finding, navigation, distance sensing, direction, and alignment. This sensor provides your robot with real time information about its environment that can aid in the navigation around and to obstacles. Using two sensors on your robot will provide an easy and accurate method of pointing your robot directly toward a distant object.

|     Written By: Tony Szczodroski     |     Date Posted: 05-30-2013     |     Updated 11/1/2013     |
MaxSonar-WRS Mounting Image
MaxBotix Inc., has recently released a reliable, high accuracy, and inexpensive sensors for precision snow depth measurement. The HRXL-MaxSonar-WRS and SCXL-MaxSonar-WRS Sensor lines are an evolution of our HRXL-MaxSonar-WR and SCXL-MaxSonar-WR sensor lines, respectively. In the real world snow environment, at our facilities in northern Minnesota, this sensor line was proven and optimized,
|     Written By: Tom Bonar    |     Date Posted: 07-10-2012     |
Reading MaxSonar Beam Pattern

MaxSonar Code Examples

Here are several programming samples we have tested at our facility. They include:
a code example for BasicX, and BX24p. a code example for the Basic Micro, Atom.;
a code example using Wright Hobbies, DevBoard-M32 (AVR using Bascom).;
and a code example using Parallax, Basic Stamp BS2.

|     Written By: Tom Bonar    |     Date Posted: 07-10-2012     |
Triggering a MaxSonar

Controlled Ranging

All the MaxSonar sensors, by default, will operate in a free run mode. What this means is the sensor will continue to range until power is removed from the sensor. This is generally the easiest way to operate in a single sensor setup.

|     Written By: Cody Carlson    |     Date Posted: 06-02-2015     |

Many sensor applications require the user to detect people in an environment. MaxBotix® Inc., provides ultrasonic sensors that reliably detect people, and our sensors have been installed in a large number of people detection applications. Your application has the best chances of success when you put careful consideration into the sensor selection process.

|     Written By: Tom Bonar     |     Date Posted: 07-20-2012     |
Web Based Remote Monitoring a MaxSonar

Remote monitoring for the MaxSonar is easily available with the help of a bridge device such as the IoBridge IO-204. It has become simpler to integrate a MaxSonar into applications like measuring tide level or fuel level. The IoBridge IO‑204 module allows for remote sensing over the internet. All that is needed is a MaxSonar of preference, the IO-204, high-speed internet connection, and a power source for the IO‑204.

|     Written By: Tom Bonar    |     Date Posted: 07-10-2012     |
Using MaxSonar-EZ sensors outside

Although the LV-MaxSonar®-EZ™ and XL-MaxSonar®-EZ™ sensors were designed for "protected indoor environments", the LV-MaxSonar®-EZ™ and XL-MaxSonar®-EZ™ sensors has been used outdoors in very rugged environments.

|     Written By: Tom Bonar    |     Date Posted: 07-10-2012     |

MaxBotix® Inc., products are not authorized for use as critical components in life support devices or systems.

|     Written By: Scott Wielenberg     |     Date Posted: 03-12-2015     |
MaxSonar-WR Cube Corner Reflector Performance

Sometimes when using an ultrasonic sensor, users experience detection of unwanted objects that appear outside the expected beam pattern. These types of detections are the result of reflectors present in the environment. Corner reflectors can be surprisingly small, yet present a large reflection back to the sensor.

Some examples of common corner reflectors follow: a book shelf along a wall, a curb in a parking lot, a 1/2” wide seam in a concrete floor, internal bracing in a bin, or the inside corner of a doorway in a narrow hall. Each of these examples can create a corner reflector that may cause unwanted detections.

|     Written By: Nicole Smith      |     DatePosted: 05-27-2015     |
Protected Environment Sensor

When choosing an ultrasonic sensor it is very important to be aware of the surrounding environment. This is a key factor and the first consideration when selecting a sensor. This requires looking around the environment that your sensor will be exposed to which can be as simple as the outdoor elements or as complicated as the type of people or animals that will be in the environment with the sensor.

|     Written By: Cody Carlson     |     Date Posted: 06-08-2015    |
Wire Attach Option

When you use a rugged WR sensor from MaxBotix® Inc., the sensor pin out is exposed allowing you to attach wires and equipment to the sensor. While leaving the pin out open provides greater flexibility in how you choose to connect to the sensors, it can leave the sensors exposed to the weather in some applications. If your mounting requires you to protect the back of the sensor from damage, you must seal the sensor pin out against rain and other potential hazards. For users that want to purchase a fully sealed sensor, the wire attach option is a great choice.

|     Written By: Cody Carlson     |     Date Posted: 06-30-2015    |
Long Range Sensing

MaxBotix® offers a number of sensors with 10 meter ranging capability to meet the needs of many long range sensing application. MaxBotix® continually works to press these limits by pursuing new technologies.

|     Written By: Scott Wielenberg     |     Date Posted: 07-15-2015    |
Long Range Sensing

Welcome to a series of articles that walks you through the complete process of integrating an ultrasonic sensor into your application. These articles are packed with valuable information and tips to help you complete a successful ultrasonic sensor implementation.

|     Written By: Cody Carlson     |     Date Posted: 07-08-2015    |
Sonar Wave

MaxBotix® utilizes ultrasonic technology to provide ranging solutions for your various applications. The use of ultrasonic technology enables you to detect objects despite their visual characteristics.

|     Written By: Scott Wielenberg     |     Date Posted: 11-18-2015    |
Types of Material

When designing an application that places an ultrasonic sensor in a visible location, users may wish to conceal the sensor for aesthetic purposes. Additionally, users may desire to hide the sensor to discourage individuals from tampering with the sensor. This article covers several methods that you may use to conceal a sensor.

Author: Bob Gross  Date: 11-24-2015
New Machines at MaxBotix MaxBotix Inc., celebrates Thanksgiving with gratitude to God first for our customers, our suppliers, and our employees. The year has been amazing with growth, new machines, and a new build-out. Click here for full article.
Author: Scott Wielenberg  Date: 11-18-2015
Types of Material When designing an application that places an ultrasonic sensor in a visible location, users may wish to conceal the sensor for aesthetic purposes. Additionally, users may desire to hide the sensor to discourage individuals from tampering with the sensor. This article covers several methods that you may use to conceal a sensor. Click here for full article.
Author: Cody Carlson  Date: 11-03-2015
Low versus High Resolution targets When it comes down to it, you purchase a rangefinder for the range readings. The success of an application may hinge upon knowing the exact location of a target. However, a sensor may report one meter even if the target is not exactly one meter away from the sensor. Sensor specifications, such as resolution, precision, and accuracy, help us understand what wiggle room and error will be present in a reading. Click here for full article.
Author: Scott Wielenberg  Date: 10-13-2015
Design Cycle Welcome to the review of the Design Cycle Guide. This article provides the summary of each of the phases with links to the respective articles for more detailed information. Click here for full article.
Written By: Cody Carlson  Date: 10-08-2015
Acoustic Types All targets reflect sound to a varying degree. Ultrasonic sensors use the speed of sound to calculate distance based on the time it takes for an echo to return from a target. More simply put, our sensors detect distance much like a bat or dolphin does. Click here for full article.
Author: Nicole Smith  Date: 08-17-2015
Inc 5000 Overall Seal Inc. Magazine Unveils 34th Annual List of America's Fastest Growing Private Companies–the Inc. 5000. MaxBotix Inc., Ranks No. 3616 with Three–Year Sales Growth of 87%. Click here for full article.
Signup for notification of our exciting new products and periodic new letters. We are excited to provide the latest information from MaxBotix Inc.