Digilent 240-071P User Manual

Pmodmaxsonar™ reference manual, Overview, Functional description

Advertising
background image

1300 Henley Court

Pullman, WA 99163

509.334.6306

www.digilentinc.com

PmodMAXSONAR™ Reference Manual

Revised June 20, 2014
This manual applies to the PmodMAXSONAR rev. A

Overview

The PmodMAXSONAR is an ultrasonic range detector that utilizes the MaxBotix® LV-MaxSonar®-EZ1™ sonar sensor
to provide 1” resolution for your distance sensing needs. This Pmod provides versatility by allowing data to be
read via analog, pulse-width modulation, and serial communication. Features Include:

Functional Description

The PmodMAXSONAR uses a 6-pin connector that can communicate range data to the host board as an analog
value, a pulse-width, or a 5-byte serial packet. Sensor data ranges from a minimum of 6 inches to a maximum of
254 inches, with a resolution of 1 inch. Range data is acquired by the module sending thirteen 42 KHz beams of
varying widths, allowing for more accurate detection. Under free-run operation, range readings can be taken every
50 milliseconds.

Interface

The PmodMAXSONAR can deliver range data via an asynchronous serial packet, an analog value, or a pulse-width.
During operation, all outputs are used by the PmodMAXSONAR simultaneously. After an initial power-up time of
250 milliseconds, the PmodMAXSONAR will need to be calibrated. Calibration will occur if the RX pin is left open or
high and will take 49ms. An initial range reading will then occur, also taking 49ms. All readings following this initial
calibration and first reading will take 49ms. Range readings will occur when the RX pin is set high.

Figure 1. The PmodMAXSONAR.

• Effective detection range of 6”-255”

• 42 KHz sonar operation frequency

• Readings every 50 milliseconds

• Continuous measurement (free run) operation

• Three methods of obtaining data

o

5-Byte serial output

o

Analog output (VCC/512)V per inch

o

Pulse Width output, 147µs per inch

• 2.5V-5.5V operating voltage range with 2mA typical

current draw

DOC#: 514-007

Copyright Digilent, Inc. All rights reserved.

Other product and company names mentioned may be trademarks of their respective owners.

Page 1 of 2

Advertising
Table of contents