Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Raspberry Pi 3 Home Automation Projects

You're reading from   Raspberry Pi 3 Home Automation Projects Bringing your home to life using Raspberry Pi 3, Arduino, and ESP8266

Arrow left icon
Product type Paperback
Published in Nov 2017
Publisher Packt
ISBN-13 9781783283873
Length 226 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Shantanu Bhadoria Shantanu Bhadoria
Author Profile Icon Shantanu Bhadoria
Shantanu Bhadoria
Ruben Oliva Ramos Ruben Oliva Ramos
Author Profile Icon Ruben Oliva Ramos
Ruben Oliva Ramos
Arrow right icon
View More author details
Toc

Table of Contents (7) Chapters Close

Sensor devices for smart parking

To build a smart parking system, it's necessary to have some sensors that can be applied to such a system. Let's see them in detail.

Presence sensor

To detect when a car is in a parking lot, there are some sensors available; in this case, we will use a presence sensor like this:

In some parking lots, there is a gate that goes up when the driver arrives in front of it and they press the button and receive their ticket; in others, they have an identity card. Here is a common parking lot:

This is a prototype of the entrance to the parking lot:

Now we will make a sketch that we can use with Arduino; it detects when the car gets close to the sensor. We use the digitalread() instruction...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime