- CSU Website Tutorial Hosting - http://csweb01.csueastbay.edu/~rg8643/googleiot/index.html
- YouTube video - https://www.youtube.com/watch?v=AiR-UIOOgiQ
This project is based on nodemcu mictocontroller board.
Google IoT services collects real time data from IoT devices. They collect data at the edge or in the cloud.This is a fully managed service provided by Google. It allows to us to securely connect, ingest and manage data from IoT devices. The combination of Cloud IoT Core with other services on Google's cloud platform provide us a complete package to collect, manage, process,analyze and visualize Iot data.
IoT(Internet of Things) generates lots of data. We need an efficient,affordable and scalable method to manage these devices.There comes Google cloud in picture. It provides a coherent mechanism to handle the informations generated by the devices. Google Cloud provides a platform to store, analyze and process the data.
- Google cloud provides tools for all our IoT applications starting fom ingestion to intelligence.
- It lets us automatically predicts when equipment needs maintenance.
- It provides feature of Real-time asset tracking.
This is a fully managed service. IoT Core device manager manages the devices in the google cloud.It handles registration, authentication, and authorization inside the Google Cloud resource hierarchy as well as device metadata stored in the cloud. It has the ability to send device configuration from the service to devices.
It is a process of importing data from devices into the Google Cloud services. Depending upon the data like whether it is telemetry or operational information about the devices, Google cloud provides different ingestion services.
MQTT stands for Message Queue Telemetry Transport. It is a messgaing protocol for the Internet of Things. It is an OASIS standard protocol used for IoT connectivity. This is very simple and lightweight messaging protocol. It is basically designed for the devices which has low bandwdth,high-latency.
IoT Core provides a secure MQTT messaging protocol for IoT devices and they are managed by IoT core. The IoT core MQTT directly connects with Google cloud Pub/Sub. The advantages of using this protocol is that with the help of configuration management feature, it can send real-time telemetry data and can immediately receive messages sent from the cloud to the device.
It gives globally durable message ingestion service. It helps to connect to other Google Cloud services like ingestion, data pipe lines and storage systems. If we create topics for streams/channels , we can enable different components of our application in order to subscribe to certain streams of data. We do not need to construct subscriber-specific channels on our IoT devices.
- Microcontroller - Nodemcu esp8266
- Sensor - BME 280
- Breadboard
- Jumper Wires
- USB cable
ESP8266 Arduino code prints BME280 sensor data temperature, pressure, humidity, altitude to the Arduino Serial Plotter (9600)
MQTT client running on ESP8266 collects data from BME280 and sends to Google cloud IoT
It uses Google Cloud IoT Core JWT and Arduino MQTT libraries
Uses the Google Cloud IoT Core JWT and Arduino MQTT libraries
Connects IoT device to Google Cloud IoT Core using Google PUB/SUB Broker.
To create a Cloud Pub/Sub topic, run:
gcloud pubsub topics create mytopic
Every year the number of IoT devices keep increasing. The data generated by these devices are very extensive. These data can be used to provide powerful insights. This is one of the biggest growth area especially with the arrival of 5G technology. The data generated by these IoT devices are different. Some of the data types are used to provide GPS co-ordinates, temperature, pressure, humidity, vehicle speed, etc. These are very complex data and need a reliable platform to analyze. Cloud Computing will help to analyze and provide insights on data.
As the number of IoT devices keeps increasing the data generated by them will increase multiple folds. Cloud Computing plays a major role in storing, analyzing and providing insights on the data. Google Cloud offers a complete package where these data can be stored and analyzed.
- https://mqtt.org/faq/
- https://cloud.google.com/solutions/iot-overview
- https://cloud.google.com/solutions/iot#section-7
- https://cloud.google.com/solutions/iot
- https://cloud.google.com
- https://nodemcu.readthedocs.io/en/release/
- https://protosupplies.com/product/gy-bme280-pressure-humidity-temperature-sensor-module/



































