Book Image

Internet of Things with Raspberry Pi 3

By : Maneesh Rao
Book Image

Internet of Things with Raspberry Pi 3

By: Maneesh Rao

Overview of this book

This book is designed to introduce you to IoT and Raspberry Pi 3. It will help you create interesting projects, such as setting up a weather station and measuring temperature and humidity using sensors; it will also show you how to send sensor data to cloud for visualization in real-time. Then we shift our focus to leveraging IoT for accomplishing complex tasks, such as facial recognition using the Raspberry Pi camera module, AWS Rekognition, and the AWS S3 service. Furthermore, you will master security aspects by building a security surveillance system to protect your premises from intruders using Raspberry Pi, a camera, motion sensors, and AWS Cloud. We'll also create a real-world project by building a Wi-Fi – controlled robot car with Raspberry Pi using a motor driver circuit, DC motor, and a web application. This book is a must-have as it provides a practical overview of IoT’s existing architectures, communication protocols, and security threats at the software and hardware levels—security being the most important aspect of IoT.
Table of Contents (11 chapters)

Car chassis

First and foremost, the requirement for building a remote-controlled car is a power source to drive the car and Raspberry Pi, as we cannot use a wired power source, because then the wire will restrict the motion of the car. So instead, we can use a good-rating battery bank that gives 9V DC output and has long battery life.

To build a car, one of the most important requirements is its chassis and tyres. We can build the chassis ourselves using hard cardboard, or can buy one that is readily available online, or even use an existing toy car chassis if you have one.

In our case, we are using a pre-built toy car chassis fitted with four tires, and two 5V DC motors, as shown in the following photo:

Figure 8.1

The previous photo (Figure 8.1) shows all four tires are connected with a motor; but we need only two motors for this project.

The following diagram (Figure 8.2) is...