Arduino Mkr 1400 Gsm Connecting To Mqtt Alibaba Cloud

About the project

This project to show how MKR 1400 GSM could be connected to Alibaba IoT Platform

Project info

Difficulty: Moderate

Platforms: PHPoCSparkFunPlatformIO

Estimated time: 1 hour

License: GNU Lesser General Public License version 3 or later (LGPL3+)

Items used in this project

Hardware components

PHPoC Bread Board PHPoC Bread Board x 1
SHT31-D SHT31-D x 1
SparkFun Air Quality Breakout - CCS811 SparkFun Air Quality Breakout - CCS811 x 1
Arduino MKR GSM 1400 Arduino MKR GSM 1400 x 1

Software apps and online services

PlatformIO IDE PlatformIO IDE

Story

Source: (https://store-usa.arduino.cc/products/arduino-mkr-gsm-1400)

Arduino MKR GSM 1400 is Arduino Iot Cloud compatible. The Arduino MKR GSM 1400 takes advantage of the cellular network as a means to communicate. The GSM / 3G network is the one that covers the highes percentage of the world's surface, making this connectivity option very attractive when no other connectivity options exist. Whether you are looking at building a gateway to your own remote sensor network, or if you need a single device sending a text message when an event happens at the other side of the country, the MKR GSM 1400 will help you to quickly implement a solution to accommodate your needs.

The board's main processor is a low power Arm® Cortex®-M0 32-bit SAMD21, like in the other boards within the Arduino MKR family. The GSM / 3G connectivity is performed with a module from u-blox, the SARA-U201, a low power chipset operating in the de different bands of the cellular range (GSM 850 MHz, E-GSM 1900 MHz, DCS 1800 MHz, PCS 1900 MHz). On top of those, secure communication is ensured through the Microchip® ECC508 crypto chip. Besides that, you can find a battery charger, and a connector for an external antenna.

GSM and Arduino IoT Cloud

At Arduino we have made connecting to a GSM network as easy as getting an LED to blink. You can set or receive calls, send and receive text messages, and access data networks to exchange data with different types of servers. You can even create your own server operating on the GPRS data network! The specific set of examples we provide for the MKR GSM 1400 can be consulted at the MKRGSM library reference page.

It is also possible to connect your board to different Cloud services, Arduino's own among others.

Alibaba Cloud IoT Platform allows IoT companies stable communication between devices and the IoT Platform. Featuring nodes deployed globally, devices around the world can communicate with the IoT platform rapidly and with low latency. Alibaba Cloud IoT Platform also provides various security measures that guarantee individual device security as well as secure communication between devices and the IoT platform. Critical to Alibaba Cloud's IoT Platform is its data storage and processing capabilities which allow for the integration of APIs and other Alibaba Cloud services. Finally, Alibaba Cloud IoT platform is highly customizable, featuring a rules engine for rapid data analysis, storage, and application development, sources (https://www.alibabacloud.com/product/iot).

The step to connect MKR1400 GSM to Alibaba IoT platform:

Step 1: Create Product

Step 1: Create Product

Step 1: Create Product

Step 2: created a product

Step 2: created a product

Step 2: created a product

Step 3: Edit Draft

Step 3: Edit Draft

Step 3: Edit Draft

Step 4: Add Slef-defined Feature

Step 4: Add Slef-defined Feature

Step 4: Add Slef-defined Feature

Step 5: Default Module

Step 5: Default Module

Step 5: Default Module

Step 6: TSL Model

Step 6: TSL Model

Step 6: TSL Model

Step 7: Add Device

Step 7: Add Device

Step 7: Add Device

Step 8: Device Information

Step 8: Device Information

Step 8: Device Information

Step 9: Setup MQTT parameters

Step 9: Setup MQTT parameters

Step 9: Setup MQTT parameters

Step 10: TSL Data Visualization

Step 10: TSL Data Visualization

Step 10: TSL Data Visualization

View Data CO2

View Data CO2

View Data CO2

View Data VOC

View Data VOC

View Data VOC

View Data Humidity

View Data Humidity

View Data Humidity

View Data Temperature

View Data Temperature

View Data Temperature

Hardware Configuration

Hardware Configuration

Hardware Configuration

And finally, it has been connected to Alibaba IoT platform through MQTT communication between GSM device and cloud.

Credits

Photo of radhyahmad

radhyahmad

IoT Engineer and Master Student in ITB Indonesia

   

Leave your feedback...