SENSECAP Connect M2 Multi-Platform Gateway to AWS IoT User Guide

June 3, 2024
SENSECAP

SENSECAP Connect M2 Multi-Platform Gateway to AWS IoT

Connect M2 Multi-Platform Gateway to AWS IoT This tutorial will guide users to set up a private LoRaWAN® network by connecting the LoRaWAN® sensors and M2 Multi-Platform Gateway to the AWS Cloud.

AWS IoT Configuration

Log in to AWS ,If you don’t have an AWS account, please create a new account first.
Connect M2 Multi-Platform Gateway to AWS IoT AWS IoT
Configuration

Add Gateway
  • Step 1: Add gateway
    Navigate to Internet of Things > IoT Core
    Connect M2 Multi-Platform Gateway to AWS IoT AWS IoT
Configuration

Select LPWAN devices > Gateway to add a gateway
Connect M2 Multi-Platform Gateway to AWS IoT AWS IoT
Configuration
Gateway’s EUI: The gateway EUI can be found on the device label or Local Console Frequency band: Select the Frequency plan according to the actual choice.
Connect M2 Multi-Platform Gateway to AWS IoT AWS IoT
Configuration

  • Step 2: Configure your gateway
    Create certificate
    Connect M2 Multi-Platform Gateway to AWS IoT AWS IoT
Configuration

Download the certificate files and server trust

Connect M2 Multi-Platform Gateway to AWS IoT AWS IoT
Configuration

Choose the Role: IoT Wireless Gateway Cert Manager Role , then submit the configuration.
Connect M2 Multi-Platform Gateway to AWS IoT AWS IoT
Configuration

  • Step 3: Check gateway connection status

Navigate to the Gateways page and choose the gateway you’ve added. In the LoRaWAN specific details section of the Gateway details page, you’ll see theconnection status and the date and time the last uplink was received.
Connect M2 Multi-Platform Gateway to AWS IoT AWS IoT
Configuration

Add Profiles

Device and service profiles can be defined to describe common device
configurations. These profiles describe configuration parameters that are sharedbydevices to make it easier to add those devices. AWS IoT Core for LoRaWANsupports device profiles and service profiles.

  • Step 1: Add devices profiles

Navigate to Devices > Profiles, click Add device profile
Connect M2 Multi-Platform Gateway to AWS IoT AWS IoT
Configuration
Provide a Device profile name, select the Frequency band (RfRegion) that you’ reusing for the device and gateway, and keep the other settings to the default values.
Connect M2 Multi-Platform Gateway to AWS IoT AWS IoT
Configuration

  • Step 2: Add service profiles

Navigate to Devices > Profiles, click Add service profile
Connect M2 Multi-Platform Gateway to AWS IoT AWS IoT
Configuration
It’s recommend that you leave the setting AddGW Meta Data enabled so that you’ll receive additional gateway metadata for each payload, such as RSSI and SNRfor the data transmission.
Connect M2 Multi-Platform Gateway to AWS IoT AWS IoT
Configuration

Add Destination

Navigate to Devices > Destination, click Add destination
Connect M2 Multi-Platform Gateway to AWS IoT AWS IoT
Configuration
Publish to AWS IoT Core message broker Permissions: Select an existing service role > IoT Wireless Gateway Cert Manager Role
Note: A destination name can only have alphanumeric, – (hyphen) and _ (underscore) characters and it can’t have any spaces.
Connect M2 Multi-Platform Gateway to AWS IoT AWS IoT
Configuration

Add LoRaWAN Devices
  • Step 1: Add wireless device

Navigate to LPWAN devices > Devices, click Add wireless device
Connect M2 Multi-Platform Gateway to AWS IoT AWS IoT ConfigurationConnect M2
Multi-Platform Gateway to AWS IoT AWS IoT Configuration

  • Step 2: Configure device

Wireless device specification: OTAA v1.0x (when you use OTAA, your LoRaWANdevice sends a join request and the Network Server can allow the request)
DevEUI: The device EUI can be found the the device label or Local Console
App Key and App EUI can be found in this HTTP API: https://sensecap.seeed.cc/makerapi/device/view_device_info nodeEui=xxx&deviceCode=xxx
Connect M2 Multi-Platform Gateway to AWS IoT AWS IoT ConfigurationConnect M2
Multi-Platform Gateway to AWS IoT AWS IoT Configuration
Connect M2 Multi-Platform Gateway to AWS IoT AWS IoT ConfigurationConnect M2
Multi-Platform Gateway to AWS IoT AWS IoT Configuration
Connect M2 Multi-Platform Gateway to AWS IoT AWS IoT ConfigurationConnect M2
Multi-Platform Gateway to AWS IoT AWS IoT Configuration

  • Step 3: Check device connection status

Navigate to the Devices page and choose the device you’ve added. In the Details section of the Wireless devices details page, you’ll see the date and time the last uplink was received.
Connect M2 Multi-Platform Gateway to AWS IoT AWS IoT ConfigurationConnect M2
Multi-Platform Gateway to AWS IoT AWS IoT Configuration

Gateway Configuration

  • Step 1: Log into Local Console

Check out the device’s Quick Start to login.
Connect M2 Multi-Platform Gateway to AWS IoT Gateway
Configuration

  • Step 2: LoRaWAN Network Settings

Navigate to LoRa > LoRa Network
Mode: Basics Station
Gateway EUI: It will automatically get the EUI of the connected gateway Server: Choose CUPS Server or LNS Server (For CUPS, port is 443; for LNS, port is8887) Learn more about CUPS and LNS Server
Authenentication Mode: TLS Server and Client Authentication
Connect M2 Multi-Platform Gateway to AWS IoT Gateway
Configuration

Copy the data content of the certificate files we downloaded before to the configuration page (the certificate can be opened in text form)
Connect M2 Multi-Platform Gateway to AWS IoT Gateway
Configuration
Click on Save & Apply when you finish the settings

SENSECAP Logo.png

References

Read User Manual Online (PDF format)

Loading......

Download This Manual (PDF format)

Download this manual  >>

Related Manuals