TOP Contributors

  1. MIKROE (2762 codes)
  2. Alcides Ramos (374 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (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 (139263 times)
  2. FAT32 Library (71752 times)
  3. Network Ethernet Library (57128 times)
  4. USB Device Library (47431 times)
  5. Network WiFi Library (43092 times)
  6. FT800 Library (42407 times)
  7. GSM click (29835 times)
  8. mikroSDK (28080 times)
  9. PID Library (26886 times)
  10. microSD click (26198 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: 3972 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

MINI-M4 Stellaris Board Examples

0

Examples for MINI-M4 Stellaris Board. Provided examples demonstrate working with on-board LEDs and internal USB HID module.

[Learn More]

LTE IoT Click

0

LTE IoT Click is a Click board™ that allows connection to the LTE and 2G networks

[Learn More]

Proximity 7 click

5

Proximity 7 Click is an advanced proximity and ambient light sensing Click board. It features the ADPS9930, a digital sensor IC equipped with two photodiodes (PD) and an IR LED, driven by a proprietary LED driver circuit.

[Learn More]