Benair BeanGateway User manual

Version 2.8
BEANAIR®
BEANGATEWAY®USER MANUAL
Rethinking Sensing Technology

“Rethinking sensing technology”
Document version : 2.8
BeanGateway® User Manual
Document type : User Manual
Please consider the environment before printing this document.
Page : 2 / 75
DOCUMENT
Document ID
UM_RF_05
Version
V2.7
External reference
UM_RF_05_ENG_BeanGateway
Date
22/12/2016
Author
Youssef Shahine, Embedded Software Engineer
Project Code
Document’s name
BeanGateway® User Guide
VALIDATION
Fonction
Destination
For
validation
For
info
Writer
Aleksandr Drimitov
✓
Reader
Mohamed-Yosri Jaou.
✓
Validation
Antje Jacob
✓
DIFFUSION
Fonction
Destination
For
action
For
info
Reader n°1
Maxime Obr., Embedded software engineer
✓
Reader n°2
Mohamed-Yosri Jaou., Embedded software
engineer
✓
UPDATES
Version
Date
Auteur
Evolution & Status
2.2
16/10/2014
Aleksandr Drimitov
•BeanGateway® Picture changed
•TimeSync function added
2.3
08/06/2015
Aleksandr Drimitov
•RS485, RS232 technical specifications added
•ModBus® Protocol
2.4
17/11/2015
Aleksandr Drimitov
•New videos added
•Removing a BeanDevice® from a WSN –process description
2.5
29/09/2016
Salah Riahi
•Installation with BeanScape software , more info added
2.6
22/12/2016
Salah Riahi
•Upload Cartography video added
2.7
22/12/2016
Salah Riahi
•Adde more information about wall mounting Kit
2.8
05/07/2018
Youssef Shahine
•FAQ updated with Serial cable problems
•BeanGateway® description updated

“Rethinking sensing technology”
Document version : 2.8
BeanGateway® User Manual
Document type : User Manual
Please consider the environment before printing this document.
Page : 3 / 75
Disclaimer
The contents are confidential and any disclosure to persons other than the officers, employees, agents or
subcontractors of the owner or licensee of this document, without the prior written consent of Beanair GmbH, is
strictly prohibited.
Beanair makes every effort to ensure the quality of the information it makes available. Notwithstanding the
foregoing, Beanair does not make any warranty as to the information contained herein, and does not accept any
liability for any injury, loss or damage of any kind incurred by use of or reliance upon the information.
Beanair disclaims any and all responsibility for the application of the devices characterized in this document, and
notes that the application of the device must comply with the safety standards of the applicable country, and where
applicable, with the relevant wiring rules.
Beanair reserves the right to make modifications, additions and deletions to this document due to typographical
errors, inaccurate information, or improvements to programs and/or equipment at any time and without notice.
Such changes will, nevertheless be incorporated into new editions of this document.
Copyright: Transmittal, reproduction, dissemination and/or editing of this document as well as utilization of its
contents and communication thereof to others without express authorization are prohibited. Offenders will be held
liable for payment of damages. All rights are reserved.
Copyright © Beanair GmbH 2018

“Rethinking sensing technology”
Document version : 2.8
BeanGateway® User Manual
Document type : User Manual
Please consider the environment before printing this document.
Page : 4 / 75
1. TECHNICAL SUPPORT.................................................................................................................................... 7
2. VISUAL SYMBOLS DEFINITION...................................................................................................................... 8
3. ACRONYMS AND ABBREVIATIONS ...............................................................................................................9
4. RELATED DOCUMENTS & VIDEOS..............................................................................................................10
4.1 Applications Notes...................................................................................................................................10
4.2 Technical Notes....................................................................................................................................... 11
4.3 Related videos.........................................................................................................................................12
5. DOCUMENT ORGANIZATION........................................................................................................................13
6. PRODUCT PRESENTATION..........................................................................................................................14
6.1 Product overview..................................................................................................................................... 14
6.2 BeanGateway® Technical specifications................................................................................................16
6.2.1 Common specifications..................................................................................................................16
6.2.2 Wireless sensor network coordinator ............................................................................................16
6.2.3 Ethernet/LAN Network................................................................................................................... 16
6.2.4 Modbus serial (BeanGateway® Indoor Modbus) ..........................................................................17
6.2.5 Modbus serial (BeanGateway® Outdoor Modbus)........................................................................17
6.2.6 Power supply .................................................................................................................................17
6.2.7 Physical and Environmental (BeanGateway® Indoor) ..................................................................17
6.2.8 Physical and environmental (BeanGateway® Outdoor)................................................................ 18
6.2.9 Accessories (BeanGateway® Indoor) ...........................................................................................18
6.2.10 Accessories (BeanGateway® Outdoor).........................................................................................18
6.3 Enclosure description..............................................................................................................................19
6.3.1 BeanGateway® Indoor Version.....................................................................................................20
6.3.2 BeanGateway® Outdoor version...................................................................................................22
6.3.3 Led Description.............................................................................................................................. 24
6.4 Antenna specifications.............................................................................................................................25
6.4.1 2.4 GHz –Indoor Antenna.............................................................................................................25
6.4.1 2.4 GHz –Outdoor Antenna..........................................................................................................26
6.5 Integrated UPS (Uninteruptible power supply)........................................................................................27
Contents

“Rethinking sensing technology”
Document version : 2.8
BeanGateway® User Manual
Document type : User Manual
Please consider the environment before printing this document.
Page : 5 / 75
7. SERIAL LINE SPECIFICATIONS (RS232/RS485) .........................................................................................28
7.1 RS232 Line (BeanGateway® Indoor only)..............................................................................................28
7.1.1 Technical features .........................................................................................................................28
7.1.2 Wiring code....................................................................................................................................28
7.2 RS485 Line..............................................................................................................................................29
7.2.1 Technical features .........................................................................................................................29
7.2.2 Switchable termination...................................................................................................................29
7.2.3 RJ45 Wiring code (BeanGateway® Indoor version)......................................................................30
7.2.4 M12-4 Pins Plug Wiring code (BeanGateway® Outdoor version).................................................30
8. BEANGATEWAY® INSTALLATION GUIDELINES.........................................................................................32
8.1 How to install the BeanGateway®........................................................................................................... 32
8.1.1 Wall mounting................................................................................................................................32
8.1.2Desktop installation........................................................................................................................33
8.1.3 Wall mounting kit for the BeanGateway® outdoor ........................................................................33
8.1.4 Mounting brackets design..............................................................................................................34
8.1.5 Antenna connection....................................................................................................................... 35
8.2 Power supply socket wiring.....................................................................................................................36
8.2.1 BeanGateway® outdoor power supply..........................................................................................37
8.2.2 BeanGateway® indoor power supply............................................................................................37
9. START YOUR APPLICATION.........................................................................................................................39
9.1 Connect your BeanGateway® to your PC/Laptop...................................................................................39
9.2 LAN Configuration on your PC................................................................................................................40
9.3 Connecting your BeanGateway® to your BeanScape® ......................................................................... 44
9.4 Start the BeanScape®.............................................................................................................................46
9.5 BeanGateway® profile ............................................................................................................................48
9.5.1 Status description ..........................................................................................................................49
9.5.2 User-configurable parameters.......................................................................................................51
9.6 Log File Organization .............................................................................................................................. 60
9.6.1 Log file system overview................................................................................................................60
9.6.2 Log file directory ............................................................................................................................61
10. MULTI-WSN CONFIGURATION.....................................................................................................................63
11. ENVIRONNEMENTAL CONSTRAINTS..........................................................................................................64
11.1 Sealing.....................................................................................................................................................64
11.2 Sensitivity to radio frequency ..................................................................................................................64
11.3 Temperature............................................................................................................................................64
11.4 Humidity...................................................................................................................................................64
11.5 Reflections, Obstructions and Multipath..................................................................................................64
11.6 shocks and vibration................................................................................................................................65
11.7 Antenna ...................................................................................................................................................65
11.8 Others features........................................................................................................................................65

“Rethinking sensing technology”
Document version : 2.8
BeanGateway® User Manual
Document type : User Manual
Please consider the environment before printing this document.
Page : 6 / 75
12. FREQUENTLY ASKED QUESTIONS.............................................................................................................67
12.1 How the connection is established between the Beangateway® and the BeanScape® ? .....................67
12.2 How can I find IP Address and PAN ID ?................................................................................................ 71
12.3 How to handle problems with USB to Serial adapter? ............................................................................71
12.3.1 Driver issue....................................................................................................................................72
12.3.2 Hardware problem .........................................................................................................................74
12.3.3 Performance problems .................................................................................................................. 74

“Rethinking sensing technology”
Document version : 2.8
BeanGateway® User Manual
Document type : User Manual
Please consider the environment before printing this document.
Page : 7 / 75
1. TECHNICAL SUPPORT
For general contact, technical support, to report documentation errors and to order manuals, contact Beanair
Technical Support Center (BTSC) at:
For detailed information about where you can buy the Beanair equipment/software or for recommendations on
accessories and components visit:
www.Beanair.com
To register for product news and announcements or for product questions contact Beanair’s Technical Support
Center (BTSC).
Our aim is to make this user manual as helpful as possible. Keep us informed of your comments and suggestions
for improvements.
Beanair appreciates feedback from the users of our information.

“Rethinking sensing technology”
Document version : 2.8
BeanGateway® User Manual
Document type : User Manual
Please consider the environment before printing this document.
Page : 8 / 75
2. VISUAL SYMBOLS DEFINITION
Symbols
Definition
Caution or Warning –Alerts the user with important information about
Beanair wireless sensor networks (WSN), if this information is not
followed, the equipment /software may fail or malfunction.
Danger –This information MUST be followed if not you may damage the
equipment permanently or bodily injury may occur.
Tip or Information –Provides advice and suggestions that may be useful
when installing Beanair Wireless Sensor Networks.

“Rethinking sensing technology”
Document version : 2.8
BeanGateway® User Manual
Document type : User Manual
Please consider the environment before printing this document.
Page : 9 / 75
3. ACRONYMS AND ABBREVIATIONS
AES
Advanced Encryption Standard
CCA
Clear Channel Assessment
CSMA/CA
Carrier Sense Multiple Access/Collision Avoidance
GTS
Guaranteed Time-Slot
kSps
Kilo samples per second
LLC
Logical Link Control
LQI
Link quality indicator
LDCDA
Low duty cycle data acquisition
MAC
Media Access Control
PAN
Personal Area Network
PER
Packet error rate
RF
Radio Frequency
SD
Secure Digital
WSN
Wireless sensor Network

“Rethinking sensing technology”
Document version : 2.8
BeanGateway® User Manual
Document type : User Manual
Please consider the environment before printing this document.
Page : 10 / 75
4. RELATED DOCUMENTS & VIDEOS
In addition to this User manual, please consult the related application notes, technical notes and videos:
4.1 APPLICATIONS NOTES
Document name (Click on the
weblink)
Related product
Description
AN_RF_007 :“
Beanair_WSN_Deployment“
All BeanAir products
Wireless sensor networks deployment
guidelines
AN_RF_006 –„How to extend your
wireless range“
All BeanAir products
A guideline very useful for extending
your wireless range
AN_RF_005 –BeanGateway ® & Data
Terminal Equipment Interface
BeanGateway ®
DTE interface Architecture on the
BeanGateway ®
AN_RF_003 - “IEEE 802.15.4 2.4 GHz Vs
868 MHz”
All BeanAir products
Comparison between 868 MHz
frequency band and a 2.4 GHz
frequency band.
AN_RF_002 –“Structural Health
monitoring on bridges”
All BeanAir products
The aim of this document is to
overview Beanair® products suited for
bridge monitoring, their deployment,
as well as their capacity and limits by
overviewing various Data acquisition
modes available on each
BeanDevice®.

“Rethinking sensing technology”
Document version : 2.8
BeanGateway® User Manual
Document type : User Manual
Please consider the environment before printing this document.
Page : 11 / 75
4.2 TECHNICAL NOTES
Document name
(Click on the weblink)
Related product
Description
TN_RF_013 –« OPC configuration »
BeanScape® Premium+
The aim of this document is to help
deploying the OPC DA and all associated
services.
TN_RF_012–« BeanDevice® battery life
in streaming mode »
All the products
The aim of this document is to describe
the autonomy performance of the
BeanDevice® SmartSensor® and
ProcessSensor® product line in streaming
and streaming packet mode.
TN_RF_011 –« Coexistence of Beanair
WSN at 2.4GHz »
All the products
This document aims to highlight the issues
affecting co-existence of Beanair WSN
(IEEE 802.15.4) in the presence of
interference.
TN_RF_010 –« BeanDevice® Power
Management »
All the BeanDevice®
This technical note describes the sleeping
& active power mode on the BeanDevice®.
TN_RF_009 –« BeanGateway ®
management on LAN infrastructure »
BeanGateway ®
BeanGateway ® integration on a LAN
infrastructure
TN_RF_008 –“Data acquisition modes
available on the BeanDevice®”
All the BeanDevice®
Data acquisition modes available on the
BeanDevice®
TN_RF_007 –“BeanDevice®
DataLogger User Guide ”
All the BeanDevice®
This document presents the DataLogger
feature on the BeanDevice®
TN_RF_006 –“WSN Association
process”
All the BeanDevice®
Description of the BeanDevice® network
association
TN_RF_005 –“Pulse counter & binary
Data acquisition on the BeanDevice®
SUN-BN”
BeanDevice® SUN-BN
This document presents Pulse counter (ex:
energy metering application) and binary
Data acquisition features on the
BeanDevice® SUN-BN.
RF_TN_003- “Aggregation capacity of
wireless sensor networks”
All the products
Network capacity characterization of
Beanair Wireless Sensor Networks
RF_TN_002 V1.0 - Current consumption
in active & sleeping mode
BeanDevice®
Current consumption estimation of the
BeanDevice in active and sleeping mode
RF_TN_001 V1.0- Wireless range
benchmarking
BeanDevice®
Wireless range benchmarking of the
BeanDevice®

“Rethinking sensing technology”
Document version : 2.8
BeanGateway® User Manual
Document type : User Manual
Please consider the environment before printing this document.
Page : 12 / 75
4.3 RELATED VIDEOS
All the videos are available on our Youtube channel
Beanair video link (Youtube)
Related products
Company Presentation
All
BeanGateway ® - Ethernet Outdoor version
introduction
BeanGateway ® - Ethernet Outdoor version
introduction
BeanGateway ® –Ethernet Indoor version presentation
BeanGateway ® Ethernet Indoor version
BeanDevice® AN-XX wireless range demonstration
BeanDevice® AN-XX & BeanDevice® AN-XX Extender
BeanDevice® AN-XX presentation
BeanDevice® AN-XX & BeanDevice® AN-XX Extender
BeanDevice® AX-3D presentation
BeanDevice® AX-3D
BeanDevice® HI-INC presentation
BeanDevice® HI-INC
BeanDevice® AX-3DS presentation
BeanDevice® AX-3DS
BeanScape® –WSN supervision software
BeanScape®
BeanGateway ® Ethernet/LAN Configuration, directly
connected to the Laptop/PC
BeanGateway ®
Wireless sensors profile deletion from the
BeanGateway ® Database
All

“Rethinking sensing technology”
Document version : 2.8
BeanGateway® User Manual
Document type : User Manual
Please consider the environment before printing this document.
Page : 13 / 75
5. DOCUMENT ORGANIZATION
•Details the BeanGateway® product presentation
BeanGateway® product
presentation
•Details the installation guidelines of the BeanGateway®
BeanGateway® installation
guidelines
•Details the BeanGateway® supervision from the BeanScape®
Start your application
•Details the BeanGateway® maintenance (for experienced user)
Maintaining and supervising
your BeanGateway®
•BeanGateway® FAQ
Troubleshooting
•Describes environnemental constraints (temperature,
humidity, mechanical chocs, vibration...)
Environnemental Constraints

“Rethinking sensing technology”
Document version : 2.8
BeanGateway® User Manual
Document type : User Manual
Please consider the environment before printing this document.
Page : 14 / 75
6. PRODUCT PRESENTATION
✓It is highly recommended to read all the user manual related to Beanair software &
equipment (BeanScape ®, BeanGateway®, BeanDevice ®) before getting start your
BeanGateway®.
✓Use only accessories supplied by Beanair (power supply unit, and antenna). Use of other
materials may damage the BeanGateway®;
✓Only Beanair is qualified to make changes on the BeanGateway®;
✓Don’t try to remove the adhesive label on the product; it contains important information such
as the MAC address
6.1 PRODUCT OVERVIEW
The BeanGateway® is used to build and manage Beanair wireless sensor networks. It can manage queues
for every network element (BeanDevice®). As a gateway, it controls the external access to the network
through a highly secured authenticated procedure. It supports the conversion of data exchanged,
compression and IP connectivity with the network thereby reducing the intelligence required in these
platforms, maintenance and therefore the associated cost.

“Rethinking sensing technology”
Document version : 2.8
BeanGateway® User Manual
Document type : User Manual
Please consider the environment before printing this document.
Page : 15 / 75
It allows communication with the Wireless Sensors Network through IEEE 802.15.4 protocol. The
BeanGateway® provides standard protocols for a better communication with a SCADA supervision
software:
✓LAN/Ethernet
✓ModBus TCP/RS485/RS232
It provides the following features:
✓Design, configuration and supervision of the entire Wireless sensors network.
✓Data Organization from the various sensors.
✓Data Transmission to the BeanScape®.
✓Backing up wireless sensors network mapping.
✓Information processing continuously even during a power outage.
✓Data recording on Micro-SD card (option)

“Rethinking sensing technology”
Document version : 2.8
BeanGateway® User Manual
Document type : User Manual
Please consider the environment before printing this document.
Page : 16 / 75
6.2 BEANGATEWAY® TECHNICAL SPECIFICATIONS
6.2.1 Common specifications
These specifications are common to all the BeanGateway® version.
6.2.2 Wireless sensor network coordinator
6.2.3 Ethernet/LAN Network
Wireless Technology
WSN Topology
Raw data rate
RF Characteristics
RF Transmit power
Receiver sensitivity
Maximum Radio Range
ISM 2.4GHz – 16 Channels
Peer-to-peer/ Star
-104 dBm
1 km (Line of Sight) , 70-150m (Non Line of Sight)
Built-in WSN Diagnostic tool
· Energy Scan for choosing a suitable RF Channel
· BeanDevice® PER (Packet Error Rate) calculation
· LQI (Link Quality Indicator) between the BeanGateway® and the BeanDevice®
· RF channels Blacklist
+18 dBm
Wireless Sensor Network Coordinator
Ultra-Power and license-free 2.4Ghz radio technology (IEEE 802.15.4E)
250 Kbits/s
Network/Transport Protocol
Data Link Protocol
IP Addressing
IP configuration
Dynamic (DHCP) or static
LAN parameters (DNS, DHCP, Keep Alive…) are configurable from the BeanScape®
(UDP/Ethernet Interface).
Ethernet/LAN Network
Client TCP/IP, UDP, DNS, DHCP
Ethernet / Fast-Ethernet with auto-uplink (MDI/MDI-X auto) - IEEE 802.3x

“Rethinking sensing technology”
Document version : 2.8
BeanGateway® User Manual
Document type : User Manual
Please consider the environment before printing this document.
Page : 17 / 75
6.2.4 Modbus serial (BeanGateway® Indoor Modbus)
6.2.5 Modbus serial (BeanGateway® Outdoor Modbus)
6.2.6 Power supply
6.2.7 Physical and Environmental (BeanGateway® Indoor)
Specifications
ModBus over RS232
(only available on BGTW-ETH-
MODSERIAL-IND)
ModBus over RS485 (2W)
(only available on BGTW-ETH-
MODRS485-IND)
ModBus Serial
Slave, RTU/ASCII, Baudrate: Between 4800 bauds to 115 200 bauds
Slave, RTU/ASCII, Baudrate: Between 4800 bauds to 115 200 bauds
Logic selectable 120 Ohm termination
Specifications
ModBus Serial
ModBus over RS485
Slave, RTU/ASCII, Baudrate: Between 4800 bauds to 115 200 bauds
Logic selectable 120 Ohm termination
Power Consumption
External power supply
Integrated Lithium-Ion Battery
Power Supply
250 mA to 300 mA during wireless RX/TX and Ethernet activated
8-28 VDC , integrated Lithium-Ion battery charger with high-precision battery monitoring
Lithium-Ion rechargeable battery 950 mAh (reference BAT0.95DMG)
In case of external power supply failure, the BeanGateway® can switch on the internal
battery.
Dimensions (L x l x h)
Enclosure/Finish
Weight
Operating temperature
Norms and Radio Certifications
Physical & Environmental
200 mm x 88 mm x 48 mm
Polycarbonate Enclosure - Protection ULV94/Getex
370g
-20 °C to +65 °C during battery discharge
0 to 45°C during battery charge
· CE Labelling Directive R&TTE (Radio) ETSI EN 300 328
· FCC (North America)
· ARIB STD-T66 Ver 3.6
· ROHS - Directive 2002/95/EC

“Rethinking sensing technology”
Document version : 2.8
BeanGateway® User Manual
Document type : User Manual
Please consider the environment before printing this document.
Page : 18 / 75
6.2.8 Physical and environmental (BeanGateway® Outdoor)
6.2.9 Accessories (BeanGateway® Indoor)
6.2.10 Accessories (BeanGateway® Outdoor)
Dimensions (L x l x h)
IP Ratings
Weight
Operating temperature
Norms and Radio Certifications
Enclosure/Finish
Connectors
1220g
Physical & Environmental
202 mm x142 mm x 55 mm
· Aluminum alloy ADC12 black finish
· Wall mounting holes (outside the sealing area)
IP67
· Power supply connector: M8-3P female socket, Ratings IP67, Contact brass with gold
· Ethernet connector : RJ45 Female, Ratings IP67, Contact copper alloy with gold
plated
· Antenna connector: N-Type female, Ratings IP67
· ON/OFF push button : Latching push-button, Ratings IP67
· Network context push button: momentary push-button, Ratings IP67
-20 °C to +65 °C during battery discharge
0 to 45°C during battery charge
· CE Labelling Directive R&TTE (Radio) ETSI EN 300 328
· FCC (North America)
· ARIB STD-T66 Ver 3.6
· ROHS - Directive 2002/95/EC
Wall plug-in power supply
Ethernet Cable
2.4 GHz Antenna
Accessories
Wall plug-in, Switchmode power Supply 12V @ 1.25A
· High gain antenna 5 dBi
· V.S.W.R : 1.5 :1
· Connector : RPSMA
· RJ45 Male
· Cable length: 2 meters
Wall mounting
Wall plug-in power supply
Connectors cap
2.4 GHz Antenna
Ethernet Cable
Accessories
· High gain antenna 5 dBi
· V.S.W.R : 1.5 :1
· Connector : N-Type (Waterproof)
· RJ45 Male waterproof connector (casing side only)
· Cable length: 3 meters
Wall plug-in, Switchmode power Supply 12V @ 1,25A
M8-3P cap
Wall mounting kit, 4 pcs

“Rethinking sensing technology”
Document version : 2.8
BeanGateway® User Manual
Document type : User Manual
Please consider the environment before printing this document.
Page : 19 / 75
6.3 ENCLOSURE DESCRIPTION
The BeanGateway® casing comes in two versions:
Indoor Version
Outdoor version
Enclosure
Applications
✓Indoor application only, the
product is not waterproof
✓Remote sites (wind, water pipe, gas,
mountains ...)
✓Wireless Sensor Networks deployment in
outdoor over long distances.

“Rethinking sensing technology”
Document version : 2.8
BeanGateway® User Manual
Document type : User Manual
Please consider the environment before printing this document.
Page : 20 / 75
6.3.1 BeanGateway® Indoor Version
Click on the following web link to see the video: BeanGateway® –Ethernet Indoor version presentation
The BeanGateway® indoor has many buttons and connectors, let's see their meaning with illustrations
Front View
CNC/ Network push button (Restore
factory settings)
Micro-SD Slot
WSN activity Led
LAN activity Led
ModBus activity Led
2.4GHz antenna
Table of contents