Brultech GreenEye GEM-WE Manual

Commands
GEM Setup
WiFi/Ethernet Combination
For GEM model: GEM-WE
Document Code: GEM-SET-WE
Ver 3.4
2013-05-22
©Copyright Brultech Research Inc. 2013
GreenEye Monitor

© Brultech Research Inc. 1 www.brultech.com
TABLE OF CONTENTS
Introduction .......................................................................................................................... 3
Important...................................................................................................................................................... 3
Mission.......................................................................................................................................................... 4
Steps.............................................................................................................................................................. 4
Requirement ................................................................................................................................................. 4
The Communication Module ........................................................................................................................ 4
Start-up Sequence......................................................................................................................................... 5
Communication Status LED........................................................................................................................... 5
Reset to factory defaults........................................................................................................ 5
Connecting Directly to the GEM ............................................................................................. 7
Important Note ............................................................................................................................................. 7
Factory Default Values.................................................................................................................................. 7
Connecting to the GEM via WiFi ................................................................................................................... 7
Steps..................................................................................................................................................... 8
Network Connection Options ....................................................................................................................... 8
WiFi Connection ................................................................................................................................... 8
Ethernet Connection ............................................................................................................................ 8
WiFi Connection to a Network ............................................................................................... 9
Connecting the GEM to a Network............................................................................................................... 9
Steps............................................................................................................................................................10
Important Note .................................................................................................................................. 10
GEM Did Not Connect ........................................................................................................................ 13
Ethernet Connection to a Network ...................................................................................... 14
Steps............................................................................................................................................................14
Important Note .................................................................................................................................. 14
Connect a PC to the GEM via Network ................................................................................. 17
Discovering the GEM’s IP Address .............................................................................................................. 17
Discovery Using GEM Network Utility................................................................................................ 17
Steps...................................................................................................................................................18
Connecting to Communication Module Setup Page .............................................................. 21
Opening the Setup Page .............................................................................................................................21
Connect to the GEM Setup Page .......................................................................................... 22
Preferred Baud............................................................................................................................................ 22
Switching to 115200 Baud ..........................................................................................................................22
Opening the GEM Setup Page..................................................................................................................... 23
Upgrading GEM Firmware (Optional) ................................................................................... 24
Firmware.....................................................................................................................................................24
COM Firmware ...................................................................................................................................24
ENG Firmware .................................................................................................................................... 24
Required Baud.............................................................................................................................................24
Changing to 19200 Baud .................................................................................................................... 24
ENG Firmware Upgrade ..............................................................................................................................25
COM Firmware Upgrade ............................................................................................................................. 26

© Brultech Research Inc. 2 www.brultech.com
Recovery From Failed COM Firmware Upgrade .........................................................................................26
Recovery From Failed ENG Firmware Upgrade .......................................................................................... 27
Appendix A.......................................................................................................................... 28
GEM to PC Direct Ethernet Connection ......................................................................................................28
Set PC with Static IP Address ......................................................................................................................28

Introduction
© Brultech Research Inc. 3 www.brultech.com
INTRODUCTION
IMPORTANT
This manual is for GreenEye Monitors models with “WiFi / Ethernet Combination”module only (with or
without an XBee module). The picture in Figure 1 displays the “WiFi/Ethernet Module” (outlined in blue).
Figure 1
If the GEM has a communication option other than “WiFi/Ethernet Combo” then refer to Table 1 to
determine the appropriate setup document required.
Communication Option
Document Name
Document Code
No communication module
GEM Setup
No Module
GEM-SET
WiFi Only
GEM Setup
WiFi Only Option
GEM-SET-W
Ethernet Only
GEM Setup
Ethernet Only Option
GEM-SET-E
WiFi / Ethernet Combination
GEM Setup
WiFi/Ethernet Combination
GEM-SET-WE
Indirect Communication via the
DashBox
GEM Setup
Via DashBox
GEM-SET-DB

Introduction
© Brultech Research Inc. 4 www.brultech.com
Table 1
MISSION
The objective of this document is to establish a connection between a PC and the GEM allowing the
GEM firmware to be upgraded if needed and gaining access to the GEM Setup page. Tasks covered in
this manual are listed below.
Setting Communication Module to Factory Defaults. This provides a known IP address for initial
connection
Connecting a PC directly to the GEM for configuration purposes.
Establish a direct connection between a PC and the GEM. This enables the user to enter local
network information such as SSID, Password, etc., allowing the GEM to connect to a network
Connecting the GEM to a Network. Once the GEM is connected to a local network, the PC can
then connect to the same network
Connecting to the GEM’s Setup Interface. The setup interface is browser based. Once a PC
connects to the GEM via network, all GE settings may then be configured
Upgrading the GEM’s Firmware. A guide is provided to perform firmware upgrades to the GEM
STEPS
A typical setup procedure would consist of the following order of steps, although some scenarios may
differ.
1. Set communication module to factory default
2. Establish a WiFi connection between a PC and the GEM
3. Configure the ”SSID”, “Password”, etc. to create a WiFi connection between the GEM and a
local network
4. Connect the PC to the same network and establish a TCP/IP connection to the GEM over the
network
5. Upgrade the firmware if needed
6. Open the GEM Setup page with a browser
Once the GEM Setup page has been opened, then refer to the “GEM Configuration Manual” (Document
code: GEM-CFG) to proceed with setting up the GEM
REQUIREMENT
The “GEM Network Utility” version 4.2 or higher for Windows based PCs
For “Mac” or “Linux” users, a “Java” application is available for firmware upgrades, however
different instructions are required
THE COMMUNICATION MODULE
The WiFi/Ethernet module option for the GEM incorporates two methods of communication providing
the choice of a WiFi or Ethernet connection. Both options are integrated on a single module.

Reset to factory defaults
© Brultech Research Inc. 5 www.brultech.com
Typically, a connection to a local network is established allowing data to be sent to a local server or
remote host via internet.
START-UP SEQUENCE
When the GEM is powered up, the “Communication Status LED” (see Figure 2 on page 5) will remain
dark (off) for approximately 30 seconds. This is the time required for the communication module to boot
up and create or join a network. Once the module is booted the LED will turn to amber.
COMMUNICATION STATUS LED
The communication status LED is a dual color “amber” and “green” type. When both LED are on, the
resulting color is yellow. The three LED states are:
Dark: The communication module is booting up.
Amber: The communication module is active but there is no connection.
Yellow (green +amber): The module is connected.
Figure 2
The picture in Figure 3 shows the “Communication Status LED”which consists of an amber LED and a
green LED together in the same package. The combined color is yellow when the amber LED and the
green LED are both lit.
Figure 3
RESET TO FACTORY DEFAULTS
The communication module factory reset provides a means of setting the GEM to a known IP address
and port. This allows a PC to connect to it in order to re-direct it to a local or remote network.
Factory reset can only be done with the communication module fully booted up which occurs roughly 30
seconds after the GEM is powered. This is apparent when the “communication status LED” comes “on”.
1. Make sure the “Comm Status LED” is “on”!

Reset to factory defaults
© Brultech Research Inc. 6 www.brultech.com
2. Locate the ”Factory Reset Push Button”switch on the edge of the module (see Figure 4) then
press it for approximately 6 seconds and release. (There will be no immediate LED response
when the switch is released).
3. After roughly 10 seconds, the communication status LED will go dark. This indicates that the
module is in the process of re-booting.
4. After approximately 30 seconds, the amber LED comes on. A few seconds after this occurs, a
wireless access point becomes available.
5. Use a PC with WiFi capability and search for wireless networks. The GEM will now appear as a
WiFi “Access Point” with a WiFi network name: “GreenEye_xx”, where “xx” are the two last
characters of the MAC address.
Figure 4
Proceed to the next chapter “Connecting Directly to the GEM” for instructions on connecting to the
GEM with the PC.

Connecting Directly to the GEM
© Brultech Research Inc. 7 www.brultech.com
CONNECTING DIRECTLY TO THE GEM
IMPORTANT NOTE
This chapter describes the procedure for creating a WiFi connection between the GEM and a PC. The
main purpose of this connection is to configure the GEM to connect it to a network.
If a PC with WiFi capability is not available, an Ethernet connection may be used for this step, although
this method is a bit more tedious. Refer to Appendix A for instructions on using Ethernet for initial
configuration.
Make sure there is no Ethernet cable connected between the GEM and a network when conducting
the steps in this chapter.
FACTORY DEFAULT VALUES
Once the communication module has been reset to its factory defaults, a WiFi connection may be
established between a PC and the GEM.
The factory default settings are:
Set to Access Point (AP) mode
DHCP enabled. The server will assign an IP address to the PC, providing the PC is set to obtain an
IP address automatically
The SSID is “GreenEye_xx”, where xx is the last two digits of the MAC address
WiFi security mode “Open”
Local IP address: 192.168.2.2
Network setup port 80
GEM setup port 8000
CONNECTING TO THE GEM VIA WIFI
The goal is to create a connection between the PC and the GEM as shown in Figure 5.
Figure 5

Connecting Directly to the GEM
© Brultech Research Inc. 8 www.brultech.com
Steps
1. Search for WiFi networks and click on “GreenEye_xx” to connect.
2. Open a browser and set the address to 192.168.2.2 and press “Enter”. A “Sign In” box should
come up prompting for a “User” and “Password”. If so, then skip to step 4.
3. If the browser did not connect to IP address “192.168.2.2” in the previous step, the PC may not
be set to “obtain an IP address automatically”. Modify the PC’s network settings to do so then
repeat the steps in this section. If you don’t know how to change this network setting, then
search “how to obtain an IP address automatically” on the internet for instructions for your
operating system.
4. A “sign in” box will prompt for a user name and password. Use “admin” for both.
A web page as displayed in Figure 6 will open. This is the interface used to setup the communication
module to connect to the Network.
Figure 6
NETWORK CONNECTION OPTIONS
Two options are available to connect the GEM to a network, “WiFi” or “Ethernet”.
WiFi Connection
This option consists of connecting to the network wirelessly. This method is usually preferred as long as
the GEM is within acceptable RF range of the WiFi Router it will be connected to.
Ethernet Connection
An Ethernet connection consists of connecting a network cable between the GEM and a network router
or hub. This method is preferred when a WiFi connection is impractical due to signal range or if a
dependable connection is desired.

WiFi Connection to a Network
© Brultech Research Inc. 9 www.brultech.com
WIFI CONNECTION TO A NETWORK
This chapter describes how to create a WiFi connection between the GEM and a local network. See
Figure 7.
CONNECTING THE GEM TO A NETWORK
The GEM can connect to a WiFi router or access point. This requires changing the GEM’s communication
module from its default access point mode (AP mode) to station mode (STA mode).
As most WiFi networks are security enabled, the SSID security type and passphrase will be required for
the network that we wish to connect to. Before starting the configuration, you should determine the
following information with regards to the network you will be connecting to:
The WiFi router’s SSID and Pass Phrase (WiFi password)
The gateway IP address
An available static IP address
The IP address or domain name of the data host.
Figure 7

WiFi Connection to a Network
© Brultech Research Inc. 10 www.brultech.com
STEPS
Important Note
Throughout each step, after clicking “Apply”to a given option, a link to “Device Management”will
appear. DO NOT SELECT THIS OPTION AT THIS TIME. This link is used to restart the module and save the
changes. This is only required to be done once at the end of all changes. You will be instructed when to
do so.
1. Refer to Figure 8
Select “Mode Selection” from the left menu
Click “STA Mode” radio button
Click “Apply”
Figure 8
2. Refer to Figure 9
Select “AP Interface Setting” from the left menu
Set “IP Address” to “1.2.3.4”
Set “Subnet Mask”to “255.255.255.0”
Set “DHCP Type”to “Disable”
Click “Apply”

WiFi Connection to a Network
© Brultech Research Inc. 11 www.brultech.com
Figure 9
3. Refer to Figure 10
Select “STA Interface Setting”from the left menu
Enter your network’s WiFi name (SSID) in the “AP’s SSID”box
Set the “Security Mode”to match that of your wireless network
Set the “Encryption Type”to match that of your wireless network
Enter your WiFi network’s security “Pass Phrase”
Click “Apply”
Figure 10
4. OPTIONAL: You can assign a name to the GEM so that it is readily identifiable when viewing all
of the network connected devices on a router’s setup page. This is done by entering this user
assigned name in the “Hostname” box in Figure 10, then clicking “Apply”.

WiFi Connection to a Network
© Brultech Research Inc. 12 www.brultech.com
5. Optional steps to assign a static IP.
This step is required ONLY if you wish to assign a static IP to the GEM. If a static IP is used, the
following conditions must be met:
The static IP must be on the same subnet as that of the network. For example, if the
network’s router is “192.168.0.1”then the static IP must begin with “192.168.0.”and the
last number must be between 2 and 254.
The IP address assigned must not be used by another device on the network. This can be
verified by accessing the router’s setup interface.
Further explanation of static IP is beyond the scope of this document. Further information can
be found using an internet search.
Refer to Figure 11
Select “STA Interface Setting”from the left menu
Click the “DHCP/STATIC”drop down box and select “STATIC (fixed IP)”
Enter the IP address you wish to assign to the GEM
Enter the subnet mask (typically “255.255.255.0”)
Enter the IP address of your gateway (router)
Click “Apply”
Figure 11

WiFi Connection to a Network
© Brultech Research Inc. 13 www.brultech.com
6. Save changes.
This step saves all changes made and re-starts the WiFi module.
Refer to Figure 12
Select “Device Management”from the left menu
Click “Restart”
Figure 12
The module will now re-boot. This takes approximately 30 seconds.
After rebooting, the “Com LED”will glow amber then shortly after, will turn to yellow indicating that the
GEM has connected to the router.
If the “Comm LED” changed to yellow (amber + green Comm LEDs both “on”) indicating a connection to
the network, then proceed to “Connect a PC to the GEM via Network”on page 17.
GEM Did Not Connect
If the GEM did not connect to the router, indicated by the amber only “Comm LED”active, then one of
the following situations may have occurred:
Range too far between the GEM and the router.
Improper WiFi security type selected. This can be verified by viewing the router’s security
settings. Refer to your router manual for this
TKIP was selected instead of AES, or vice versa
Typing mistake was made while entering SSID, password, etc.
If a connection was not established you will need to return to factory defaults (see” Reset to factory
defaults” on page 5) then attempt the step in this chapter again. If the connection problem persists, you
may try temporarily disabling the router’s security option to narrow down the issue. This will indicate if
the problem lies with security settings or not.

Ethernet Connection to a Network
© Brultech Research Inc. 14 www.brultech.com
ETHERNET CONNECTION TO A NETWORK
This option consists of connecting the GEM to a network “router”, “hub” or “switch” using an Ethernet
network cable instead of a WiFi connection. See Figure 13.
Figure 13
STEPS
Important Note
Throughout each step, after clicking “Apply”to a given option, a link to “Device Management”will
appear. DO NOT SELECT THIS OPTION AT THIS TIME. This link is to restart the module and save the
changes. This is only required to be done once at the end of all changes. You will be instructed when to
do so.
1. Refer to Figure 14
Select “Mode Selection” from the left menu
Click “STA Mode” radio button
Click “Apply”

Ethernet Connection to a Network
© Brultech Research Inc. 15 www.brultech.com
Figure 14
2. Refer to Figure 15
Select “AP Interface Setting”from the left menu
Set “IP Address” to an assigned value within the subnet range of the network
Set “Subnet Mask”to “255.255.255.0”
Set “DHCP Type”to “Server”
Enter the “Default DHCP Gateway”(router) IP address
Click “Apply”
Figure 15

Ethernet Connection to a Network
© Brultech Research Inc. 16 www.brultech.com
3. Refer to Figure 16
Select “Device Management”from the left menu
Click “Restart”
Figure 16
The module will now re-boot which takes approximately 30 seconds. After rebooting, the “Com LED”
will glow amber.

Connect a PC to the GEM via Network
© Brultech Research Inc. 17 www.brultech.com
CONNECT A PC TO THE GEM VIA NETWORK
Now that the GEM is connected to the local network, a PC may now connect to the same network and
access the GEM to perform one or more of the following:
Upgrade the GEM firmware (if required)
Configure or modify the GEM settings
Change the communication module’s settings
DISCOVERING THE GEM’S IP ADDRESS
If a “Static”IP address was assigned to the GEM, then this will be the GEM’s IP address and this section
may be skipped.
The simplest method of determining the GEM’s IP address on the network is to use the “GEM Network
Utility”software (version 4.2 or higher). Other methods may be used such as:
Accessing the router’s configuration page and reviewing all connected device IP addresses
Using software utility such as “Netscan”(free downloadable)
Discovery Using GEM Network Utility
If you have not already downloaded and installed the “GEM Network Utility”software, do so now. This
application is downloadable from http://brultech.com/software/
Figure 17

Connect a PC to the GEM via Network
© Brultech Research Inc. 18 www.brultech.com
Steps
1. Run the “GEM Network Utility”software (as administrator) and click the “WiFi / Ethernet”tab.
See Figure 17
2. Click “Lookup IP”. This will discover the PC’s IP address as well as that of the gateway. See Figure
18
3. Make sure only port “8000”is selected and click “Search”. See Figure 18. After searching, the IP
address will be discovered as shown in Figure 19
Figure 18
Figure 19
4. Highlight the IP address that was found then right click it. Select “Connect”. This will transfer the
IP address and port to corresponding boxes and a connection will be established indicated by
the “green”status box (Figure 20)

Connect a PC to the GEM via Network
© Brultech Research Inc. 19 www.brultech.com
Figure 20
5. NOTE: the results of this next step may vary depending on the firmware version currently
residing on the GEM. If the status box is still green, then click “Get GEM Info”button. If the box
is no longer green, then click “Open”first and the status should change to “Connected”shortly
after. See Figure 21 (newer firmware) and Figure 22 (older firmware) for the possible results.
Figure 21
Table of contents
Other Brultech Measuring Instrument manuals