Hide thumbs Also See for SDC0880I:

Advertisement

Quick Links

Industrial I/O Control PCIe Card
SDC IoT Central User Manual
Copyright
Copyright© 2019 SUNIX Co., Ltd. All Rights Reserved.
No part of this publication may be reproduced, transcribed, stored in a retrieval system,
translated into any language, or transmitted in any from or by any means,
photocopying, manual, or otherwise, without prior written permission from SUNIX.
Disclaimer
SUNIX shall not be liable for any incidental or consequential damages resulting from the
performance or use of this equipment.
SUNIX makes no representations or warranties regarding the contents of this manual.
Information in this manual has been carefully checked for reliability; however, no
guarantee is given as to the correctness of this content. In the interest of continued
product improvement, this company reserves the right to revise the manual or include
change in the specifications of the product described within it at any time without
notice and without obligation to notify any person of such revision or changes. The
information contained in this manual is provided for general use by the customers.
Trademarks
SUNIX is a registered trademark of SUNIX Group.
All other trademarks or registered marks in this manual belong to their respective
owners.
Safety Information
Keep this User's Manual for future reference.
Always read the safety information carefully.
Keep this equipment away from direct sunlight, or in humid or damp places.
Do not place this equipment in an unstable position, or on vibrating surface before setting
it up.
Do not use or place this equipment near magnetic fields, televisions, or radios to avoid
electronic interface that affects device performance.
1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SDC0880I and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Sunix SDC0880I

  • Page 1 SUNIX. Disclaimer SUNIX shall not be liable for any incidental or consequential damages resulting from the performance or use of this equipment. SUNIX makes no representations or warranties regarding the contents of this manual.
  • Page 2: Table Of Contents

    Index Index ............................. 2 1. Install Node-RED IoT Central Module ................. 3 1.1 Install Node.js..........................4 1.2 Install Node-RED ........................... 5 1.3 Startup Node-RED......................... 6 1.4 Open Node-RED ..........................7 1.5 Introduction to node-red control panel ..................9 1.6 Install additional Node ........................10 2.
  • Page 3: Install Node-Red Iot Central Module

    1. Install Node-RED IoT Central Module Install Node-RED IoT Central Module Topics: 1.1 Install Node.js 1.2 Install Node-RED (via command-line) 1.3 RUN Node-RED (via command-line) 1.4 Open Node-RED Control Panel ( Web Browser: http://127.0.0.1:1880 1.5 Introduction to Node-RED Control Panel 1.6 Install IoT Central node...
  • Page 4: Install Node.js

    1.1 Install Node.js Visit:https://nodejs.org/en/ download node.js LTS...
  • Page 5: Install Node-Red

    2. Install node.js 1.2 Install Node-RED Install Node-RED via command-line npm install -g --unsafe-perm node-red...
  • Page 6: Startup Node-Red

    1.3 Startup Node-RED Click “Start “ and right click “command-line”, select “More”=> “Run as administrator ” Run “ node-red” via command-line,...
  • Page 7: Open Node-Red

    If you see the following output, you have successfully start node-red service. 1.4 Open Node-RED Open your Browser, http://127.0.0.1:1880 , you will see the Node-red control panel as following picture:...
  • Page 9: Introduction To Node-Red Control Panel

    1.5 Introduction to node-red control panel 1. Node-RED control panel have 3 major blocks,as following: node flow Debug/Deploy 2. Node-RED Flowchart as following picture: Input Node Output Node Function...
  • Page 10: Install Additional Node

    1.6 Install additional Node 1. Open menu,select “manage palette 2. Select “Install” Page,filled in keyword for module research...
  • Page 11 3. Install Azure IoT Central Module Search for “iot central” Click and install If you see the Azure IoT Central Node, you have successfully installed the module.
  • Page 12: Iot Central Services Build And Set Up

    2. IoT Central Services build and set up IoT Central Services build and set up Topics: 2.1 Create IoT Central application 2.2 Create device templates 2.3 Select custom model and add capability (Telemetry) 2.4 Publishing device template 2.5 Create a real device (Get connection information)
  • Page 13: Build Iot Central Application

    2.1 Build IoT Central Application 1. Open Google chrome browser,search for“IoT Central Home” or click on the website link -> https://apps.azureiotcentral.com 2. Click on the website link you found...
  • Page 14 3. Click“Build",Create Custom app 1. Click her to expand the pane 2. Click “Build” 3. Click “Create app” 4. Log on your IoT Central account and password 1. Your Azure account 2. Your Password...
  • Page 15 5. Fill in your application name 1. Fill in your application name 2. It is recommended to use the system default value, do not change 6. Confirm pricing plan and create application 建立 1. Select “Free” Pricing plan 2. Click “Create”...
  • Page 16 7. The application is created, and the display is as follows...
  • Page 17: Build Device Templates

    2.2 Build Device templates 1. In the menu on the left side of the application, click "Device Template", and then click "Create Device Template" 1. Click “Device Templates” Click“Create a device template” 2. Select device type and press “Next:Customize” Button 1.
  • Page 18 3. Fill in the device template name and click "Next: Review” 1. Fill in your template name 2. Click “Next:Review” Button 4. Review the information if it is correct, and click "Create" Button Review the information if it is correct, and click “Create”...
  • Page 19: Add Device Telemetry

    2.3 Add Device Telemetry Select “Custom model” Select “Custom model” Select “Add inherited interface” Clcik here and select“Add inherited interface”...
  • Page 20 Select “Custom” Select Custom (Start with a blank interface and build to suit.) 新增完介面後,按 +新增功能,開始設定設備讀取值 Select Interface and Click “+Add capability” to start create capabilities...
  • Page 21 To add a new capability, Fill in the display name and name, The Capability type please select “Telemetry” and Schema please Select “Double”. Fill in your Field Name Select Capability type -> “Telemetry” Select Schema -> “Double”...
  • Page 22: Publish Device Template

    2.4 Publish device template 1. Confirm that "Capabilities" has been added completely, and you can publish the device template. Click “Publish” Publish this template to the application 2. Confirm to publish this device template Click “Publish”...
  • Page 23: Build A Real Device (Get Connection Information)

    2.5 Build a real device (Get connection information) 1. Create a new real device. Click “New”, create real device Click “Devices”, And select the published device template 2. Confirm and build the real device. It is recommended to use the system default value, do not change Click “Create”, to crate real device...
  • Page 24 3. After the real device is created, click the device name to view the status But to upload the actual device data, you still need to fill in the connection information of "IoT Central" in the Node-RED.  For detailed configuration, please refer to the next chapter "Node-RED Connect to IoT Central Configuration"...
  • Page 26: Node-Red Iot Central Setting

    3. Node-RED IoT Central Setting Node-RED IoT Central Setting Topics: 3.1 IoT Central Node Setting 3.2 Send telemetry data to IoT Central...
  • Page 27: Iot Central Node Setting

    3.1 IoT Central Node Setting 1. Drag “Azure IoT Central “ Node into your work sheet Drag “Azure IoT Central” node into here Double click “Azure IoT Central”, it will show the property window, please filled in with IoT Central Device connection information, such as Scope ID、Device ID、Primary Key.
  • Page 28: Send Telemetry Data To Iot Central

    3.2 Send telemetry data to IoT Central Copy “inject” and “function” node, send random data into Azure IoT Central every 1 minute. 1. Drag “Inject” and “function” nodes into your work sheet and be connected as following picture.
  • Page 29 2. Double click “Inject “Node, it will how the property window, please be set up as following picture. 1. Select “interval” 2. Set every 1 minute...
  • Page 30 3. Double-click the "function" node to set, Please fill in the following code in the tab of the function Sample code: msg.payload={“Temperature”:1000*Math.random()}; Return msg; Random value The field name of Azure IoT Central...
  • Page 31 4. Log in to the Azure IoT Central application, Check whether the data has been uploaded successfully If you output this, it means the data was uploaded successfully [註] If the data cannot be uploaded to IoT Central, please reconfirm the following information 1.
  • Page 32: Iot Central Dashboard Example

    4. IoT Central Dashboard example SUNIX SDC application example in IoT Central Topic: RS-485 Modbus devices -> Indoor air quality monitoring...
  • Page 33: Example Of Indoor Air Quality Monitoring (Modbus Devices)

    Example of indoor air quality monitoring (Modbus devices)

This manual is also suitable for:

Sdc4880b

Table of Contents