AWS IoT ExpressLink hardware connectivity modules, which are developed and offered by AWS Partners such as Espressif, Infineon, and u-blox. These modules enable easy AWS cloud-connectivity and implement AWS-mandated security requirements for device to cloud connections. Integrating these wireless modules into their hardware design, customers can now accelerate the development of their Internet of Things (IoT) products, including consumer products, industrial and agricultural sensors and controllers.
Developers of all skill levels can now quickly and easily transform their products into IoT devices without having to merge large amounts of code or have a deep understanding of the underlying implementation. The connectivity modules come pre-provisioned with security credentials, allowing you to off-load complex networking and cryptography tasks to the module and develop IoT products that connect securely to the cloud in weeks rather than months. Through seamless integration with a range of AWS IoT services such as AWS IoT Core, AWS IoT Device Shadow, and more, modules that use AWS IoT ExpressLink can easily access over 200 AWS cloud services.
To Start AWS IoT ExpressLink
Step 1:- Purchase a development kit
available device catalog
Step 2:- Follow the Started guide
- Set up your host machine
- Set up your AWS account
- Register an AWS IoT ExpressLink module to your development account
To create an AWS IoT thing and add it to your account you must retrieve the AWS IoT ExpressLink module Thing Name and its corresponding certificate. Follow these steps:
Open the AWS IoT Console. In the navigation pane choose Manage then choose Things. Choose Create things, select Create single thing, then choose Next.
Open the terminal application on your host machine and enter the command:
AT+CONF? ThingName
Copy the returned string (a sequence of alphanumeric characters) from the terminal.
Return to the AWS IoT console, and on the Specify thing properties page under Thing properties, paste the string you copied from the terminal into the Thing name field. Leave other fields with their default values, then choose Next.
In the terminal application, enter the command:
AT+CONF? Certificate pem
Copy the returned string (a longer sequence of alphanumeric symbols), and save it in a text file on your host machine as "ThingName.cert.pem".
In the AWS IoT console, on the Configure device certificate page, select Use my certificate, then select CA is not registered with AWS IoT.
Under Certificate, choose Choose file. Select the file "ThingName.cert.pem" that you created in a previous step, then choose Open.
Under Certificate status, select Active, then choose Next.
Under Attach policies to certificate, choose Create policy.
Enter a Policy name (for example, "IoTDevPolicy"), then under Policy document select JSON.
Copy the the following into the console Policy document:
{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": "*", "Resource": "*" } ] }
Choose Create. Return to the Attach policies to certificate page and select the policy you just created (for example, "IoTDevPolicy"), then choose Create thing to complete the thing creation.
In the AWS IoT console, in the navigation pane, choose Settings. Under Device data endpoint select the Endpoint to make a copy of the endpoint for your account.
In the terminal application, type this command using the endpoint you just copied:
AT+CONF Endpoint=**your endpoint string here**
Set up for Wi-Fi modules
AWS IoT ExpressLink modules that support Wi-Fi connectivity require access to a local Wi-Fi router in order to connect to the internet. You can enter the required security credentials with the following additional steps:
- In the terminal application, enter the command:
AT+CONF SSID=**your router ssid**
- In the terminal application, enter the command:
AT+CONF Passphrase=your router passphrase
- Connect and Interact with the AWS cloud
Use the MQTT client in the AWS IoT console to monitor the communication between your evaluation kit and the AWS Cloud.
Navigate to the AWS IoT console.
In the navigation pane, choose Test and then MQTT Test Client.
In Subscribe to a topic, enter #, and then choose Subscribe.
Connect
To establish a secure connection
- Open the terminal application on your host machine and enter the command:
AT+CONNECT
- After a short time, you will receive the message:
OK 1 CONNECTED
Congratulations! You have successfully connected to your AWS cloud account.
Send data to the AWS cloud
To send a "Hello World!" message
Open the terminal application on your host machine and enter the command:
AT+CONF Topic1=data
You should receive the response from the module:
OK
In the terminal application, enter the command:
AT+SEND1 Hello World!
After a short time, you should receive the message 'OK'.
In the AWS IoT console MQTT Test Client you should see the "Hello World!" message appear with the topic "data".
- Perform a firmware Over-The-Air update for AWS IoT ExpressLink
Step 3:- Integrate with your product
Integration examples
Top comments (0)