Book Image

Smart Internet of Things Projects

By : Agus Kurniawan
Book Image

Smart Internet of Things Projects

By: Agus Kurniawan

Overview of this book

Internet of Things (IoT) is a groundbreaking technology that involves connecting numerous physical devices to the Internet and controlling them. Creating basic IoT projects is common, but imagine building smart IoT projects that can extract data from physical devices, thereby making decisions by themselves. Our book overcomes the challenge of analyzing data from physical devices and accomplishes all that your imagination can dream up by teaching you how to build smart IoT projects. Basic statistics and various applied algorithms in data science and machine learning are introduced to accelerate your knowledge of how to integrate a decision system into a physical device. This book contains IoT projects such as building a smart temperature controller, creating your own vision machine project, building an autonomous mobile robot car, controlling IoT projects through voice commands, building IoT applications utilizing cloud technology and data science, and many more. We will also leverage a small yet powerful IoT chip, Raspberry Pi with Arduino, in order to integrate a smart decision-making system in the IoT projects.
Table of Contents (13 chapters)
Smart Internet of Things Projects
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

Introducing map engine platforms


To visualize our GPS data into concepts such as latitude and longitude, we can use a map. By putting latitude and longitude values on a map, we can see the exact location of the entity in question.

Basically, you can use your own map to visualize our GPS data. In this section, we will learn the common map engine platform, Google Maps API. This library provides many options for our programming model to visualize GPS data on a map. For further information about Google Maps API, you can visit the official website at https://developers.google.com/maps.

For our demo, we will use Google Maps API on our Python program. I use the Flask library as a web framework. Please find the Flask library at http://flask.pocoo.org.

To install the Flash library on your computer or Raspberry Pi, you can get it via pip:

$ pip install Flask

You may need to be of administrator level in order to install it. If so, you can use sudo on your command. For a Windows platform, you can call...