This paper presents a GPS-based automatic toll collection system using geofencing and distance-based toll calculation to overcome the limitations of conventional toll systems. Traditional toll collection methods often lead to traffic congestion, increased waiting time, and inefficient resource utilization due to manual intervention and fixed toll pricing. To address these challenges, the proposed system utilizes Global Positioning System (GPS) technology and Internet of Things (IoT) principles to enable seamless and automated toll collection.In this system, a virtual toll zone is defined using geofencing techniques based on latitude, longitude, and radius parameters. An ESP32 microcontroller integrated with a GPS module continuously tracks the vehicle’s real-time location. When the vehicle enters the predefined toll zone, the system begins monitoring the distance travelled within the zone. The distance is calculated using the Haversine formula, ensuring accurate measurement between geographic coordinates. Based on the travelled distance, the toll amount is dynamically computed and automatically deducted from the user’s digital wallet.The system is further enhanced with cloud integration using a real-time database, which stores vehicle data, wallet balance, and transaction details. A web-based user interface is developed to display real-time information such as vehicle location, toll status, and remaining balance, providing transparency and ease of access to users.The proposed solution eliminates the need for physical toll booths, reduces traffic congestion, minimizes fuel consumption, and ensures fair pricing based on actual road usage. This system demonstrates an efficient, scalable, and cost-effective approach for modern intelligent transportation systems.
Introduction
The project proposes a GPS and IoT-based automatic toll collection system designed to replace traditional manual and RFID-based toll booths, which often cause congestion, delays, and require fixed infrastructure. Existing systems suffer from limitations such as traffic buildup, high setup costs, dependency on tags or cameras, and lack of dynamic pricing and full automation.
The proposed system uses an ESP32 microcontroller integrated with a GPS module to continuously track vehicle location. A virtual toll boundary (geofence) is defined using latitude, longitude, and radius. When a vehicle enters and exits this zone, the system calculates the travelled distance using GPS coordinates and computes toll charges dynamically based on usage rather than fixed fees.
The ESP32 handles processing, communicates via Wi-Fi, and sends real-time data to a cloud platform (e.g., Firebase). A digital wallet is used for automatic toll deduction, with alerts for low balance. A 16×2 LCD display provides real-time updates such as location, balance, and toll status, while a web interface allows users to track trips, transactions, and vehicle movement.
Literature shows prior approaches using RFID, GSM, ANPR, and sensor-based systems, but these still rely on infrastructure or suffer from accuracy and connectivity issues. The proposed system improves upon these by enabling fully automated, scalable, and real-time toll collection using GPS geofencing and IoT integration.
Conclusion
The proposed GPS-based automated toll collection system successfully demonstrates an efficient and intelligent approach to modern toll management. By integrating GPS technology, geofencing techniques, and IoT-based communication, the system eliminates the need for conventional toll plazas and manual intervention. This results in reduced traffic congestion, minimized waiting time, and improved overall transportation efficiency.The implementation using the ESP32 microcontroller, along with GPS, LCD display, and cloud connectivity, provides a real-time and automated solution for toll detection and deduction. The system accurately determines the vehicle’s location, identifies entry into the toll zone using predefined coordinates, and performs automatic toll deduction through a digital wallet mechanism. The inclusion of a user interface and cloud platform enhances transparency by allowing users to monitor vehicle movement and transaction details in real time.One of the key advantages of the proposed system is its scalability and cost-effectiveness, as it does not require expensive physical infrastructure such as toll booths, RFID readers, or camera-based systems. Additionally, the use of wireless communication enables remote monitoring and future integration with smart city applications.However, certain limitations such as dependency on GPS signal accuracy and internet connectivity may affect system performance in specific conditions like tunnels or low-network areas. These challenges can be addressed in future work by integrating additional technologies such as hybrid positioning systems and secure payment gateways.In conclusion, the proposed system provides a reliable, automated, and user-friendly solution for toll collection. It represents a significant step towards the development of smart transportation systems and has the potential to be implemented on a larger scale for real-world applications.
References
[1] B. W. Parkinson and J. J. Spilker, Global Positioning System: Theory and Applications, Vol. 1, Washington, DC, USA: American Institute of Aeronautics and Astronautics, 1996.
[2] S. A. Ahson and M. Ilyas, Location-Based Services Handbook: Applications, Technologies, and Security, CRC Press, 2010.
[3] K. Finkenzeller, RFID Handbook: Fundamentals and Applications in Contactless Smart Cards and Identification, 2nd ed., Wiley, 2003.
[4] T. S. Rappaport, Wireless Communications: Principles and Practice, 2nd ed., Prentice Hall, 2002.
[5] L. Da Xu, W. He, and S. Li, “Internet of Things in Industries: A Survey,” IEEE Transactions on Industrial Informatics, vol. 10, no. 4, pp. 2233–2243, Nov. 2014.
[6] M. Armbrust et al., “A View of Cloud Computing,” Communications of the ACM, vol. 53, no. 4, pp. 50–58, Apr. 2010.
[7] N. Kshetri, “Mobile Payments and Consumer Behavior,” IEEE IT Professional, vol. 20, no. 3, pp. 15–22, May–June 2018.
[8] A. Goldsmith, Wireless Communications, Cambridge University Press, 2005.
[9] R. W. Sinnott, “Virtues of the Haversine Formula,” Sky and Telescope, vol. 68, no. 2, pp. 159, 1984.
[10] A. Dix, J. Finlay, G. Abowd, and R. Beale, Human-Computer Interaction, 3rd ed., Pearson Education, 2004.