VIA Technologies SOM-9X50-STK Quick Start Manual

VIA Technologies SOM-9X50-STK Quick Start Manual

Aws iot core
Hide thumbs Also See for SOM-9X50-STK:

Advertisement

Quick Links

QUICK START GUIDE
VIA SOM-9X50-STK
AWS IoT Core
1.01-10012023

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SOM-9X50-STK and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for VIA Technologies SOM-9X50-STK

  • Page 1 QUICK START GUIDE VIA SOM-9X50-STK AWS IoT Core 1.01-10012023...
  • Page 2 VIA Technologies, Inc. reserves the right the make changes to the products described in this manual at any time without prior notice.
  • Page 3 VIA SOM-9X50-STK AWS IoT Core Quick Start Guide Revision History Version Date Remarks Updated descriptions in sections 2.1, 2.2, 2.3, 2.5 and 2.6 for Connecting to AWS IoT Core. 1.01 10/01/2023 Added a new section 2.8 for troubleshooting AWS IoT Core connection issues.
  • Page 4: Table Of Contents

    VIA SOM-9X50-STK AWS IoT Core Quick Start Guide Table of Contents Introduction ..............................1 Directing Data from a VIA SOM-9X50-STK Device to AWS IoT Core ............1 VIA SOM-9X50-STK Device ........................1 Connecting to AWS IoT Core........................... 2 Introduction ............................2 Set up Your AWS Account and Permissions ..................
  • Page 5: Introduction

    To direct data from VIA SOM-9X50-STK devices to a cloud implementation, the AWS IoT Core Web Service must be set up and configured to receive data coming from VIA SOM-9X50-STK devices. Follow the steps below to set up your AWS services in order to connect a VIA SOM-9X50-STK device to an AWS backend: •...
  • Page 6: Connecting To Aws Iot Core

    This section provides instructions on how to establish a connection between VIA SOM-9X50-STK devices and Amazon IoT Core web services, including how to add and manage VIA SOM-9X50-STK devices as an IoT Core device on Amazon Web Services, set up the device, and configure the VIA IoT application.
  • Page 7: Set Up Your Aws Account And Permissions

    VIA SOM-9X50-STK AWS IoT Core Quick Start Guide 2.2 Set up Your AWS Account and Permissions Refer to instructions in the following sections on webpage https://docs.aws.amazon.com/iot/latest/ developerguide/setting-up.html to set up an AWS Account: • Sign up for an AWS account •...
  • Page 8 VIA SOM-9X50-STK AWS IoT Core Quick Start Guide The following stepwise instructions demonstrate how to create an AWS IoT Policy and a thing object, and acquiring the required AWS IoT certificate files and Shadow URL for the VIA SOM-9X50-STK device. Step 1 Click on ‘Security/Policies’...
  • Page 9 VIA SOM-9X50-STK AWS IoT Core Quick Start Guide After clicking on the ‘Create’ button, the new policy's name will be listed in the right panel. Step 3 To create a new ‘IoT Thing’ resource with the new policy and to create certification files for this resource, click...
  • Page 10 VIA SOM-9X50-STK AWS IoT Core Quick Start Guide Next, select ‘Create single thing’ and click on "Next".
  • Page 11 VIA SOM-9X50-STK AWS IoT Core Quick Start Guide Step 4 Under 'Thing properties' in the right panel, enter the 'Thing Name'. Under 'Device Shadow', select 'Unnamed shadow (classic)' and click on the 'Next' button to continue.
  • Page 12 VIA SOM-9X50-STK device. Step 6 Click on the new policy's name and click on the 'Create Thing' button to attach policies to the device certificate for your VIA SOM-9X50-STK device and to complete creating a new ‘IoT Thing’.
  • Page 13 VIA SOM-9X50-STK AWS IoT Core Quick Start Guide Step 7 Download the device certificate (CertFile), the private key file (PvkFile) and the 2048 bit Amazon Root CA 1 certificate (CAFile) to a local folder and click on 'Done' to complete the certificate creation process for your VIA...
  • Page 14 Note: The MQTT topic prefix is for binding your VIA SOM-9X50-STK device with AWS IoT Core Web services. The VIA SOM- 9X50-STK device will use the MQTT topic prefix of Device Shadows to interact with AWS IoT Core Web services.
  • Page 15: Set Up The Via Som-9X50-Stk Device

    VIA SOM-9X50-STK AWS IoT Core Quick Start Guide 2.4 Set up the VIA SOM-9X50-STK Device The first step is to connect a host machine and the VIA SOM-9X50-STK through the onboard COM connector labeled as "COM". Use a serial port communication program such as PuTTY or Tera Term to connect the debug console. Set the console Baud Rate to "921600".
  • Page 16 VIA SOM-9X50-STK AWS IoT Core Quick Start Guide Step 1 Copy the device certificate (CertFile), private key file (PvkFile) and the Amazon Root CA certificate (CAFile) created in Step 7 of section 2.3 to "/data/aws/certs". Open the settings file "/data/aws/iot.json" and modify the following values based on AWS IoT Core setup: •...
  • Page 17: Connecting To Aws Iot Core With The Via Som-9X50-Stk Android Evk

    2.6 Connecting to AWS IoT Core with the VIA SOM- 9X50-STK Android EVK The VIA SOM-9X50-STK EVK includes an "IoTDeviceSDKSample" application to help establish a connection between the VIA SOM-9X50-STK device and the AWS IoT Core web service. This section guides developers on how to enable and run the "IoTDeviceSDKSample" application.
  • Page 18 VIA SOM-9X50-STK AWS IoT Core Quick Start Guide Step 2 Run the "IoTDeviceSDKSample" application as shown below. Step 3 Click "JSON" button to select the "iotcoreConfig.json" created in Step 1 from USB flash drive. Click "TEST" button to run the MQTT subscription publishing process as shown below.
  • Page 19 VIA SOM-9X50-STK AWS IoT Core Quick Start Guide Step 4 Verify the "IoTDeviceSDKSample" application using the AWS IoT Core web service console. Click on the 'MQTT test client' tab. To subscribe to interaction topic "$aws/things/thingName/shadow/update", under the 'Subscribe to a topic' tab in the right panel, enter a topic filter name and click on the 'Subscribe' button.
  • Page 20: Debugging

    VIA SOM-9X50-STK AWS IoT Core Quick Start Guide 2.7 Debugging Open a console (e.g. Putty) and configure as described in Section 2.4. The boot up messages will be presented with a command line interface as well as debug output. Use busybox commands "in /bin" to set up and debug the VIA SOM-9X50-STK device.
  • Page 21 Taiwan Headquarters Japan China 1F, 531 Zhong-zheng Road, 940 Mission Court 3-15-7 Ebisu MT Bldg. 6F, Tsinghua Science Park Bldg. 7 Xindian Dist., New Taipei City 231 Fremont, CA 94539, Higashi, Shibuya-ku No. 1 Zongguancun East Road, Taiwan Tokyo 150-0011 Haidian Dist., Beijing, 100084 Japan China...

Table of Contents