Intelligent IoT Projects in 7 Days - Agus Kurniawan - E-Book

Intelligent IoT Projects in 7 Days E-Book

Agus Kurniawan

0,0
31,19 €

-100%
Sammeln Sie Punkte in unserem Gutscheinprogramm und kaufen Sie E-Books und Hörbücher mit bis zu 100% Rabatt.
Mehr erfahren.
Beschreibung

Intelligent IoT Projects in 7 days is about creating smart IoT projects in just 7 days. This book will help you to overcome the challenge of analyzing data from physical devices.

This book aims to help you put together some of the most exciting IoT projects in a short span of time. You'll be able to use these in achieving or automating everyday tasks—one project per day.
We will start with a simple smart gardening system and move on to a smart parking system, and then we will make our own vending machine, a smart digital advertising dashboard, a smart speaker machine, an autonomous fire fighter robot, and finally
look at a multi-robot cooperation using swarm intelligence

Das E-Book können Sie in Legimi-Apps oder einer beliebigen App lesen, die das folgende Format unterstützen:

EPUB
MOBI

Seitenzahl: 131

Veröffentlichungsjahr: 2017

Bewertungen
0,0
0
0
0
0
0
Mehr Informationen
Mehr Informationen
Legimi prüft nicht, ob Rezensionen von Nutzern stammen, die den betreffenden Titel tatsächlich gekauft oder gelesen/gehört haben. Wir entfernen aber gefälschte Rezensionen.



Intelligent IoT Projects in 7 Days
Build exciting projects using smart devices
Agus Kurniawan

BIRMINGHAM - MUMBAI

Intelligent IoT Projects in 7 Days

Copyright © 2017 Packt Publishing

All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.

Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.

Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.

First published: September 2017

Production reference: 1070917

Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham
B3 2PB, UK.

ISBN 978-1-78728-642-9

www.packtpub.com

Credits

Author

Agus Kurniawan

Copy Editor

Stuti Srivastava

Reviewers

Ruben Oliva Ramos

Pradeeka Seneviratne

Vasilis Tzivaras

Project Coordinator

Virginia Dias

Commissioning Editor

Kartikey Pandey

Proofreader

Safis Editing

Acquisition Editor

Prateek Bharadwaj

Indexer

Aishwarya Gangawane

Content Development Editor

Sharon Raj

Graphics

Kirk D'Penha

Technical Editor

Mohit Hassija

Production Coordinator

Aparna Bhagat

About the Author

Agus Kurniawan is a lecturer, IT consultant, and an author. He has experience in various software and hardware development projects, delivering materials in training and workshops, and delivering technical writing for 17 years. He has been awarded the Microsoft Most Valuable Professional (MVP) award for 13 years in a row.

He is currently doing some research and teaching activities related to networking and security systems at the Faculty of Computer Science, University of Indonesia, and the Samsung R&D Institute, Indonesia. Currently, he's pursuing a PhD in Computer Science in Germany.

I am thankful to the entire team at Packt, especially Prateek Bharadwaj, Sharon Raj, Mohit Hassija, and the reviewers, for being so cooperative and patient with me. They have been a great help and their feedback and tips have improved the manuscript considerably. This book is dedicated to all open source makers, developers, contributors, and enthusiasts of Arduino, Raspberry Pi, and Machine Learning communities. Thanks to Makers.ID and the SeeedStudio community for the hardware support. I would like to thank my wife, Ela Juitasari; my son, Thariq; and my daughter, Zahra; for their support and encouragement.

About the Reviewers

Ruben Oliva Ramos is a Computer Systems Engineer from Tecnologico of León Institute, with a master's degree in Computer and Electronic Systems Engineering, Teleinformatics and Networking Specialization from the University of Salle Bajio in Leon, Guanajuato Mexico. He has more than five years of experience in developing WEB applications to control and monitor devices connected to Arduino, and Raspberry Pi using WEB Frameworks and Cloud Services to build the Internet of Things applications.

He is a mechatronics teacher the University of Salle Bajio and teaches students in the master's degree in Design and Engineering of Mechatronics Systems, he also works at Centro de Bachillerato Tecnologico Industrial 225 in Leon, Guanajuato Mexico, teaching subjects like: Electronics, Robotics and Control, Automation and Microcontrollers at the Mechatronics Technician Career, Consultant, and developer projects in areas like: Monitoring systems and data logger data using technologies: Android, iOS, Windows Phone, HTML5, PHP, CSS, Ajax, JavaScript, Angular, ASP .NET databases: SQLite, MongoDB, MySQL, WEB Servers: Node.js, IIS, hardware programming: Arduino, Raspberry Pi, Ethernet Shield, GPS and GSM/GPRS, ESP8266, control and monitor Systems for data Acquisition and Programming.

He has written the book Internet of Things Programming with JavaScript, by Packt. Also Monitoring, Controlling and Acquisition of Data with Arduino and Visual Basic .NET for Alfaomega.

I would like to thank my Savior and Lord, Jesus Christ for giving me strength and courage to pursue this project; to my dearest wife, Mayte, our two lovely sons, Ruben and Dario, To my father (Ruben), my dearest mom (Rosalia), my brother (Juan Tomas), and my sister (Rosalia) whom I love, for all their support while reviewing this book, for allowing me to pursue my dream and tolerating my not being with them after my busy day job. I’m very grateful to Packt Publishing for giving the opportunity to collaborate as an author and reviewer, and to be a part of this honest and professional team.

Pradeeka Seneviratne is a software engineer with over 10 years of experience in computer programming and systems designing. He is an expert in the development of Arduino and Raspberry Pi-based embedded systems. Pradeeka is currently a full-time embedded software engineer who works with embedded systems and highly scalable technologies. Previously, he worked as a software engineer for several IT infrastructures and technology servicing companies. He collaborated with the Outernet (Free data from space, forever) project as a hardware volunteer and a software tester for Lighthouse, and Raspberry Pi-based DIY Outernet receivers based on Ku band satellite frequencies. He is also the author of four books:

Internet of Things with Arduino Blueprints, by PacktIoT: Building Arduino-based Projects, by PacktBuilding Arduino PLCs, by ApressRaspberry Pi 3 Projects for Java Programmers, by Packt

VasilisTzivarasis a Computer Engineer holding a BSc degree in Computer Science and Engineering, University of Ioannina in Greece. His thesis is about the autonomous landing of a quadcopter using IBVS. During his studies, he was the chair of the IEEE Student Branch of the University of Ioannina. With his colleagues, he has organized workshops and lead projects relevant to robotics and other technologies. Using Arduino, Raspberry Pi, and other low cost and energy solutions he has taken part in many hackathons and contests and has also taken a good place. He is the writer of Building a Quadcopter with Arduino that was published in 2015 and Raspberry Pi Zero W Wireless Projects that will be published by the end of 2017.

www.PacktPub.com

For support files and downloads related to your book, please visit www.PacktPub.com. Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com, and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at [email protected] for more details. At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks.

https://www.packtpub.com/mapt

Get the most in-demand software skills with Mapt. Mapt gives you full access to all Packt books and video courses, as well as industry-leading tools to help you plan your personal development and advance your career.

Get the most in-demand software skills with Mapt. Mapt gives you full access to all Packt books and video courses, as well as industry-leading tools to help you plan your personal development and advance your career.

Why subscribe?

Fully searchable across every book published by Packt

Copy and paste, print, and bookmark content

On demand and accessible via a web browser

Customer Feedback

Thanks for purchasing this Packt book. At Packt, quality is at the heart of our editorial process. To help us improve, please leave us an honest review on this book's Amazon page athttps://www.amazon.com/dp/1787286428.

If you'd like to join our team of regular reviewers, you can email us [email protected]. We award our regular reviewers with free eBooks and videos in exchange for their valuable feedback. Help us be relentless in improving our products!

Table of Contents

Preface

What this book covers

What you need for this book

Who this book is for

Conventions

Reader feedback

Customer support

Downloading the example code

Downloading the color images of this book

Errata

Piracy

Questions

A Simple Smart Gardening System

Introducing smart gardening system

Exploring gardening system platforms

Open Garden shield for Arduino

Grove Smart Plant Care kit for Arduino

EcoDuino

Sensor devices for a smart gardening system

Soil moisture sensor

Temperature and humidity sensor

Watering your garden and farm

Building a smart gardening system

Introducing the PID controller

Implementing a PID controller in Python

How it works

Sending data from the Arduino to the server

Controlling soil moisture using a PID controller

How it works

Summary

A Smart Parking System

Introducing smart parking systems

Sensor devices for a smart parking system

Ultrasonic sensor - HC-SR04

PIR motion sensor

Hall Effect sensor

Camera

Vehicle entry/exit detection

Vehicle plate number detection

Installing OpenALPR

Testing vehicle plate number detection

Vacant parking space detection

A parking management system

Building a smart parking system

Summary

Making Your Own Vending Machine

Introducing vending machines

Designing a vending machine

Central control machine

Detecting coins for payments

Detecting coin weight

Detecting coins using optical sensing

Building UI and UX for user interaction

Display interfacing

Input interfacing

Designing a database model

Building the vending machine

Summary

A Smart Digital Advertising Dashboard

Introducing smart digital advertising dashboards

Exploring digital signage platforms

1Play

Screenly

Xibo

Concerto

Designing a smart digital advertising system

Detecting human presence

PIR motion sensor

Ultrasonic sensor - HC-SR04

Thermal sensor

Optical sensor

Displaying and delivering ad content

Flask

Pyramid

Django

Building a smart digital advertising dashboard

Summary

A Smart Speaker Machine

Introducing smart speaker machines

Exploring existing smart speaker machines

Amazon Echo

Google Home

Ivee

Triby

Introducing ReSpeaker

How it works

Integrating your IoT boards with ReSpeaker

GPIO programming on ReSpeaker

Connecting to the Microsoft Bing Speech API

Building your own smart speaker machine

Summary

Autonomous Firefighter Robot

Introducing autonomous firefighter robots

Exploring robot platforms

Zumo robot for Arduino

MiniQ Discovery Arduino robot kit

Turtle kit - a 2WD DIY Arduino robotics kit for beginners

GoPiGo robot

Detecting a fire source

Grove - flame sensor

SainSmart flame detection sensor module

Demo - fire detection

Basic remote robot navigation

Detecting obstacles

How it works

Designing an autonomous robot

Building an autonomous firefighter robot

Summary

Multi-Robot Cooperation Using Swarm Intelligence

Introducing multi-robot cooperation

Learning about swarm intelligence

Implementing mesh network for multi-robot cooperation

XBee modules

Configuring XBee modules

Demo - data communication using XBee

How it works

XBee development for Arduino

Configuring the XBee module

Writing the sketch program

Testing

Working with the XBee library for Arduino

Designing a multi-robot cooperation model using swarm intelligence

Defining objectives

Selecting a robot platform

Selecting the algorithm for swarm intelligence

Summary

Essential Hardware Components

Preface

Internet of Things (IoT) is a ground-breaking technology that involves connecting numerous physical devices to the Internet and controlling them. Analyzing data from Internet of Things devices and converting it into something meaningful is currently driving the next level of IoT learning. Discover how to build your own Intelligent Internet of Things projects and bring a new degree of interconnectivity to your world.

What this book covers

Chapter 1, A Simple Smart Gardening System, begins with explaining how to build a simple smart gardening system with involved plant sensor devices and Arduino.

Chapter 2, A Smart Parking System, will teach you to build a smart parking system. Learn how to detect a car plate and to count the car parking duration. Various pattern recognition algorithms will be introduced to detect a car plate.

Chapter 3, Making Your Own Vending Machine, will help you build a simple vending machine, detecting a coin is an important part of the vending machine and building UI (User Interface) for the vending machine is explored.

Chapter 4, A Smart Digital Advertising Dashboard, teaches you to build a simple smart digital advertising which could detect people’s presence so the advertiser can obtain an effective report of how many people watch the ads display.

Chapter 5, A Smart Speaker Machine, will help you build a simple smart speaker machine. You will start to learn Amazon Echo and then build your own simple smart speaker machine.

Chapter 6, Autonomous Firefighter Robot, teaches you to build an autonomous robot which finds a fire source location and extinguish fires. You will also learn to find the fire source location and navigate to the source location.

Chapter 7, Multi-Robot Cooperation Using Swarm Intelligence, focuses on how to make transport cooperation among robots using swarm intelligence. You will also learn the concept of swarm intelligence so that you can implement it in among robots.

Appendix, Essential Hardware Components, covers mandatory hardware required for this book.

What you need for this book

In order to work with Drupal 8 and to run the code examples found in this book, the following software will be required.

Web server software stack:

Web server: Apache (recommended), Nginx, or Microsoft IIS

Database: MySQL 5.5 or MariaDB 5.5.20 or higher

PHP: PHP 5.5.9 or higher

Chapter 1, A Simple Smart Gardening System, details all of these requirements and includes a recipe highlighting an out of the box development server setup.

You will also need a text editor, following is a suggestion of popular editors and IDEs:

Atom.io editor,

https://atom.io/

PHPStorm (specific Drupal integration),

https://www.jetbrains.com/phpstorm/

Vim with Drupal configuration,

https://www.drupal.org/project/vimrc

Your operating system’s default text editor or command line file editors

For more information on hardware retirements, you may refer Appendix section of this book

Who this book is for

If you're a developer, IoT enthusiast, or just someone curious about Internet of Things, then this book is for you. A basic understanding of electronic hardware, networking, and basic programming skills would do wonders.

Reader feedback