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

Build your own voice commands for IoT projects


It's nice if you can turn on/off lamps via voice commands. Yes, in this section, we will build a simple project to build voice commands on Arduino. We use EasyVR 3 shield for Arduino.

Our scenario is to build voice commands on Arduino to turn on/off a LED. You can change LED with a relay module and lamp. For development environment, I use Windows OS to implement this demo. Some EasyVR tools run only on Windows platform. For testing, I use Arduino Uno R3 board.

Let's start!

Setting up EasyVR shield 3

Before you using EasyVR shield 3 into your program, you should prepare to install several software and libraries.

Firstly, download EasyVR library for Arduino. You can download it on https://github.com/RoboTech-srl/EasyVR-Arduino/releases. Extract the file and put it on your Arduino library folder. You also can do it by clicking menu Sketch | Include Library | Add .ZIP Library. Select EasyVR library ZIP file.

The next step is to install EasyVR Commander...