<p>Start solving world issues by beginning small with simple Rasperry Pi projects. Using a free IoT server; tackle fundamental topics and concepts behind the Internet of Things. Image processing and sensor topics aren’t only applicable to the Raspberry Pi. The skills learned in this book can go own
Sensor Projects with Raspberry Pi: Internet of Things and Digital Image Processing
✍ Scribed by Guillermo Guillen
- Publisher
- Apress
- Year
- 2019
- Tongue
- English
- Leaves
- 169
- Edition
- 1
- Category
- Library
No coin nor oath required. For personal study only.
✦ Synopsis
Start solving world issues by beginning small with simple Rasperry Pi projects. Using a free IoT server; tackle fundamental topics and concepts behind the Internet of Things. Image processing and sensor topics arent only applicable to the Raspberry Pi. The skills learned in this book can go own to other applications in mobile development and electrical engineering.
Start by creating a system to detect movement through the use of a PIR motion sensor and a Raspberry Pi board. Then further your sensor systems by detecting more than simple motion. Use the MQ2 gas sensor and a Raspberry Pi board as a gas leak alarm system to detect dangerous explosive and fire hazards. Train your system to send the captured data to the remote server ThingSpeak. When a gas increase is detected beyond a limit, then a message is sent to your Twitter account.
Having started with ThingSpeak, well go on to develop a weather station with your Raspberry Pi. Using the DHT11 (humidity and temperature sensor) and BMP085 (barometric pressure and temperature sensor) in conjunction with ThingSpeak and Twitter, you can receive realtime weather alerts from your own meterological system!
Finally, expand your skills into the popular machine learning world of digital image processing using OpenCV and a Pi. Make your own object classifiers and finally manipulate an object by means of an image in movement. This skillset has many applications, ranging from recognizing people or objects, to creating your own video surveillance system.
With the skills developed in this book, you will have everything you need to work in IoT projects for the Pi. You can then expand your skills out further to develop mobile projects and delve into interactive systems such as those found in machine learning.
- Work with ThingSpeak to receive Twitter alerts from your systems
- Cultivate skills in processing sensor inputs that are applicable to mobile and machine learning projects as well
- Incorporate sensors into projects to make devices that interact with more than just code
✦ Table of Contents
Table of Contents
About the Author
About the Technical Reviewer
Acknowledgments
Introduction
Chapter 1: Theoretical Fundamentals
Programming with the Raspberry Pi
Elements of the Language
Variables and Constants
Variables
Constants
Types of Data
Arithmetic Operators
Comments
Complex Data Types
Tuples
Lists
Dictionaries
Flow Control Structures
Indentation
Encoding
Multiple Assignments
Conditional Flow Control Structures
Iterative Control Structures
While Loop
For Loop
Important Differences Between Python 2.7.x and Python 3.x
Print Function
Python 3.x
Output
Division Operator
Python 3.x
Output
Unicode
Python 3.x
xrange
Output in Python 3.x
future module
Output
Internet of Things
History
Smart Home Applications
Elder Care Applications
Medical and Healthcare Applications
Transportation Applications
Building and Home Automation Applications
Manufacturing Applications
Agriculture Applications
Metropolitan-Scale Deployments
Energy Management Applications
Environmental Monitoring Applications
Living Lab Application
IoT Security
What’s the Difference Between OT and IoT?
Digital Image Processing
History
Tasks
Classification
Feature Extraction
Multiscale Signal Analysis
Pattern Recognition
Projection
Techniques
Image Editing
Image Restoration
Neural Networks
Filtering
Convolution
Applications
Digital Camera Images
Film
Summary
Chapter 2: Alarm System
Hardware
Software
Procedure
Creating a Project in ThingSpeak
Using Your Twitter Account in ThingSpeak
Sending an Alert to Your Twitter Account
Challenges
Conclusion
Chapter 3: Gas Leak Alarm
Hardware
Software
Procedure
Installing the ADS1115 Sensor Library
Enabling the 12C Interface
Creating a Project in ThingSpeak
Using Your Twitter Account in ThingSpeak
Sending an Alert to Your Twitter Account
Challenges
Conclusion
Chapter 4: Weather Station
Hardware
Software
Procedure
Installing the DHT11 Sensor Library
Installing the BMP085 Sensor Library
Enabling the 12C Interface
Creating a Project in ThingSpeak
Using Your Twitter Account in ThingSpeak
Sending an Alert to Your Twitter Account
Challenges
Conclusion
Chapter 5: Digital Image Processing with Python and OpenCV
Installing the Software
Step 1: Installing Python 2.7 and 3
Step 2: Installing Dependencies
Step 3: Getting the Latest OpenCV Source Code
Step 4: Installing pip and virtualenv
Step 5: Creating a Virtual Environment
Step 6: Installing Numpy and Scipy
Step 7: Installing OpenCV
Step 8: Testing the OpenCV Installation
Classifiers
Step 1: Collecting Images for a Database
Step 2: Arranging the Negative Images
Step 3: Cropping and Marking Positive Images
Step 4: Creating a Vector of Positive Images
Step 5: Haar Training
Step 6: Creating the XML File
Testing with Images
Testing with Videos
Moving a Robot Arm
Software
Challenges
Conclusion
Appendix: Hardware Specifications
Raspberry Pi 3B
Technical Specifications
Raspberry Pi Zero W
PIR Motion Sensor
Advantages
Specifications
MQ2 Gas Sensor
Characteristics
Applications
ADS1115
Features
Applications
BMP085 Pressure Sensor
Description
Technical Details
DHT11 Humidity Sensor
Features and Applications
Description
Technical Specifications
Index
📜 SIMILAR VOLUMES
Overview: In this book, you will learn to build Internet of Things projects using the Raspberry Pi platform. You will for example learn how to log sensor data in the cloud, and how to control your Raspberry Pi projects from anywhere in the world. You will also learn how to create a wireless security
This book provides a platform to understand Internet of things with Raspberry Pi and the basic knowledge of the programming and interfacing of the devices and designed systems. It broadly covers introduction to Internet of Things and enabling technologies, interfacing with Raspberry Pi and Arduino a
<p>This book provides a platform to understand Internet of things with Raspberry Pi and the basic knowledge of the programming and interfacing of the devices and designed systems. It broadly covers introduction to Internet of Things and enabling technologies, interfacing with Raspberry Pi and Arduin