Build your own Internet of Things (IoT) projects for prototyping and proof-of-concept purposes.Updated for the Raspberry Pi 4 and other recent boards, this book contains the tools needed to build a prototype of your design, sense the environment, communicate with the Internet (over the Internet and Machine to Machine communications) and display the results. Raspberry Pi IoT Projects, 2nd Edition provides several IoT projects and designs shown from the start to the finish including an IoT Heartbeat Monitor, an IoT Swarm, IoT Solar Powered Weather Station, an IoT iBeacon Application and a RFID (Radio Frequency Identification) IoT Inventory Tracking System.
The software is presented as reusable libraries, primarily in Python and C with full source code available, making this version a valuable learning resource for classrooms and learning labs.
The Internet of Things (IoT) is a complex concept made up of many computers and many communication paths. Some IoT devices are connected to the Internet and some are not. Some IoT devices form swarms that communicate among themselves. Some are designed for a single purpose, while some are more general-purpose computers. This book is designed to show you the IoT from the inside out. By building IoT devices, the reader will understand the basic concepts and will be able to innovate using the basics to create their own IoT applications.
These included projects will show the reader how to build their own IoT projects and to expand upon the examples shown. The importance of computer security in IoT devices is also discussed as well as various techniques for keeping the IoT safe from unauthorized users or hackers. The most important takeaway from this book is in building the projects yourself.
Chapters at a Glance:
In this book, we build examples of all the major parts of simple and complex IoT devices.
In Chapter 1, the basic concepts of IoT are explained in basic terms, and you will learn what parts and tools are needed to start prototyping your own IoT devices.
In Chapter 2, you’ll learn how to sense the environment with electronics and that even the behavior of simple LightSwarm type of devices can be very unpredictable.
Chapter 3 introduces important concepts about how to build real systems that can respond to power issues and programming errors by the use of good system design and watchdogs.
Chapter 4 turns a Raspberry Pi into a battery-powered device that senses iBeacons and controls the lighting in a house while reporting your location to a server.
In Chapter 5, you’ll do IoT the way the big boys do by connecting to the IBM Bluemix IoT server and sending your biometric pulse rates for storage and display.
In Chapter 6, we’ll build a small RFID inventory system and use standard protocols like MQTT to send information to a Raspberry Pi, a complete IoT product.
Chapter 7 shows the dark side of the IoT, computer security. The way you protect your IoT device from hackers and network problems is the most difficult part of IoT device and system design.
Are you totally secure? You will never know. Plan for it.
The reference appendix provides resources for further study and suggestions for other projects.
What You'll Learn:
Create IOT projects with the Raspberry Pi
Talk to sensors with the Raspberry Pi
Use iBeacons with the IOT Raspberry Pi
Communicate your IOT data to the Internet
Build security into your IOT device
Who This Book Is For:
Primary audience are those with some technical background, but not necessarily engineers. It will also appeal to technical people wanting to learn about the Raspberry Pi in a project-oriented method.