Connecting your Atmocube to AWS IoT Core allows you to leverage the powerful cloud capabilities of AWS for data analysis, storage, and integration with other services. This guide will walk you through the process.
If you haven't already, sign up for an AWS account at aws.amazon.com.
Log in to your AWS account, search for "IoT Core" in the Services menu, and open the AWS IoT console.
Navigate to the ‘Things’ dashboard using the sidebar menu and click on ‘Create things’. Choose ‘Create single thing’ or ‘Create many things’ as needed.
Enter a unique ‘Thing name’, which could be your Atmocube's device ID, and then proceed to the next step.
On the ‘Configure device certificate’ page, opt for ‘Auto-generate a new certificate’, then proceed to the next step.
Click ‘Create policy’ to define permissions for your device. In the new tab:
Select the newly created policy back in the ‘Attach policies to certificate’ page and finalize by clicking ‘Create thing’.
In the ‘Download certificates and keys’ dialog, download the device certificate, private key file, and Amazon Root CA 1 (RSA 2048-bit key). Keep track of each certificate while downloading and rename each file as below:
Note: Ensure that each file is renamed exactly as specified above, or Atmocube may not detect the files in later steps.
Visit the Atmocube configuration tool portal at: https://config.atmocube.app/ and select your Atmocube SKU (with or without PoE)
In the Wi-Fi tab, input your network details, ensuring it's a 2.4GHz network.
In the MQTT tab, uncheck 'Production' to reveal configuration fields:
Back in the AWS IoT console, navigate to the ‘MQTT test client’.
In the ‘Subscribe to a topic’ tab, use the wildcard ‘#’ to subscribe to all topics and click ‘Subscribe’. You should start seeing data from your Atmocube (this may take a minute as data is received every minute).
You've successfully connected your Atmocube to the AWS IoT Core.
If the Atmocube power LED does not turn purple immediately when powered on with the USB flash drive inserted: