TOP Contributors

  1. MIKROE (2780 codes)
  2. Alcides Ramos (376 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (97 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 (139569 times)
  2. FAT32 Library (72041 times)
  3. Network Ethernet Library (57257 times)
  4. USB Device Library (47631 times)
  5. Network WiFi Library (43229 times)
  6. FT800 Library (42566 times)
  7. GSM click (29932 times)
  8. mikroSDK (28293 times)
  9. PID Library (26934 times)
  10. microSD click (26309 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: 3973 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

Accel 3 click

2

Accel 3 click – board with H3LIS331DL high-g 3-axis digital accelerometer | MikroElektronika Accel 3 click is a mikroBUS add-on board with ST’s H3LIS331DL low-power high-g 3-axis digital accelerometer. The IC has ±100g/±200g/±400g dynamically selectable full scales and outputs 16-bit data at rates from 0.5 Hz to 1 kHz.

[Learn More]

Keylock click

1

Keylock click carries a processed sealed key lock mechanism that can be set in three different positions. The click is designed to run on either 3.3V or 5V power supply. It communicates with the target microcontroller over the PWM, INT, and AN pin on the mikroBUSâ„¢ line.

[Learn More]

Flash 3 click

8

Flash 3 click is a mikroBUS add-on board for adding more Flash Memory to your target board microcontroller. It carries an ISSI IS25LP128 IC with 128 Mbit capacity.

[Learn More]