Arduino Mkr1010 And Alibaba Cloud Iot By Using Grove Sensor

About the project

This project shows grove gas sensor V2 and Grove - AMG8833 8x8 Infrared Thermal Temperature of seeed studio integrated with arduino mkr1010.

Project info

Difficulty: Moderate

Platforms: ArduinoSeeed StudioMQTTPlatformIO

Estimated time: 5 hours

License: Apache License 2.0 (Apache-2.0)

Items used in this project

Hardware components

Breadboard (generic) Breadboard (generic) x 1
Seeed Studio Grove - Infrared Temperature Sensor Array (AMG8833) Seeed Studio Grove - Infrared Temperature Sensor Array (AMG8833) x 1
Seeed Studio Grove - Multichannel Gas Sensor Seeed Studio Grove - Multichannel Gas Sensor x 1
Arduino MKR WiFi 1010 Arduino MKR WiFi 1010 x 1

Software apps and online services

Arduino IDE Arduino IDE
PlatformIO IDE PlatformIO IDE

Story

Grove - Multichannel Gas Sensor V2 has 4 measuring units, each of them is sensitive to various kinds of gases, which means you are able to get four sets of data at the same time. And different sorts of gases can also be judged by these four sets of data. The gas sensor used in this module is based on MEMS technology and has the advantage of being in a small size with considerable measurement stability and is more suitable for qualitative than quantitative measurement (https://wiki.seeedstudio.com/Grove-Multichannel-Gas-Sensor-V2/).

Grove - AMG8833 8x8 Infrared Thermal Temperature Sensor Array is a high precision infrared array sensor based on advanced MEMS technology. This sensor can measure temperatures ranging from 0°C to 80°C (32°F to 176°F) and provide the accuracy of +- 2.5°C (4.5°F). It can support temperature detection of the two-dimensional area of 8 × 8 (64 pixels) and a maximum 7 meters detection distance (https://www.seeedstudio.com/Grove-Infrared-Temperature-Sensor-Array-AMG8833.html).

This project is aimed to show how to use Arduino MKR1010 WiFi and Grove - Multichannel Gas Sensor V2 and Grove - AMG8833 8x8 Infrared Thermal Temperature Sensor Array in IoT implementation. Device integrated with both sensors will collect data of measurements. All of data will be sent to the Alibaba Cloud IoT Platform.

IoT Infrastructure

IoT Infrastructure

IoT Infrastructure

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 (https://www.alibabacloud.com/product/iot).

Hardware and Cloud Integration

Hardware and Cloud Integration

Hardware and Cloud Integration

Some libraries are used in this project:

1. https://github.com/arduino-libraries/WiFiNINA

2. https://github.com/Seeed-Studio/Seeed_Arduino_MultiGas

3. https://github.com/arduino-libraries/ArduinoMqttClient

4. https://github.com/sparkfun/SparkFun_GridEYE_Arduino_Library

5. https://github.com/bblanchon/ArduinoJson

After finishing installation of library on this project, we can do inspect of the code and all libraries. So the usage of RAM and FLASH memory are clearly known and also we can find the defects by using cppcheck (https://cppcheck.sourceforge.io/) which is a static analysis tool for C/C++ code.

Alibaba Cloud IoT Platform

Alibaba Cloud IoT Platform

Alibaba Cloud IoT Platform

Finally, It has been successfully connected to Alibaba Cloud IoT Platform.

Schematics, diagrams and documents

Multichannel_gas

Code

Multichannel_gas

Credits

Photo of radhyahmad

radhyahmad

IoT Engineer and Master Student in ITB Indonesia

   

Leave your feedback...