TOP Contributors

  1. MIKROE (2652 codes)
  2. Alcides Ramos (351 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (136613 times)
  2. FAT32 Library (69812 times)
  3. Network Ethernet Library (55881 times)
  4. USB Device Library (46217 times)
  5. Network WiFi Library (41858 times)
  6. FT800 Library (41073 times)
  7. GSM click (28942 times)
  8. PID Library (26401 times)
  9. mikroSDK (26311 times)
  10. microSD click (25327 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Project

Ultrasonic Parking Lot Car Counter

Rating:

6

Author: MIKROE

Last Updated: 2016-02-18

Package Version: 1.0.0.0

Category: Measurement

Downloaded: 3936 times

Followed by: 3 users

License: MIT license  

We will demonstrate you how you can easily build your fully operational Ultrasonic Parking Lot Car Counter device using PIC-Ready1 Board with PIC16F887, Two Distance Meter 2 Boards, Serial 7-seg Display and Keypad 4x4 with EasyPull. Just connect the cables, load the example and device is ready to rock

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "Ultrasonic Parking Lot Car Counter" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "Ultrasonic Parking Lot Car Counter" changes.

Do you want to report abuse regarding "Ultrasonic Parking Lot Car Counter".

  • Information
  • Comments (0)

Project Blog

Figure 1 - Ultrasoinc Parking Car Counter

Figure 1 - Ultrasoinc Parking Car Counter

Ultrasoinc Parking Car Counter Connections

View full image

Using ultrasonic sensors is a popular way of measuring distance. The same principle is implemented in car parking sensors, sonars and other similar devices. But you can also use this technology to make your own cheap ultrasonic counters without having to use switches or IR laser light interceptors. We will demonstrate you how you can easily build your fully operational Ultrasonic Parking Lot Car Counter device using PIC-Ready1 Board with PIC16F887, Two Distance Meter2 Boards, Serial 7-seg Display and Keypad 4x4 with EasyPull. Just connect the cables, load the example and device is ready to rock.

Ultrasonic Parking Lot Car Counter Video

Video Demonstration

Watch on YouTube

Program is designed to use two ultrasonic sensors: one for detecting the cars that enter the parking, and the other for detecting cars leaving the parking.

  1. Once program is started, you have to set the number of available parking spaces. Simply tap the desired four digit number on the keypad, and press asterisk (*) when finished.
  2. The program is then ready to go. Distancemeters are activated and car detection algorithm is now operational.
  3. As soon as the car passes by the entering sensor, the number of parking spaces on the display is decremented by 1.
  4. As the car passes by the exit sensor, the number of available parking spaces increases by 1.

Applications

Project has numerous applications. We only suggest several:

  1. Building your own Car Lot Counters
  2. Building People Counter Devices

Expanding the project with some other devices, you can find dozens of interesing applications. Don’t hesitate to send us photos of what you have built using this project kit.

Figure 2 - Ultrasonic Parking Car Counter Schematics

Figure 2 - Ultrasonic Parking Car Counter Schematics

Connection Schematics

View full image

Source code of this project is provided for free, so you can modify it to suit your needs. Since PIC16F887 comes preprogrammed with free UART Bootloader, you won’t have to spend a dollar more on external programmers. You can modify the project as much as you like, and expand this basic functionality with your own implementation ideas.

ALSO FROM THIS AUTHOR

POT 2 click

0

POT 2 click is a Click board™ with the accurate selectable reference voltage output.

[Learn More]

HDC1000 click

5

HDC1000 click is a humidity (and temperature) measurement click board carrying the HDC1000 sensor from Texas Instruments. HDC1000 click communicates with the target board microcontroller through mikroBUS I2C lines (SCL, SDA) plus the INT pin, used here for DRDY (Data Ready).

[Learn More]

I2C MUX 5 click

0

I2C MUX 5 Click is a compact add-on board with translating I2C and SMBus switch intended for applications with I2C slave address conflicts.

[Learn More]