User`s guide

MASSA PRODUCTS CORPORATION
Product Manual- April 24, 2012 2 M3 Wireless Ultrasonic Level Sensor
1.0 Overview and General Operation
The Massa Model M-3 Wireless Ultrasonic Sensor communicates its tank level information through a Digi International
ConnectPort Gateway. This gateway requires set up that is described in this manual. Sensors from the factory are
programmed to stay awake and not set up for automated messages. There are several operating modes using the Massa
Python code to control the gateway basic functions. This includes setting sensor settings for the application (range/status
acquisition rate, sleep period, etc), normal monitoring mode (listen only to sensor’s automated messages, diagnostic mode,
and firmware programming.
The gateway typically is set up operate with up to 12 available RF channels (SC=0x1ffe). When the sensor power’s up, it
will first search for the gateway’s operating channel and attempt will join it if the PAN ID matches and if security key
matches (if enabled). Once a sensor is associated with a gateway, it will remain associated even during its sleep period,
as long as the gateway’s poll timeout does not expire (poll timeout is reset when sensor wakes up). If the poll timeout does
expire or gateway power cycle causes a selection of a new RF channel, then the sensor will rejoin upon the next wakeup
cycle (ver 29 or greater).
2.0 Gateway Basic Settings
The Digi International Gateway, models X2 or X4, needs to be set up to be used with the M3 Sensor. This includes
configuring for an Ethernet or WiFi connection, configuring gateway’s XBee settings, loading python programs, and
configuring server connection to receive the data. Most of the information can be found on Digi’s web site (digi.com) on
how to set up the gateway’s Ethernet connection and server connection. The settings listed in this document are
recommended for most applications.
Basic Configuration Checklist
□ Network Settings
□ Time source
□ XBee SP SN settings
□ XBee PAN ID
□ Server Connection
(not necessary for initial evaluation)
2.1 Network Settings
Gaining access to the gateway requires an Ethernet connection and the use of Digi’s Device Discovery application
software. The gateway’s Ethernet IP Settings are configured from the factory to obtain an IP address automatically using
DHCP. Contact your network administrator if you need support for this. Initially, you may plug the gateway directly into
your PC Ethernet port with your PC’s Local Area Connection TCP/IP set to obtain an IP address automatically. Run the
Device Discovery to find the gateway (see below). Double click the IP address found to get to the Digi Web UI (see lower
figure).