Mastering Internet of Things
Copyright 2018 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(s), nor Packt Publishing or its dealers and distributors, will be held liable for any damages caused or alleged to have been 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.
Commissioning Editor: Vijin Boricha
Acquisition Editor: Namrata Patil
Content Development Editor: Trusha Shriyan
Technical Editor: Naveenkumar Jain
Copy Editor: Laxmi Subramanian and Safis Editing
Project Coordinator: Kinjal Bari
Proofreader: Safis Editing
Indexer: Mariammal Chettiyar
Graphics: Jisha Chirayil
Production Coordinator: Nilesh Mohite
First published: March 2018
Production reference: 1230318
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham
B3 2PB, UK.
ISBN 978-1-78839-748-3
www.packtpub.com
Today. while writing this, it has passed 11 months to the day since the work on this book began. A lot of time and effort has been dedicated to creating this book and its contents. If this book helps you, the reader, gain insights into the world of Internet of Things and the future Smart City, or Smart Society, this effort has been well spent. I would like to dedicate this book to the loving memory of my little brother, Viktor, who unfortunately passed away last year, only thirty-seven years old, leaving behind his wife and children. It was a difficult time for the entire family, and in many regards, it still is. This book wouldnt have been completed without the help, support, and understanding of my father, Jri, who has dedicated a lot of time and effort to his grandchildren; and my wife, Katya; and daughters, Maria-Lorena and Ella-Pauline. Without their support and understanding, it wouldnt have been possible to dedicate all the late nights and weekends to this book. I would also like to thank the editors at Packt, who have had patience with all the many missed deadlines.
Peter Waher
mapt.io
Mapt is an online digital library that gives you full access to over 5,000 books and videos, as well as industry leading tools to help you plan your personal development and advance your career. For more information, please visit our website.
Why subscribe?
Spend less time learning and more time coding with practical eBooks and Videos from over 4,000 industry professionals
Improve your learning with Skill Plans built especially for you
Get a free eBook or video every month
Mapt is fully searchable
Copy and paste, print, and bookmark content
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 service@packtpub.com 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.
Contributors
About the author
Peter Waher is the founder of Little Sistera standards-based distributed social networkbased on the principles of edge computing, privacy, and information ownership for humans and machines. Currently, he advises companies on topics such as privacy, the IoT, and Smart Cities. He has worked for 24 years with computers and device communication, including low-level development in assembler for resource-constrained devices to high-level system design and architecture. His award-winning applications have attracted global attention; he has also spoken at prestigious events.
About the reviewer
Pankaj Ganguly is currently working as an IoT architect with Wipro. Previously, he served Persistent for 12 years. He architected and delivered many IoT solutions using diverse technologies and cloud platforms.
He is an AWS certified solution architect and a ToGAF 9 certified enterprise architect who has published seven research papers in international conferences and journals. He also reviewed many journal and conference papers. He taught at NIT as a visiting faculty, and has been a part of the academic committee and external evaluators of many NITs in India.
Packt is searching for authors like you
If you're interested in becoming an author for Packt, please visit authors.packtpub.com and apply today. We have worked with thousands of developers and tech professionals, just like you, to help them share their insight with the global tech community. You can make a general application, apply for a specific hot topic that we are recruiting an author for, or submit your own idea.
Preface
Hello and welcome to Mastering Internet of Things. This book will guide you through the very fascinating subject of Internet of Things, and the emerging concept of Smart Cities. If youre a novice to the subject, dont worry, youll be introduced to it. You are assumed to know the basic principles of software development. Standard components such as Raspberry Pi, Arduino, and related peripherals will be used throughout the book. There is no need for knowledge of electronics, even though an understanding of the basic underlying principles will help. The book will guide you through many of the different problems each developer needs to face and master, using several practical projects. Weve chosen to use C# in all the examples. Its a modern language that will allow us to reuse code efficiently between PCs, embedded devices, smart phones, and tablets. You can choose between using free or commercial development tools. By the end, youll be an adept in the field, having mastered many of the fundamentals of Internet of Things and will be ready to join us in the effort in creating the next generation of Smart Cities and Smart Societies.