Summary A hands-on guide that will teach how to design and implement scalable, flexible, and open IoT solutions using web technologies. This book focuses on providing the right balance of theory, code samples, and practical examples to enable you to successfully connect all sorts of devices to the web and to expose their services and data over REST APIs. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Technology Because the Internet of Things is still new, there is no universal application protocol. Fortunately, the IoT can take advantage of the web, where IoT protocols connect applications thanks to universal and open APIs. About the Book Building the Web of Things is a guide to using cutting-edge web technologies to build the IoT. This step-by-step book teaches you how to use web protocols to connect real-world devices to the web, including the Semantic and Social Webs. Along the way you'll gain vital concepts as you follow instructions for making Web of Things devices. By the end, you'll have the practical skills you need to implement your own web-connected products and services. What's Inside Introduction to IoT protocols and devices Connect electronic actuators and sensors (GPIO) to a Raspberry Pi Implement standard REST and Pub/Sub APIs with Node.js on embedded systems Learn about IoT protocols like MQTT and CoAP and integrate them to the Web of Things Use the Semantic Web (JSON-LD, RDFa, etc.) to discover and find Web Things Share Things via Social Networks to create the Social Web of Things Build a web-based smart home with HTTP and WebSocket Compose physical mashups with EVRYTHNG, Node-RED, and IFTTT About the Reader For both seasoned programmers and those with only basic programming skills. About the Authors Dominique Guinard and Vlad Trifa pioneered the Web of Things and cofounded EVRYTHNG, a large-scale IoT cloud powering billions of Web Things. Table of Contents PART 1 BASICS OF THE IOT AND THE WOT From the Internet of Things to the Web of Things Hello, World Wide Web of Things Node.js for the Web of Things Getting started with embedded systems Building networks of Things PART 2 BUILDING THE WOT Access: Web APIs for Things Implementing Web Things Find: Describe and discover Web Things Share: Securing and sharing Web Things
Get familiar with the building blocks of IoT solutions using off–the-shelf IoT platforms. Key Features Work with various trending IoT platforms such as AWS IoT, Azure IoT, Google IoT, IBM Watson IoT, and Kaa IoT Gain hands-on knowledge working with Cloud-based IoT platforms, IoT Analytics, and so on. A practical guide that will help you build IoT strategies for your organization Book Description There is a lot of work that is being done in the IoT domain and according to Forbes the global IoT market will grow from $157B in 2016 to $457B by 2020. This is an amazing market both in terms technology advancement as well as money. In this book, we will be covering five popular IoT platforms, namely, AWS IoT, Microsoft Azure IoT, Google IoT Core, IBM Watson IoT, and Kaa IoT middleware. You are going to build solutions that will use a Raspberry Pi 3, a DHT11 Temperature and humidity sensor, and a dashboard to visualize the sensor data in real-time. Furthermore, you will also explore various components of each of the platforms that are needed to achieve the desired solution. Besides building solutions, you will look at how Machine Learning and IoT go hand in hand and later design a simple predictive web service based on this concept. By the end of this book, you will be in a position to implement an IoT strategy best-fit for your organization What you will learn Connect a Temperature and Humidity sensor and see how these two can be managed from various platforms Explore the core components of AWS IoT such as AWS Kinesis and AWS IoTRules Engine Build a simple analysis dashboard using Azure IoT and Power BI Understand the fundamentals of Google IoT and use Google core APIs to build your own dashboard Get started and work with the IBM Watson IoT platform Integrate Cassandra and Zeppelin with Kaa IoT dashboard Review some Machine Learning and AI and get to know more about their implementation in the IoT domain. Who this book is for This book is targeted at IoT architects and engineers, or any stakeholders working with IoT solutions in an organization. This book will also help decision makers and professionals from small- and medium-sized enterprises build an IoT strategy for their venture.
Transform your Raspberry Pi into a multi-purpose web server that supports your entire multimedia world with this practical and accessible tutorial! About This Book Host websites, games, and even stream HD videos with the impressive power of Raspberry Pi 2 Get to grips with embedded programming by turning your Pi into the cloud server that can be used to power Internet of Things projects Make the Raspberry Pi 2 the center of your latest tech experiments and discover how it can manage and host resources Who This Book Is For Seeking inspiration for some new tech projects? Want to get more from your Raspberry Pi? This book has been created especially for you! What You Will Learn Host your Raspberry Pi as a web server using the minimum power resources Connect your Pi to the Internet and perform network benchmarking Explore the cross-platform features of the Pi as you run Python, Node.JS, ASP.NET, and PHP all in one place Share files over the Internet using your Pi as a file server Turn your Pi into a game server, host and engage into playing Enjoy live HD video streaming and exclusive real-time text overlays In Detail There's no end to what you can do with a Raspberry Pi – it makes a huge range of tech projects possible. This book shows you how to transform it into a multipurpose web server, able to store and manage resources that lets you build some truly innovative and impressive computing creations. You'll learn how to use your Raspberry Pi 2 to host a website using a range of different languages, host a game server, store files, and run everything from a media center to a cloud network. If you want to take control of your technological world, start building your own server and find out what's possible with the Raspberry Pi microcomputer. Begin by getting your Pi set up – follow each step as the book shows you how to prepare a network and configure the additional features that you'll need to build your projects. Once you've done this you'll dig a little deeper and set up your pi as a file server, making sure it's built for speed using a range of different tools, including Python, Node.js and ASP.NET. Following this the book shows you how to extend your server to allow you to host games, and stream live HD video before customizing it even further to create a fully-fledged media center. It doesn't stop there however – the book then dives into the exciting world of the Internet of Things (IoT). You'll learn how to install Windows IoT onto your Raspberry Pi, the operating system that's driving embedded software projects all around the world. Once you've done this you'll be ready to explore IoT further, as the book shows you how to use your device to host a cloud network that can form the basis of a wider IoT project. Style and approach Packed with plenty of practical examples that walk you through a number of Raspberry Pi projects, this book is an accessible journey into embedded computing and Internet of Things.
Author: Bruno Joseph D'mello
Publisher: Packt Publishing Ltd
Release Date: 2017-09-29
Over 80 practical and interesting recipes that explore the plethora of functionalities and opportunities available with Raspberry Pi Zero About This Book Deep dive into the components of the small yet powerful Raspberry Pi Zero Get into grips with integrating various hardware, programming, and networking concepts with the so-called “cheapest computer” Explore the functionalities of this $5 chip through practical recipes Who This Book Is For This book is for programmers and hobbyists who are eager to dive deep into the Raspberry Pi Zero. If you have basic or zero knowledge of the Raspberry Pi Zero, or if you looking for examples of ways to utilize the Raspberry Pi's GPIO interface, then this book is ideal for you. Basic knowledge of Python will be beneficial, and experience with circuitry and electronics will be needed for the later chapters in the book. What You Will Learn Set up your Raspberry Pi Zero with the operating system, networking, and different interfaces Get a hands-on introduction to Linux, Python, and shell scripts with the Raspberry Pi Zero Become a master at driving GPIOs and controlling relays, motors, transistors, buzzers, audio, read switches, and interrupts with the Raspberry Pi Zero Control GPIOs using the web interface and Node.js Connect displays, LED matrixes, analog sensors, and digital sensors Hack the Ethernet on the Raspberry Pi Zero Make your Raspberry Pi Zero an IoT-based sensor node and remotely monitor your data In Detail The Raspberry Pi Zero, one of the most inexpensive, fully-functional computers available, is a powerful and revolutionary product developed by the Raspberry Pi Foundation. The Raspberry Pi Zero opens up a new world for the makers out there. This book will give you expertise with the Raspberry Pi Zero, providing all the necessary recipes that will get you up and running. In this book, you will learn how to prepare your own circuits rather than buying the expensive add–ons available in the market. We start by showing you how to set up and manage the Pi Zero and then move on to configuring the hardware, running it with Linux, and programming it with Python scripts. Later, we integrate the Raspberry Pi Zero with sensors, motors, and other hardware. You will also get hands-on with interesting projects in media centers, IoT, and more. Style and approach This recipe-based book will ensure you gain an intermediate-level knowledge of the Raspberry Pi Zero. This book contains comprehensive illustrations with specific schematics for each circuit diagram.
Get a step-by-step guide for developing voice interfaces for applications and devices connected to the Internet of Things. By allowing consumers to use natural human interactions, you can avoid awkward methods of input and interactivity to provide them with elevated user experiences. This practical book is ideal for software engineers who build applications for the Web, smartphones, as well as embedded systems that dominate the IoT space. Integrate voice interfaces with internet connected devices and sensors Learn how to integrate with existing voice interfaces Understand when to use a voice over other Natural User Interface technologies Build a prototype with tools such as Raspberry Pi, solderless breadboards, jumper cables, sensors, Arduino, Visual Studio, and other tools Use cloud services such as Azure and AWS to integrate voice with your existing or new web service end-points
Author: Charles A. Hamilton
Publisher: Packt Publishing Ltd
Release Date: 2015-11-18
Build revolutionary and incredibly useful home automation projects with the all-new Pi Zero About This Book Create and program home automation projects using the Raspberry Pi Zero board Connect your Raspberry Pi Zero to a cloud API, and then build a cloud dashboard to control your devices Integrate all the projects into a complex project to automate key aspects of your home: data monitoring, devices control, and security Who This Book Is For This book is for enthusiasts and programmers who want to build powerful and inexpensive home automation projects using the Raspberry Pi zero, and to transform their home into a smart home. It is for those who are new to the field of home automation, or who already have experience with other platforms such as Arduino. What You Will Learn Learn how to measure and store data using the Raspberry Pi Zero board Control LED lights, lamps, and other electrical applications Send automated notifications by e-mail, SMS, or push notifications Connect motion detectors, cameras, and alarms Create automated alerts using Raspberry Pi Zero boards Control devices using cloud-based services Build a complete home automation system using Pi Zero In Detail The release of the Raspberry Pi Zero has completely amazed the tech community. With the price, form factor, and being high on utility—the Raspberry Pi Zero is the perfect companion to support home automation projects and makes IoT even more accessible. With this book, you will be able to create and program home automation projects using the Raspberry Pi Zero board. The book will teach you how to build a thermostat that will automatically regulate the temperature in your home. Another important topic in home automation is controlling electrical appliances, and you will learn how to control LED Lights, lamps, and other electrical applications. Moving on, we will build a smart energy meter that can measure the power of the appliance, and you'll learn how to switch it on and off. You'll also see how to build simple security system, composed of alarms, a security camera, and motion detectors. At the end, you will integrate everything what you learned so far into a more complex project to automate the key aspects of your home. By the end, you will have deepened your knowledge of the Raspberry Pi Zero, and will know how to build autonomous home automation projects. Style and approach This book takes a step-by-step approach to automate your home like never before!
Leverage the power of advanced analytics and predictive modeling in Tableau using the statistical powers of R About This Book A comprehensive guide that will bring out the creativity in you to visualize the results of complex calculations using Tableau and R Combine Tableau analytics and visualization with the power of R using this step-by-step guide Wondering how R can be used with Tableau? This book is your one-stop solution. Who This Book Is For This book will appeal to Tableau users who want to go beyond the Tableau interface and deploy the full potential of Tableau, by using R to perform advanced analytics with Tableau. A basic familiarity with R is useful but not compulsory, as the book will start off with concrete examples of R and will move quickly into more advanced spheres of analytics using online data sources to support hands-on learning. Those R developers who want to integrate R in Tableau will also benefit from this book. What You Will Learn Integrate Tableau's analytics with the industry-standard, statistical prowess of R. Make R function calls in Tableau, and visualize R functions with Tableau using RServe. Use the CRISP-DM methodology to create a roadmap for analytics investigations. Implement various supervised and unsupervised learning algorithms in R to return values to Tableau. Make quick, cogent, and data-driven decisions for your business using advanced analytical techniques such as forecasting, predictions, association rules, clustering, classification, and other advanced Tableau/R calculated field functions. In Detail Tableau and R offer accessible analytics by allowing a combination of easy-to-use data visualization along with industry-standard, robust statistical computation. Moving from data visualization into deeper, more advanced analytics? This book will intensify data skills for data viz-savvy users who want to move into analytics and data science in order to enhance their businesses by harnessing the analytical power of R and the stunning visualization capabilities of Tableau. Readers will come across a wide range of machine learning algorithms and learn how descriptive, prescriptive, predictive, and visually appealing analytical solutions can be designed with R and Tableau. In order to maximize learning, hands-on examples will ease the transition from being a data-savvy user to a data analyst using sound statistical tools to perform advanced analytics. By the end of this book, you will get to grips with advanced calculations in R and Tableau for analytics and prediction with the help of use cases and hands-on examples. Style and approach Tableau (uniquely) offers excellent visualization combined with advanced analytics; R is at the pinnacle of statistical computational languages. When you want to move from one view of data to another, backed up by complex computations, the combination of R and Tableau makes the perfect solution. This example-rich guide will teach you how to combine these two to perform advanced analytics by integrating Tableau with R and create beautiful data visualizations.
Author: Miguel de Sousa
Publisher: Packt Publishing Ltd
Release Date: 2015-07-29
This book starts by teaching you the essentials of the Intel Galileo board, its components, how to wire it, and how to use it safely. The book will teach you how to use and combine simple sensors to build more complex connected objects with the help of an Internet connection. You'll also learn how to control and read from your sensors by building a number of interesting projects. Finally, the book will familiarize you with the art of controlling your objects using mobile devices. By the end of the book, you'll be able to understand the key concepts of the Internet of Things, and what a "Thing" truly is. This book will make you ready and also more aware of what you can do with a Galileo board, while inspiring you with more ideas to build your own home projects.
Design, build, and test LED-based projects using the Raspberry Pi About This Book Implement real LED-based projects for Raspberry Pi Learn to interface various LED modules such as LEDs, 7-segment, 4-digits 7 segment, and dot matrix to Raspberry Pi Get hands-on experience by exploring real-time LEDs with this project-based book Who This Book Is For This book is for those who want to learn how to build Raspberry Pi projects utilising LEDs, 7 segment, 4-digits 7 segment, and dot matrix modules. You also will learn to implement those modules in real applications, including interfacing with wireless modules and the Android mobile app. However, you don't need to have any previous experience with the Raspberry Pi or Android platforms. What You Will Learn Control LEDs, 7 segments, and 4-digits 7 segment from a Raspberry Pi Expand Raspberry Pi's GPIO Build a countdown timer Build a digital clock display Display numbers and characters on dot matrix displays Build a traffic light controller Build a remote home light control with a Bluetooth low energy module and Android Build mobile Internet-controlled lamps with a wireless module and Android In Detail Blinking LED is a popular application when getting started in embedded development. By customizing and utilising LED-based modules into the Raspberry Pi board, exciting projects can be obtained. A countdown timer, a digital clock, a traffic light controller, and a remote light controller are a list of LED-based inspired project samples for Raspberry Pi. An LED is a simple actuator device that displays lighting and can be controlled easily from a Raspberry Pi. This book will provide you with the ability to control LEDs from Raspberry Pi, starting from describing an idea through designing and implementing several projects based on LEDs, such as, 7-segments, 4-digits 7 segment, and dot matrix displays. Beginning with step-by-step instructions on installation and configuration, this book can either be read from cover to cover or treated as an essential reference companion to your Raspberry Pi. Samples for the project application are provided such as a countdown timer, a digital clock, a traffic light controller, a remote light controller, and an LED-based Internet of Things, so you get more practice in the art of Raspberry Pi development. Raspberry Pi LED Blueprints is an essential reference guide full of practical solutions to help you build LED-based applications. Style and approach This book follows a step-by-step approach to LED-based development for Raspberry Pi, explained in a conversational and easy-to-follow style. Each topic is explained sequentially in the process of building an application, and detailed explanations of the basic and advanced features are included.
Author: L. Felipe Martins
Publisher: Packt Publishing Ltd
Release Date: 2017-12-20
Tackle the most sophisticated problems associated with scientific computing and data manipulation using SciPy About This Book Covers a wide range of data science tasks using SciPy, NumPy, pandas, and matplotlib Effective recipes on advanced scientific computations, statistics, data wrangling, data visualization, and more A must-have book if you're looking to solve your data-related problems using SciPy, on-the-go Who This Book Is For Python developers, aspiring data scientists, and analysts who want to get started with scientific computing using Python will find this book an indispensable resource. If you want to learn how to manipulate and visualize your data using the SciPy Stack, this book will also help you. A basic understanding of Python programming is all you need to get started. What You Will Learn Get a solid foundation in scientific computing using Python Master common tasks related to SciPy and associated libraries such as NumPy, pandas, and matplotlib Perform mathematical operations such as linear algebra and work with the statistical and probability functions in SciPy Master advanced computing such as Discrete Fourier Transform and K-means with the SciPy Stack Implement data wrangling tasks efficiently using pandas Visualize your data through various graphs and charts using matplotlib In Detail With the SciPy Stack, you get the power to effectively process, manipulate, and visualize your data using the popular Python language. Utilizing SciPy correctly can sometimes be a very tricky proposition. This book provides the right techniques so you can use SciPy to perform different data science tasks with ease. This book includes hands-on recipes for using the different components of the SciPy Stack such as NumPy, SciPy, matplotlib, and pandas, among others. You will use these libraries to solve real-world problems in linear algebra, numerical analysis, data visualization, and much more. The recipes included in the book will ensure you get a practical understanding not only of how a particular feature in SciPy Stack works, but also of its application to real-world problems. The independent nature of the recipes also ensure that you can pick up any one and learn about a particular feature of SciPy without reading through the other recipes, thus making the book a very handy and useful guide. Style and approach This book consists of hands-on recipes where you'll deal with real-world problems. You'll execute a series of tasks as you walk through scientific computing challenges using SciPy. Your one-stop solution for common and not-so-common pain points, this is a book that you must have on the shelf.