MeshScape™ Commercial- and Industrial-class Wireless Mesh Networks RK-5424-5 Reference Kit for 2.
COPYRIGHT This manual is produced and copyrighted by Millennial Net, Inc. Any use or reproduction of the contents of this manual without the prior written consent of Millennial Net, Inc. is strictly prohibited. NOTICE All title and copyrights to this document are owned by Millennial Net, Inc. No part of the contents of this document may be reproduced or transmitted in any form or by any means without the written permission of Millennial Net, Inc. Millennial Net, Inc.
CAUTION Initialization of the product should be performed only by a qualified systems administrator. Compliance Statements FCC Compliance FCC compliance for Millennial Net’s RK-5424-5 Reference Kit (2.4GHz, 5-3-1) consisting of the following models/components: • EN-5424 end node • MN-5424 mesh node • MG-5424XL MeshGate Extra Long Range gateway Compliance Statement (Part 15.19) The Millennial Net RK-5424-5 Reference Kit complies with Part 15 of the FCC Rules and with RSS-210 of Industry Canada.
Unlicensed Modular Approval (for OEMs) The URM-G-2400 and URM-M-2400 comply with the FCC's 47CFR Part 15 rules and regulations as well as Part 15 Unlicensed Modular Approval as outlined in DA 00-1407. Compliance with the Modular Approval rules allows an OEM to integrate the URM-G-2400 and URM-M-2400 into other products without further FCC certification of the intentional radiator, but an OEM must still test their final product to comply with unintentional radiator requirements of 47CFCR Part 15.
For countries not covered by FCC Part 15, Industry Canada RSSS-210, or CE The RK-5424 -5 Reference Kits are to be used solely by professional engineers for the purpose of evaluating the feasibility of low-power wireless data communications applications. The user's evaluation must be limited to use of an assembled Kit within a laboratory setting which provides for adequate shielding of RF emission which might be caused by operation of the Kit following assembly.
viii Millennial Net
Contents About This Guide Audience .................................................................................................................. xviii Using This Guide ....................................................................................................... xviii Symbols and Conventions ...........................................................................................xix Contacting Millennial Net ....................................................................................
Configuring Digital I/O Operation ...................................................................... 3-10 Configuring UART Operation............................................................................. 3-13 Configuring AD (analog-to-digital) Converter Operation.................................... 3-15 Using Watch Function to Display Configuration Information.............................. 3-17 Labeling an End Node or Mesh Node ......................................................................
C Setting Up the Digi One SP Overview.................................................................................................................... C-2 Installation and Configuration Procedure.................................................................... C-4 Connect the Digi One SP to your network. ......................................................... C-4 Install the Digi Connectware software. ...............................................................
xii Millennial Net
Figures Figure 1-1. Figure 1-2. Figure 1-3. Figure 1-4. Figure 1-5. Figure 1-6. Figure 1-7. Figure 2-8. Figure 2-9. Figure 2-10. Figure 2-11. Figure 2-12. Figure 2-13. Figure 2-14. Figure 2-15. Figure 2-16. Figure 3-17. Figure 3-18. Figure 3-19. Figure 3-20. Figure 3-21. Figure 3-22. Figure 3-23. Figure 3-24. Figure 3-25. Figure 3-26. Figure 3-27. Figure 3-28. Figure 3-29. Figure 3-30. Figure 3-31. Figure 3-32. Figure 3-33. Figure 3-34. Figure 3-35. Figure 3-36. Figure 4-1. Figure 4-2. Figure A-1.
Figure D-2. Figure D-3. xiv CLI administration commands ...................................................................... D-3 CLI serial port commands.............................................................................
Tables Table 2-1. Table 2-2. Table 2-3. Table 2-4. Table 2-5. Table 2-6. Table 2-7. Table 3-8. Table 3-9. Table 3-10. Table 4-1. MeshGate terminal block pin assignments ..................................................... 2-4 MeshGate Extra Long Range status LEDs ..................................................... 2-10 MeshGate Extra Long Range default Settings .............................................. 2-11 Mesh Node terminal block pin assignments .................................................
xvi Millennial Net
About This Guide This section provides information related to the content of the user guide: • ’Audience’ on page xviii • ’Using This Guide’ on page xviii • ’Symbols and Conventions’ on page xix • ’Contacting Millennial Net’ on page xx RK-5424-5 Reference Kit User’s Guide xvii
Audience This guide is intended for the following qualified service personnel who are responsible for installing, operating, and developing software to interface with the RK-5424-5 MeshScape Wireless Mesh Network Reference Kit: • System installer • Hardware technician • System operator • System administrator • Software developer Using This Guide The sections of this guide provide the following information: Section Provides Chapter 1, “Introduction” General overview of wireless mesh networking a
Symbols and Conventions This guide uses the following symbols and conventions to emphasize certain information. Note: A note is used to highlight important information relating to the topic being discussed. Caution A caution means that a specific action could cause harm to the equipment or to the data. Warning A warning describes an action that could result in physical injury, or destruction of property. Hazard A hazard is a particular form of warning related expressly to electric shock.
Contacting Millennial Net World Wide Web Millennial Net maintains a site on the World Wide Web where information on the company and its products can be found. The URL is: www.millennialnet.com Customer Support For answers to your technical questions, Millennial Net’s Customer Service department can be reached at: phone: +1 781.222.1030 e-mail: support@millennialnet.com Technical Publications Millennial Net is committed to providing you with quality technical documentation.
1 Introduction This chapter provides an overview of the MeshScape system and Reference Kit.
Introduction Wireless Mesh Networking Overview This section provides you with a basic understanding of wireless mesh network concepts and components. Defining Wireless Mesh Networks Until recently, networks designed for monitoring and controlling sensors or actuators on a network were limited in application and scope due to a major network design consideration—the cables required to connect the various sensors and actuators to a centralized collection point.
Wireless Mesh Networking Overview In an ad hoc network, sensor nodes consisting of a sensor attached to a wireless module can be randomly placed and moved as needed. If the network needs to scale up, additional sensor nodes are easily added. The new sensor nodes and surrounding network will do the work of discovering each other and establishing communication paths through single- and multi-hop paths.
Introduction System Modules The modules of a wireless mesh network enable wireless connectivity within the network, connecting an application platform at one end of the network with one or more sensor or actuator devices at the other end. As shown in Figure 1-2, the gateway and end node modules create a transparent, wireless data path between the application platform and sensor. Figure 1-2.
Wireless Mesh Networking Overview Gateway The gateway is the interface between the application platform and the wireless nodes on the network. The gateway can be a discrete module, or it can be integrated onto a Flash card form factor for use in, for example, a handheld device. All information received from the various network nodes is aggregated by the gateway and forwarded on to the application platform.
Introduction MeshScape System Overview In order to realize benefits wireless mesh networking promises, the technology must be able to address several critical requirements: reliability of data transmission, responsiveness to adapt to dynamic environments, power efficiency, and scalability. The MeshScape™ wireless mesh networking system from Millennial Net delivers on all of these requirements.
MeshScape System Overview techniques including, Persistent Dynamic Routing for reliable and scalable wireless mesh networks. When forming an ad hoc sensor network, Persistent Dynamic Routing requires minimal overhead for requesting and establishing connectivity without relying on the bandwidth-consuming flooding technique. MeshScape Network Monitor and Application APIs The MeshScape system delivers the tools to view and control network dynamics.
Introduction Figure 1-5. Direct serial connection to the MeshGate MeshScape Network Monitor Host PC MeshGate RS-232 Cable In this topology, only one MeshScape API-based application running on the host PC can access the MeshScape. TCP/IP Connection to the MeshScape Serial Proxy Server Figure 1-6 shows a PC that is running the MeshScape Serial Proxy Server and is connected to the MeshGate Extra Long Range via the PC’s serial port.
MeshScape System Overview Figure 1-6. Connection to the MeshGate via the MeshScape serial proxy server MeshScape Network Monitor Serial Proxy Server 10.0.0.90:45090 MeshGate Extra Long Range MeshScape API-based Application MeshScape Network Monitor MeshScape API-based Application TCP/IP Connection to an Ethernet-to-serial Adapter Figure 1-7 shows a MeshGate Extra Long Range connected to an Ethernet network using an Ethernet-to-serial adapter.
Introduction Local and remote MeshScape API-based applications including MeshScape Network Monitor access the MeshScape data on the MeshGate Extra Long Range by connecting to the MeshScape Serial Proxy Server at IP address 10.0.0.90 on port 2101. Millennial Net has qualified the Digi One SP Ethernet-to-serial adapter for use with MeshScape wireless mesh networks.
MeshScape System Overview Data Models The MeshScape system provides built-in support for data movement profiles to speed development including: • data collection models • bi-directional dialogue models • broadcast models These data models optimize the network for an application’s specific data requirements and support a variety of classes for collection and bi-directional dialogue data models.
Introduction Store and Forward In many applications, data can be captured and stored or even processed by a sensor node before it is transmitted to the gateway or base station. Instead of immediately transmitting every data unit as it is acquired, aggregating and processing data by remote sensor nodes can potentially improve overall network performance in both power consumption and bandwidth efficiency.
MeshScape System Overview Stream In the stream data model, the gateway/application sends data in a continuous stream to all sensor/actuator nodes on the wireless mesh network. The transport service guarantees that all data is delivered to the other end in the same order as sent and without duplicates. The stream data model is used when performing network upgrades. Low-Power Configuration Many sensors are dispersed over a wide area and must rely on batteries or solar cells for their power source.
Introduction The MeshScape RK-5424-5 Reference Kit Millennial Net's RK-5424-5 Reference Kit contains everything you need to set up a self-organizing, wireless star-mesh network. Once installed, you are able to observe the performance and operation of the network components and prototype your application.
The MeshScape RK-5424-5 Reference Kit Major Features Major features of the MeshScape RK-5424-5 Reference Kit include the following: • frequency band: 2.
Introduction Warning These electronic products are sensitive to electrostatic discharge (ESD). Permanent damage to these devices can result if subjected to high energy electrostatic discharges. Proper precautions are recommended to avoid performance degradation or loss of functionality. Host PC Requirements The reference kit requires a personal computer (PC) to run the supplied application software. The host PC must have the following minimal configuration: • Microsoft Windows XP • Processor: 1.
2 Installing the MeshScape System This chapter provides the following MeshScape system installation information: • ’Installing the MeshScape Wireless Mesh Network’ on page 2-2 • ’Installing the Hardware’ on page 2-3 • ’Installing MeshScape Software’ on page 2-19 RK-5424-5 Reference Kit User’s Guide 2-1
Installing the MeshScape System Installing the MeshScape Wireless Mesh Network This section of the user’s guide describes how to install the reference kit’s hardware and software components. Installation should be performed in the following order: 1. MeshGate Extra Long Range (see ’MeshGate Extra Long Range Setup (MG-5424XL)’ on page 2-3) 2. Mesh Nodes (see ’Mesh Node Setup (MN-5424)’ on page 2-12) 3. End Nodes (see ’End Node Setup (EN-5424)’ on page 2-16) 4.
Installing the Hardware Installing the Hardware The following procedures describe in order, how to install the various hardware components of the reference kit. When initially setting up the hardware, it is recommended that the MeshGate Extra Long Range, Mesh Nodes, and End Nodes be placed close to the host PC. This will make verifying proper network installation and operation easier when first establishing a session with MeshScape Network Monitor.
Installing the MeshScape System The function of each MeshGate terminal block pin is described as follows: Table 2-1. MeshGate terminal block pin assignments Pin Label Input/Output Function 1 RTN Reference Reference connection for RS-485 2 A I/O RS-485 signal + 3 B I/O RS-485 signal - 4 3.3V Output Power 3.
Installing the Hardware 4. Mount the MeshGate Extra Long Range to the wall using two #6 screws (not supplied). Mounting the MeshGate Extra Long Range to a DIN Rail Millennial Net offers an optional DIN rail mounting kit (MG-DIN) to enable you to mount the MeshGate to a standard DIN rail easily and quickly. To mount the MeshGate Extra Long Range to a DIN rail using the supplied DIN rail mounting bracket and hardware, refer to Figure 2-9 and complete the following steps: Figure 2-9.
Installing the MeshScape System • Establish a TCP/IP connection from the Network Monitor host PC to a MeshScape Serial Proxy Server that has a direct serial connection to the MeshGate Extra Long Range. The MeshScape Serial Proxy Server that runs on a Linux or Windows XP host is supplied with your MeshScape RK-5424-5 Reference Kit software. See page 2-20 for information about installing and running the MeshScape Serial Proxy Server.
Installing the Hardware A MeshScape API-based application functions as a serial proxy client by changing its lowest level serial interface to a TCP/IP interface. The MeshScape API TCP/IP serial proxy client interface opens a connection to the MeshScape Serial Proxy Server by connecting to its well advertised port.
Installing the MeshScape System TCP/IP Connection to an Ethernet-to-serial Adapter Figure 2-12 shows a MeshGate Extra Long Range connected to an Ethernet network using an Ethernet-to-serial adapter. The Ethernet-to-serial adapter has both an RJ-45 Ethernet connector and a DB-9 serial connector. The device accepts TCP/IP packetized serial data from the Ethernet, extracts the raw data, and forwards it out the serial port. The reverse operation is performed in the serial-to-Ethernet direction.
Installing the Hardware Figure 2-12. Connection to the MeshGate via Ethernet-to-serial Adapter MeshGate Extra Long Range MeshScape Network Monitor Ethernet-to-serial Adapter 10.0.0.90:2101 MeshScape API-based Application MeshScape Network Monitor MeshScape API-based Application Console Port The MeshGate Console Port is a mini-serial connector that provides access to the MeshGate command line interface (CLI).
Installing the MeshScape System 1. Attach one of the four included 1/2-wave antennas to the REV-SMA antenna connector. The antenna screws onto the connector. Caution When attaching the antenna, only hand-tighten the antenna to the connector. Using excessive force may damage the connector. 2.
Installing the Hardware Table 2-2. MeshGate Extra Long Range status LEDs LED ACT STS Led State Status Flashing Gateway detects RF activity. The Activity LED will flash when detecting valid packets (packets destined for device) and may also flash when detecting invalid packets (packets destined for other devices) or environmental noise. Only valid packets are processed by the device. Off No RF activity detected. (Reserved for future use.
Installing the MeshScape System Mesh Node Setup (MN-5424) The Mesh Nodes, model number MN-5424 (label with model number on bottom), are shipped enclosed in cases that provide: RP-SMA antenna connector, three-position external power source switch, and a connector for the supplied power adapter as shown in Figure 2-13.