Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
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

Product type Book
Published in Nov 2017
Publisher Packt
ISBN-13 9781783283873
Pages 226 pages
Edition 1st Edition
Languages
Authors (2):
Shantanu Bhadoria Shantanu Bhadoria
Profile icon Shantanu Bhadoria
Ruben Oliva Ramos Ruben Oliva Ramos
Profile icon Ruben Oliva Ramos
View More author details
Toc

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 £13.99/month. Cancel anytime