TOP Contributors

  1. MIKROE (2653 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 (136652 times)
  2. FAT32 Library (69871 times)
  3. Network Ethernet Library (55902 times)
  4. USB Device Library (46245 times)
  5. Network WiFi Library (41873 times)
  6. FT800 Library (41114 times)
  7. GSM click (28966 times)
  8. PID Library (26403 times)
  9. mikroSDK (26331 times)
  10. microSD click (25344 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: 3937 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

Ir Eclipse click

0

IR eclipse click carries an EE-SX198 photo interrupter sensor. This sensor consists of an infrared transmitter and receiver facing each other and spaced apart by a 3mm slit.

[Learn More]

Temp-Hum 4 click

5

Temp-Hum 4 click is a smart environmental temperature and humidity sensor Click board, packed with features, that allow easy and simple integration into any design that requires accurate and reliable humidity and temperature measurements.

[Learn More]

Thermo 14 click

5

Thermo 14 Click uses the STTS22H digital temperature sensor and thermal watchdog, which can measure temperature measurements between -40°C and +125°C so that the temperature measurement data can be processed by the host MCU. Thermo 14 click provides an accuracy of ±0.5°C in the range from -10°C to 60°C.

[Learn More]