TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (386 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 (139926 times)
  2. FAT32 Library (72269 times)
  3. Network Ethernet Library (57454 times)
  4. USB Device Library (47767 times)
  5. Network WiFi Library (43396 times)
  6. FT800 Library (42721 times)
  7. GSM click (29984 times)
  8. mikroSDK (28505 times)
  9. PID Library (27001 times)
  10. microSD click (26407 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: 3979 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

Hall Current 16 Click

0

Hall Current 16 Click is a compact add-on board that contains a precise solution for AC/DC current sensing. This board features the ACS37002, a 400kHz high-accuracy current sensor from Allegro Microsystems. This sensor features pin-selectable gains that can be used to configure the device to one of the four defined sensitivities and corresponding current ranges, increasing design flexibility. In addition, an adjustable overcurrent fast fault provides short-circuit detection.

[Learn More]

4G LTE 2 Voice Click

0

4G LTE 2 Click is a compact add-on board representing a secure-cloud multi-band solution offering universal connectivity and reliable performance. This board features the LARA-R6001, the world’s smallest LTE Cat 1 module with global coverage and a built-in MQTT client from u-blox, representing a data and voice solution. Equipped with familiar AT commands set over the UART interface, USB interface, and Network and Status indicators, the LARA-R6001 also has a comprehensive certification scheme and multi-band/multi-mode capabilities providing excellent flexibility alongside the support of voice/audio application.

[Learn More]

6LoWPAN C click

0

6LoWPAN C click carries the CC2520 2.4GHz RF transceiver. The click is designed to run on a 3.3V power supply. It communicates with the target microcontroller over SPI interface.

[Learn More]