element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
N-gaged Design Challenge
  • Challenges & Projects
  • Design Challenges
  • N-gaged Design Challenge
  • More
  • Cancel
N-gaged Design Challenge
N-Gaged Blog PVMonitor #2 - Getting started
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Leaderboard
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: amgalbu
  • Date Created: 2 May 2022 4:22 PM Date Created
  • Views 833 views
  • Likes 5 likes
  • Comments 0 comments
  • n-gaged design challenge
  • pvmonitor
  • iot system
  • OMEGA’s Layer N EcoSystem
  • n-gaged
  • remote monitoring
Related
Recommended

PVMonitor #2 - Getting started

amgalbu
amgalbu
2 May 2022
Blogs in this series
PVMonitor #1 - Unboxing and project description
PVMonitor #2 - Getting started
PVMonitor #3 - The great pretender (1)
PVMonitor #4 - The great pretender (2)
PVMonitor #5 - Installation and preliminary data
PVMonitor #6 - Anomaly detection
PVMonitor #7 - System performances
PVMonitor #8 - Anomaly detection (2)
PVMonitor #9 - Conclusions
  
In this blog, I will talk a little bit about the steps I followed to configure and use the Layer N's hardware and the software tools

Omega provides several software tools to configure and manage Layer N devices. I will go through the available options and configure the components I need for my project

1. Sync
SYNC by Omega is a device configuration and management software platform for qualifying Omega Smart devices. It allows users to configure device runtime parameters, view process values, export data, and allows you to efficiently set your devices to operate under your preferred preferences. SYNC does not support long-term process value storage. We recommend Omega Enterprise Gateway (OEG) software for long-term data logging and analytics. OEG web client is platform independent.
SYNC can be downloaded from this link
https://www.omega.com/en-us/data-acquisition/software/sync-software/p/SYNC-by-Omega

SYNC is an easy-to-use tool that can be used to configure Smart Probes and Smart Sensors.

SYNC tool can be launched by double-clicking the Omega.DeviceManager.exe file in the folder you selected during the SYNC setup procedure. A minor issue is that link to SYNC tool does not appear in the Windows' Start menu

Let's see how the SP-005 Smart Probe and the SS-002 Smart Sensor can be configured.  

1.1 Configuring the SP-005 Smart Probe
Even if I am not going to use the SP-005 Smart Probe in my project, I made some tests driven mainly by the curiosity to explore the Layer N ecosystem.
SYNC automatically detects the Smart Probe connected to the PC by means of the IF-001 USB interface
image
There are basically two main sections in the SYNC software: "Configure device" and "Capture data"
In the "Configure device" section, Smart Probe's inputs and outputs behavior can be selected. Regarding inputs, several configurations are possible
  • Single TC
  • Dual TC
  • RTD
  • Single TC, DIO
  • Dual TC, DIO
  • RTD, DIO
For thermocouple inputs, the thermocouple type can be selected and whether or not the "open" condition has to be detected
image
For RTD inputs, type and number of wires can be configured
image
For digital IOs, the active state for each of the two digital inputs can be chosen
image
For every input (either connected to TC, RTD or DIO), alarms can be configured so that a notification is sent to the Smart Sensor or Smart Gateway or a Smart Probe's output is driven
image
Outputs can be configured as ON/OFF or PWM. For ON/OFF outputs, the active state can be selected
image
Finally, "Device settings" tab includes settings that are specific to the device, like for example the data transmission interval and the data logging policy
image
image
NOTE: I was not able to find any specification about the number of samples that can be stored in the log. I will make some experiments to determine this value later in this challenge, after I will have collected enough data 

The second section is "Capture Data", which shows live data from the Smart Probe

image
1.2 Configuring the SS-002 Smart Sensor
Again, SYNC automatically detects the Smart Sensor connected to the PC. I used a standard micro USB cable that is used to power and to communicate with the device.
image
In the "Configure device" section, Smart Sensor's inputs combination can be selected. The SS-002-1-NA variant has four built-in sensors for temperature, humidity, barometric pressure and light and any combination of three of these four sensor can be activated. Additionally, an external RTD or TC can be connected to the 3-pins connector
For my project, I will use temperature, humidity and light. I expect barometric pressure not to influence PV modules efficiency. Temperature and humidity sensor have almost no configuration options, but the light sensor has a couple of options (GAIN and RED) I could not find any additional information about, so I left default values untouched
image
2. Omega Enterprise Gateway
OMEGA Enterprise Gateway 2.0 is a bridge between OMEGA sensing devices and industrial applications. It is a standalone IoT sensing software that delivers device provisioning, state and status monitoring, data logging, visualization, and analytics. A variety of OMEGA devices are supported by this Gateway software. Typical application deployment scenarios are shown below:
  • Integrated with Enterprise Applications. OMEGA Enterprise Gateway can feed sensing data to the OPC UA compliant applications such as SCADA, HMI, MES etc. via OPC US server (licensed). Once the user adds OMEGA devices to the Gateway, the Gateway automatically exposes all sensing data as OPC UA nodes. The Enterprise application can then pull all OPC UA node values and display them on the screen.
  • Standalone Solution for Sensing, Archiving, and Analytics. In many environment sensing applications such as hotel room temperature monitoring a building temperature/humidity monitoring, OMEGA Enterprise Gateway can provide real-time monitoring, alarms, notifications, archiving, and analytics that are required in these applications.
Omega Enterprise Gateway is a sort of local Cloud N: it runs on your PC as a web application and provides the same look-and-feel of the cloud version

2.1 Configuring the GW-002 Gateway
You can login into the Omega Enterprise Gateway by entering the default credentials (admin and Omega). You will be asked to change the password and then you will be brought to the device management page. Here you can add a new gateway by clicking the big "+" button
image
 
The device properties dialog will popup. Select "Layer N" in the "Product family" combobox, "GW-XXX-X" as "Product model" and enter a name that uniquely identifies the gateway. The only selectable "Interface" is "TCP", then enter the IP address of the gateway and 80 or 443 depending on whether or not you enabled the "Secure web" option in the gateway's internal web interface (see below for details about how to access the gateway internal web interface)
image
image
image
 
 
2.2 Other features
The OEG has two major features that made me evaluate this software as a possible alternative to the cloud solution
  • it allows user to create custom dashboards. This could be an effective way to show data in an organized manner
  • it allows user to define a Modbus device and a customized set of Modbus registers to read. This would probably simplify the implementation of the protocol converter, because I will not have to replicvate the behaviour of one of the Omega devices
On the other hand, using Omega Enterprise Gateway would required a dedicated, always-on PC for collecting data from the gateway and from the protocol converter. This is an heavy constraint from my point of view, and for this reason I decided to use the Cloud N platform for data collection.

3. Cloud N
Cloud N is the cloud version of the Omega Enterprise Gateway. The first thing to do is to create an account (in my case I am going to use a free trial account). With your credentials, you can now access the Cloud N portal and add your gateway by clicking the big "+" button
You will be asked to enter the GID and RID you can read on the label on the back of the gateway

image

The gateway has been registered and will become active as soon as the gateway will be connected to Internet and switched on

4. Gateway configuration
Next step in this process was to configure the gateway.
First, let's pair the Smart Sensor with the Omega gateway
     
4.1 Pairing
To "link" a Smart Sensor to the gateway, a pairing process is required. The pairing process is quite straightforward
  1. once the pairing button on the Smart Sensor displays a solid orange LED light in the center of the pairing button, Smart Sensor is ready to be connected to a Layer N Gateway
  2. push the pairing button once and the LED will begin to flash green
  3. quickly push the pairing button on the Gateway once and its LED will also flash green
  4. when the Smart Sensor has been successfully paired, the green LEDs on both devices will stop flashing
From this moment, the Smart Sensor LED will flash orange every time data is transmitted to the gateway

4.2 Adding a new Modbus device

The protocol converter I am going to implement will be polled by the gateway, so I need to add a new device. Unfortunately, the Omega gateway does not behave like a generic Modbus master. Instead, you can select among a finite list of supported Omega devices. As a consequence, the protocol converter will have to adapt and expose the set of Modbus registers the Omega gateway is expecting. If this approach makes sense from a commercial point of view, on the other hand it puts a limitation on the use of the Omega gateway as a platform for integrating a generic 3rd party Modbus device.   

The gateway implements a very basic web interface. From the local web interface you can for example update the gateway firmware (which was the solution to the out-of-the-box connectivity issue other challengers and me experienced) and define which devices are connected to the gateway itself
To access the gateway web interface, you have to enter either the IP address or the URL http://omegaiotgatewayXXXX.local where XXXX are the last 4 digits of your Gateway MAC Address. However the latter will only work if your browser/computer has Bonjour Service installed. The default password is printed on the label on the back of the gateway, and you will be asked to change it on the first login.
We need to navigate to the "Connected device" section, where all the device the gateway is monitoring are listed. If pairing was successful, you should see the Smart Sensor device here

Let's proceed and add a new Modbus device. Click the "Add" button in the top right corner. The "Add device" form will popup.

image

I filled the form with the following information

  1. Product family: This is the category the Omega device we want to integrate belongs to. Options include "Controller", "DAQ", "Meter" and "Probe". I selected "DAQ" because, in this category, there are devices that can be configured to monitor a range of physical quantities
  2. Product model: depending on the selected "Product family", the Omega products that match the category are listed. I selected "OM-240", an embedded data logger with 24 differential analog inputs. More information about the OM-240 can be found here
  3. Name: this is simply a string that you can use to easily identify the device
  4. Interface: I selected "TCP" because I want the protocol converter to be polled over my home Wifi network
  5. IP Address: this is the IP address of the protocol converter
  6. Port: this is the TCP port the protocol converter's Modbus server will be listening on. I left the default value (502)
  7. Device ID: this is the Modbus slave device Id. Any value is fine here, because my protocol converter will answer to all the requests
  8. Reading interval: this is how often the gateway will ask data to the protocol converter. 120 seconds (2 minutes) should be ok
  9. Channel: this table contains the DAQ inputs we want to monitor. For each channel, you can enter a human-readable name, the Modbus register address (for OM240, this is calculated as 16 * <channel numer>), the type (i.e. the physical quantity you are measuring) and the unit of measure (which is automatically selected when you choose the type)
Once completed, the list of devices looks like this
image
In the Cloud N portal, we see that devices configuration has been successfully propagated
image
That's all for as far as Omega devices configuration is concerned. In the next posts, I will talk about protocol converter implementation, Smart Sensor installation and, hopefully, I will be able to start collecting data from my PV plant
 
 
<< Prev: Unboxing & project description
Next: The great pretender (1) >>
  • Sign in to reply
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube