Hands-On Internet of Things with MQTT

Hands-On Internet of Things with MQTT

Author: Tim Pulver

Publisher: Packt Publishing Ltd

ISBN: 9781789345001

Category: Computers

Page: 350

View: 247

Develop a variety of projects and connect them to microcontrollers and web servers using the lightweight messaging protocol MQTT Key FeaturesLeverage the power of MQTT to build a pet food dispenser, e-ink to-do list, and a productivity cubeLearn about technologies like laser cutting, 3D printing, and PCB production for building robust prototypesExplore practical uses cases to gain an in-depth understanding of MQTTBook Description MQ Telemetry Transport (MQTT) is a lightweight messaging protocol for smart devices that can be used to build exciting, highly scalable Internet of Things (IoT) projects. This book will get you started with a quick introduction to the concepts of IoT and MQTT and explain how the latter can help you build your own internet-connected prototypes. As you advance, you’ll gain insights into how microcontrollers communicate, and you'll get to grips with the different messaging protocols and techniques involved. Once you are well-versed with the essential concepts, you’ll be able to put what you’ve learned into practice by building three projects from scratch, including an automatic pet food dispenser and a smart e-ink to-do display. You’ll also discover how to present your own prototypes professionally. In addition to this, you'll learn how to use technologies from third-party web service providers, along with other rapid prototyping technologies, such as laser cutting, 3D printing, and PCB production. By the end of this book, you’ll have gained hands-on experience in using MQTT to build your own IoT prototypes. What you will learnExplore MQTT programming with ArduinoDiscover how to make your prototypes talk to each otherSend MQTT messages from your smartphone to your prototypesDiscover how you can make websites interact with your prototypesLearn about MQTT servers, libraries, and appsExplore tools such as laser cutting and 3D printing in order to build robust prototype casesWho this book is for If you are an IoT developer or enthusiast who wants to start building IoT prototypes using MQTT, this book is for you. Basic knowledge of programming with Arduino will be useful.

Hands-On Industrial Internet of Things

Hands-On Industrial Internet of Things

Author: Giacomo Veneri

Publisher: Packt Publishing Ltd

ISBN: 9781789538304

Category: Computers

Page: 556

View: 891

Build a strong and efficient IoT infrastructure at industrial and enterprise level by mastering Industrial IoT network Key FeaturesGain hands-on experience working with industrial architectureExplore the potential of cloud-based Industrial IoT platforms, analytics, and protocolsImprove business models and transform your workforce with Industry 4.0Book Description We live in an era where advanced automation is used to achieve accurate results. To set up an automation environment, you need to first configure a network that can be accessed anywhere and by any device. This book is a practical guide that helps you discover the technologies and use cases for Industrial Internet of Things (IIOT). Hands-On Industrial Internet of Things takes you through the implementation of industrial processes and specialized control devices and protocols. You’ll study the process of identifying and connecting to different industrial data sources gathered from different sensors. Furthermore, you’ll be able to connect these sensors to cloud network, such as AWS IoT, Azure IoT, Google IoT, and OEM IoT platforms, and extract data from the cloud to your devices. As you progress through the chapters, you’ll gain hands-on experience in using open source Node-Red, Kafka, Cassandra, and Python. You will also learn how to develop streaming and batch-based Machine Learning algorithms. By the end of this book, you will have mastered the features of Industry 4.0 and be able to build stronger, faster, and more reliable IoT infrastructure in your Industry. What you will learnExplore industrial processes, devices, and protocolsDesign and implement the I-IoT network flowGather and transfer industrial data in a secure wayGet to grips with popular cloud-based platformsUnderstand diagnostic analytics to answer critical workforce questionsDiscover the Edge device and understand Edge and Fog computingImplement equipment and process management to achieve business-specific goalsWho this book is for If you’re an IoT architect, developer, or stakeholder working with architectural aspects of Industrial Internet of Things, this book is for you.

Internet of Things: A Hands-On Approach

Internet of Things: A Hands-On Approach

Author: Arshdeep Bahga

Publisher: VPT

ISBN: 9780996025515

Category: Computers

Page: 445

View: 719

Internet of Things (IoT) refers to physical and virtual objects that have unique identities and are connected to the internet to facilitate intelligent applications that make energy, logistics, industrial control, retail, agriculture and many other domains "smarter". Internet of Things is a new revolution of the Internet that is rapidly gathering momentum driven by the advancements in sensor networks, mobile devices, wireless communications, networking and cloud technologies. Experts forecast that by the year 2020 there will be a total of 50 billion devices/things connected to the internet. This book is written as a textbook on Internet of Things for educational programs at colleges and universities, and also for IoT vendors and service providers who may be interested in offering a broader perspective of Internet of Things to accompany their own customer and developer training programs. The typical reader is expected to have completed a couple of courses in programming using traditional high-level languages at the college-level, and is either a senior or a beginning graduate student in one of the science, technology, engineering or mathematics (STEM) fields. Like our companion book on Cloud Computing, we have tried to write a comprehensive book that transfers knowledge through an immersive "hands on" approach, where the reader is provided the necessary guidance and knowledge to develop working code for real-world IoT applications. Additional support is available at the book's website: www.internet-of-things-book.com Organization The book is organized into 3 main parts, comprising of a total of 11 chapters. Part I covers the building blocks of Internet of Things (IoTs) and their characteristics. A taxonomy of IoT systems is proposed comprising of various IoT levels with increasing levels of complexity. Domain specific Internet of Things and their real-world applications are described. A generic design methodology for IoT is proposed. An IoT system management approach using NETCONF-YANG is described. Part II introduces the reader to the programming aspects of Internet of Things with a view towards rapid prototyping of complex IoT applications. We chose Python as the primary programming language for this book, and an introduction to Python is also included within the text to bring readers to a common level of expertise. We describe packages, frameworks and cloud services including the WAMP-AutoBahn, Xively cloud and Amazon Web Services which can be used for developing IoT systems. We chose the Raspberry Pi device for the examples in this book. Reference architectures for different levels of IoT applications are examined in detail. Case studies with complete source code for various IoT domains including home automation, smart environment, smart cities, logistics, retail, smart energy, smart agriculture, industrial control and smart health, are described. Part III introduces the reader to advanced topics on IoT including IoT data analytics and Tools for IoT. Case studies on collecting and analyzing data generated by Internet of Things in the cloud are described.

Hands-On MQTT Programming with Python

Hands-On MQTT Programming with Python

Author: Gaston C. Hillar

Publisher: Packt Publishing Ltd

ISBN: 9781789137811

Category: Computers

Page: 228

View: 892

Explore the features included in the latest versions of MQTT for IoT and M2M communications and use them with modern Python 3. Key Features Make your connected devices less prone to attackers by understanding security mechanisms Take advantage of MQTT features for IoT and Machine-to-Machine communications The only book that covers MQTT with a single language, Python Book Description MQTT is a lightweight messaging protocol for small sensors and mobile devices. This book explores the features of the latest versions of MQTT for IoT and M2M communications, how to use them with Python 3, and allow you to interact with sensors and actuators using Python. The book begins with the specific vocabulary of MQTT and its working modes, followed by installing a Mosquitto MQTT broker. You will use different utilities and diagrams to understand the most important concepts related to MQTT. You will learn to make all the necessary configuration to work with digital certificates for encrypting all data sent between the MQTT clients and the server. You will also work with the different Quality of Service levels and later analyze and compare their overheads. You will write Python 3.x code to control a vehicle with MQTT messages delivered through encrypted connections (TLS 1.2), and learn how leverage your knowledge of the MQTT protocol to build a solution based on requirements. Towards the end, you will write Python code to use the PubNub cloud-based real-time MQTT provider to monitor a surfing competition. In the end, you will have a solution that was built from scratch by analyzing the requirements and then write Python code that will run on water-proof IoT boards connected to multiple sensors in surfboards. What you will learn Learn how MQTT and its lightweight messaging system work Understand the MQTT puzzle: clients, servers (formerly known as brokers), and connections Explore the features included in the latest versions of MQTT for IoT and M2M communications Publish and receive MQTT messages with Python Learn the difference between blocking and threaded network loops Take advantage of the last will and testament feature Work with cloud-based MQTT interfaces in Python Who this book is for This book is for developers who want to learn about the MQTT protocol for their IoT projects. Prior knowledge of working with IoT and Python will be helpful.

Hands-On Edge Analytics with Azure IoT

Hands-On Edge Analytics with Azure IoT

Author: Colin Dow

Publisher: Packt Publishing Ltd

ISBN: 9781838821319

Category: Computers

Page: 262

View: 782

Design, secure, and protect the privacy of edge analytics applications using platforms and tools such as Microsoft's Azure IoT Edge, MicroPython, and Open Source Computer Vision (OpenCV) Key FeaturesBecome well-versed with best practices for implementing automated analytical computationsDiscover real-world examples to extend cloud intelligenceDevelop your skills by understanding edge analytics and applying it to research activitiesBook Description Edge analytics has gained attention as the IoT model for connected devices rises in popularity. This guide will give you insights into edge analytics as a data analysis model, and help you understand why it’s gaining momentum. You'll begin with the key concepts and components used in an edge analytics app. Moving ahead, you'll delve into communication protocols to understand how sensors send their data to computers or microcontrollers. Next, the book will demonstrate how to design modern edge analytics apps that take advantage of the processing power of modern single-board computers and microcontrollers. Later, you'll explore Microsoft Azure IoT Edge, MicroPython, and the OpenCV visual recognition library. As you progress, you'll cover techniques for processing AI functionalities from the server side to the sensory side of IoT. You'll even get hands-on with designing a smart doorbell system using the technologies you’ve learned. To remove vulnerabilities in the overall edge analytics architecture, you'll discover ways to overcome security and privacy challenges. Finally, you'll use tools to audit and perform real-time monitoring of incoming data and generate alerts for the infrastructure. By the end of this book, you'll have learned how to use edge analytics programming techniques and be able to implement automated analytical computations. What you will learnDiscover the key concepts and architectures used with edge analyticsUnderstand how to use long-distance communication protocols for edge analyticsDeploy Microsoft Azure IoT Edge to a Raspberry PiCreate Node-RED dashboards with MQTT and Text to Speech (TTS)Use MicroPython for developing edge analytics appsExplore various machine learning techniques and discover how machine learning is related to edge analyticsUse camera and vision recognition algorithms on the sensory side to design an edge analytics appMonitor and audit edge analytics appsWho this book is for If you are a data analyst, data architect, or data scientist who is interested in learning and practicing advanced automated analytical computations, then this book is for you. You will also find this book useful if you’re looking to learn edge analytics from scratch. Basic knowledge of data analytics concepts is assumed to get the most out of this book.

Hands-On Embedded Programming with Qt

Hands-On Embedded Programming with Qt

Author: John Werner

Publisher: Packt Publishing Ltd

ISBN: 9781789953800

Category: Computers

Page: 416

View: 522

A comprehensive guide that will get you up and running with embedded software development using Qt5 Key Features Learn to create fluid, cross-platform applications for embedded devices Achieve optimum performance in your applications with QT Lite project Explore the implementation of Qt with IoT using QtMqtt, QtKNX, and QtWebSockets Book Description Qt is an open-source toolkit suitable for cross-platform and embedded application development. This book uses inductive teaching to help you learn how to create applications for embedded and Internet of Things (IoT) devices with Qt 5. You’ll start by learning to develop your very first application with Qt. Next, you’ll build on the first application by understanding new concepts through hands-on projects and written text. Each project will introduce new features that will help you transform your basic first project into a connected IoT application running on embedded hardware. In addition to practical experience in developing an embedded Qt project, you will also gain valuable insights into best practices for Qt development, along with exploring advanced techniques for testing, debugging, and monitoring the performance of Qt applications. Through the course of the book, the examples and projects are demonstrated in a way so that they can be run both locally and on an embedded platform. By the end of this book, you will have the skills you need to use Qt 5 to confidently develop modern embedded applications. What you will learn Understand how to develop Qt applications using Qt Creator under Linux Explore various Qt GUI technologies to build resourceful and interactive applications Understand Qt’s threading model to maintain a responsive UI Get to grips with remote target load and debug under Qt Creator Become adept at writing IoT code using Qt Learn a variety of software best practices to ensure that your code is efficient Who this book is for This book is for software and hardware professionals with experience in different domains who are seeking new career opportunities in embedded systems and IoT. Working knowledge of the C++ Linux command line will be useful to get the most out of this book.

Hands-On Serverless Computing

Hands-On Serverless Computing

Author: Kuldeep Chowhan

Publisher: Packt Publishing Ltd

ISBN: 9781788834957

Category: Computers

Page: 350

View: 686

Deploy functions efficiently using different cloud-based serverless offerings Key Features Understand the concept of Function-as-a-Service Implement Serverless solutions using AWS Lambda, Azure Functions and Google Cloud Functions Practical approach towards choosing the best tool for your serverless environment Book Description Serverless applications and architectures are gaining momentum and are increasingly being used by companies of all sizes. Serverless software takes care of many problems that developers face when running systems and servers, such as fault tolerance, centralized logging, horizontal scalability, and deployments. You will learn how to harness serverless technology to rapidly reduce production time and minimize your costs, while still having the freedom to customize your code, without hindering functionality. Upon finishing the book, you will have the knowledge and resources to build your own serverless application hosted in AWS, Microsoft Azure, or Google Cloud Platform, and will have experienced the benefits of event-driven technology for yourself. This hands-on guide dives into the basis of serverless architectures and how to build them using Node.js as a programming language, Visual Studio Code for code editing, and Postman for quickly and securely developing applications without the hassle of configuring and maintaining infrastructure on three public cloud platforms. What you will learn Understand the benefts of serverless computing and know when to use it Develop serverless applications on AWS, Azure, and Google Cloud Get to grips with Function as a Service (FaaS) Apply triggers to serverless functions Build event-driven apps using serverless frameworks Use the Node.js programming language to build serverless apps Use code editors, such as Visual Studio Code, as development environments Master the best development practices for creating scalable and practical solutions Who this book is for This book is targeted towards developers, system administrators or any stakeholder working in the Serverless environment and want to understand how functions work. Basic idea of serverless architecture can be an added advantage

Fundamentals of Internet of Things

Fundamentals of Internet of Things

Author: F. John Dian

Publisher: John Wiley & Sons

ISBN: 9781119847311

Category: Technology & Engineering

Page: 436

View: 741

FUNDAMENTALS OF INTERNET OF THINGS Fundamentals of Internet of Things: For Students and Professionals teaches the principles of IoT systems. It employs a systematic approach to explain IoT architecture models and their layers. The textbook is arranged based on various layers of an architecture model. For readers who are unfamiliar with the concept of data communication and networks, the first chapter of this book covers the fundamentals of data communication and networks. It can also be used as review material for those who are already familiar with the concept. The book begins with many examples of IoT use cases to show readers how IoT can be applied to various IoT verticals. The concept of smart sensors is then described, as well as their applications in the IoT ecosystem. Because internet connectivity is an essential part of any IoT system, the book explores wired and wireless connectivity schemes including cellular IoT in the 4G and 5G eras. IoT protocols, analytics, as well as IoT security and privacy are important topics that are explained in this book with simple explanations. The last chapter of this book is dedicated to IoT solution development. IoT is one of the most rapidly evolving technologies today, and there is no better guide to this rapidly expanding sector than Fundamentals of Internet of Things (IoT) for Students and Professionals. Features: Simple explanations of complex concepts More than 300 exercise problems and advanced exercise questions Provided solutions for the exercise problems 10 practical IoT projects

Hands-On Internet of Things with Blynk

Hands-On Internet of Things with Blynk

Author: Pradeeka Seneviratne

Publisher: Packt Publishing Ltd

ISBN: 9781788997065

Category: Computers

Page: 271

View: 753

Connect things to create amazing IoT applications in minutes Key Features Use Blynk cloud and Blynk server to connect devices Build IoT applications on Android and iOS platforms A practical guide that will show how to connect devices using Blynk and Raspberry Pi 3 Book Description Blynk, known as the most user-friendly IoT platform, provides a way to build mobile applications in minutes. With the Blynk drag-n-drop mobile app builder, anyone can build amazing IoT applications with minimal resources and effort, on hardware ranging from prototyping platforms such as Arduino and Raspberry Pi 3 to industrial-grade ESP8266, Intel, Sierra Wireless, Particle, Texas Instruments, and a few others. This book uses Raspberry Pi as the main hardware platform and C/C++ to write sketches to build projects. The first part of this book shows how to set up a development environment with various hardware combinations and required software. Then you will build your first IoT application with Blynk using various hardware combinations and connectivity types such as Ethernet and Wi-Fi. Then you'll use and configure various widgets (control, display, notification, interface, time input, and some advanced widgets) with Blynk App Builder to build applications. Towards the end, you will learn how to connect with and use built-in sensors on Android and iOS mobile devices. Finally you will learn how to build a robot that can be controlled with a Blynk app through the Blynk cloud and personal server. By the end of this book, you will have hands-on experience building IoT applications using Blynk. What you will learn Build devices using Raspberry Pi and various sensors and actuators Use Blynk cloud to connect and control devices through the Blynk app builder Connect devices to Blynk cloud and server through Ethernet and Wi-Fi Make applications using Blynk app builder on Android and iOS platforms Run Blynk personal server on the Windows, MAC, and Raspberry Pi platforms Who this book is for This book is targeted at any stakeholder working in the IoT sector who wants to understand how Blynk works and build exciting IoT projects. Prior understanding of Raspberry Pi, C/C++, and electronics is a must.

Hands-On Robotics with JavaScript

Hands-On Robotics with JavaScript

Author: Kassandra Perch

Publisher: Packt Publishing Ltd

ISBN: 9781789346732

Category: Computers

Page: 214

View: 429

Leverage Raspberry Pi 3 and different JavaScript platforms to build exciting Robotics projects Key Features Build robots that light up and make noise Learn to work with Raspberry Pi 3 and JavaScript Connect your Johnny-Five projects to external APIs and create your own IoT Book Description There has been a rapid increase in the use of JavaScript in hardware and embedded device programming. JavaScript has an effective set of frameworks and libraries that support the robotics ecosystem. Hands-On Robotics with JavaScript starts with setting up an environment to program robots in JavaScript. Then, you will dive into building basic-level projects such as a line-following robot. You will walk through a series of projects that will teach you about the Johnny-Five library, and develop your skills with each project. As you make your way through the chapters, you’ll work on creating a blinking LED, before moving on to sensors and other more advanced concepts. You will then progress to building an advanced-level AI-enabled robot, connect their NodeBots to the internet, create a NodeBots Swarm, and explore MQTT. By the end of this book, you will have gained hands-on experience in building robots using JavaScript What you will learn Install and run Node.js and Johnny-Five on Raspberry Pi Assemble, code, and run an LED project Leverage JavaScript libraries to build exciting robots Use sensors to collect data from the world around you Employ servos and motors to make your project move Add internet capabilities to your Johnny-Five project Who this book is for Hands-On Robotics with JavaScript is for individuals who have prior experience with Raspberry Pi 3 and like to write sketches in JavaScript. Basic knowledge of JavaScript and Node.js will help you get the most out of this book.

Human-Centered Software Engineering

Human-Centered Software Engineering

Author: Regina Bernhaupt

Publisher: Springer Nature

ISBN: 9783030642662

Category: Computers

Page: 225

View: 747

This book constitutes the refereed conference proceedings of the 8th IFIP WG 13.2 International Conference on Human-Centered Software Engineering, HCSE 2020, which was supposed to be held in Eindhoven, The Netherlands, in November/December 2020, was instead held virtually due to the COVID-19 pandemic. The 10 full papers and 5 short poster and demo papers presented together with 5 poster and demo papers were carefully reviewed and selected from 33 submissions. The papers focus on the interdependencies between user interface properties and contribute to the development of theories, methods, tools and approaches for dealing with multiple properties that should be taken into account when developing interactive systems. They are organized in the following topical sections: user-centred design approaches; model-based and model-driven approaches; software development strategies; and posters and demos.

Human Centred Intelligent Systems

Human Centred Intelligent Systems

Author: Alfred Zimmermann

Publisher: Springer Nature

ISBN: 9789811557842

Category: Technology & Engineering

Page: 450

View: 335

This book highlights new trends and challenges in intelligent systems, which play an important part in the digital transformation of many areas of science and practice. It includes papers offering a deeper understanding of the human-centred perspective on artificial intelligence, of intelligent value co-creation, ethics, value-oriented digital models, transparency, and intelligent digital architectures and engineering to support digital services and intelligent systems, the transformation of structures in digital businesses and intelligent systems based on human practices, as well as the study of interaction and the co-adaptation of humans and systems. All papers were originally presented at the International KES Conference on Human Centred Intelligent Systems 2020 (KES HCIS 2020), held on June 17–19, 2020, in Split, Croatia.