AH

Enseigné par

James Won-Ki HONG

Professor, Dept. of Computer Science and Engineering Dean, Graduate School of Information Technology Pohang University of Science and Technology Republic of Korea

Transcription

Hello, everyone, this is Professor Hong again. This lecture provides a tutorial on Google Cloud IoT. And here is a table of contents for this tutorial. Before you use the Google Cloud IoT platform, you'll need to create an account in Google Cloud. Your credit card information is required. When you create your account, Google provides $300 US credit that can be used within 12 months. Please visit the site. Click Try It Free button on the top right corner, and follow the steps Once you have created your account in Google Cloud Platform, you'll need to create an IoT device and register it in Google Cloud IoT. Please follow the tutorial for doing this. The tutorial explains how to create, edit, and delete device registries and devices within them. If you're using ARTIK IDE to have your ARTIK board to communicate with Google Cloud IoT Core, please have a look at the mqtt sample provided in the URL below. And for other users, you can look at the Node.js or Python samples This is a screenshot of creating a device registry. A device registry is needed for a class of same devices, temperature sensors, for example. This is a follow-up screen image for creating a device registry. After this, you can create a device and associate it with the device registry. You can follow the tutorial given in the URL here. For receiving and analyzing the data from IoT devices and then performing an action as a result, you can follow the end-to-end example given in the provided URL. The diagram on the right gives a simplified illustration how data flows through the example system. Note that all of the events in the diagram occur asynchronously. The example illustrates a setup of an IoT device, ARTIK board, for example, and send report, temperature, for example, to cloud IoT. The IoT Cloud will forward the report to a given server. The server processes data and send command. For example, turning red LED off to device. The end-to-end sample provided in the tutorial can be used to set up a, IoT device, ARTIK board, for example, and send data, temperature, for example, to Cloud IoT. Cloud IoT will forward the data to a server. The server analyzes the data and sends a command. For example, turning red LED off to devicel. Deploying a server function in Google Cloud can be learned by reading the URL provided. This is the architecture of Google Cloud IoT for collecting data from the IoT devices, analyzing them, and then performing some controlled action, as well as visualizing the data. You'll need to use Cloud IoT, or Cloud Pub/Sub, Cloud Dataflow, Big Query and Data Studio. For understanding how to use Cloud Dataflow, BigQuery and Data Studio, follow the tutorials given in the URLs below. This is a screenshot of using BigQuery for creating a new dataset to query the data collected from the temperature and humidity sensors. This is a screenshot of creating a job of data flow from template in order to send the data to Big Query. This is a screenshot of visualizing report from Big Query data. Here are the references used in the tutorial of Google Cloud IoT. You can visit them and try to follow the examples given in the tutorials. Have a great time