当前位置: 首页 > news >正文

【dz-1137】基于单片机的智能停车场系统设计

基于单片机的智能停车场系统设计

摘要

随着城市机动车保有量的快速增长,停车场管理效率低、车位信息不透明、缴费流程繁琐等问题日益突出。传统停车场依赖人工引导和收费,不仅耗费人力成本,还易出现车位误判、计费误差等问题,影响用户停车体验。因此,研发一种集车位检测、智能引导、自动计费于一体的智能停车场系统具有重要的现实意义。

本设计提出一种基于 STM32F103C8T6 单片机的智能停车场系统。系统核心功能包括:通过四个红外避障管实时检测四个车位的占用状态,每个车位配备红灯指示,车位占用时红灯点亮;车辆入场时,E18-D80NK 光电传感器触发检测,RFID-RC522 模块识别刷卡信息,车位未满时允许入场,同时 SG90 舵机抬杆,OLED 显示屏显示箭头指引(优先右车位,右满则左指,全满显示 “X”),车辆入场后栏杆放下并开始计费,CN-TTS 语音模块播报 “欢迎光临”;车辆离场时,再次刷卡停止计费,语音播报费用,通过 GM861S 扫码枪完成付费后,舵机自动抬杆,车辆离场后栏杆放下,语音播报 “欢迎下次光临”;OLED 显示屏实时展示空余车位数、停车时长及费用(每小时 5 元);配备按键实现栏杆手动抬放控制。

该系统的作用在于提升停车场管理的智能化与高效性。通过自动车位检测与引导,减少用户寻位时间;RFID 刷卡与扫码付费结合,简化进出流程并确保计费准确;语音播报与显示反馈增强用户交互体验;手动按键控制作为应急保障,提升系统可靠性。此设计为小型停车场提供了低成本、易操作的智能化解决方案,有效优化了停车管理流程,提升了用户停车体验。

关键词:单片机;智能停车场;车位检测;RFID 识别;自动计费

Design of Intelligent Parking Lot System Based on Single Chip Microcomputer

Abstract

With the rapid growth of urban motor vehicle ownership, problems such as low efficiency in parking lot management, opaque parking space information, and cumbersome payment processes have become increasingly prominent. Traditional parking lots rely on manual guidance and charging, which not only consumes labor costs, but also easily leads to problems such as misjudgment of parking spaces and billing errors, affecting the user's parking experience. Therefore, developing an intelligent parking lot system that integrates parking space detection, intelligent guidance, and automatic billing is of great practical significance.

This design proposes an intelligent parking lot system based on STM32F103C8T6 microcontroller. The core functions of the system include: real-time detection of the occupancy status of four parking spaces through four infrared obstacle avoidance tubes, with each parking space equipped with a red light indicator, which lights up when the parking space is occupied; When the vehicle enters the site, the E18-D80NK photoelectric sensor triggers detection, and the RFID-RC522 module recognizes the card swiping information. Entry is allowed when the parking space is not full. At the same time, the SG90 servo motor lifts the pole, and the OLED display screen shows arrow guidance (priority for right parking space, left pointing when right is full, and "X" when full). After the vehicle enters the site, the railing is lowered and billing begins. The CN-TTS voice module broadcasts "Welcome"; When the vehicle leaves, swiping the card again will stop the billing, and the voice will announce the fee. After completing the payment through the GM861S barcode scanner, the servo will automatically lift the pole. After the vehicle leaves, the railing will be lowered, and the voice will announce "Welcome next time"; The OLED display screen displays real-time available parking spaces, parking hours, and fees (5 yuan per hour); Equipped with buttons to achieve manual lifting and lowering control of the railing.

The purpose of this system is to enhance the intelligence and efficiency of parking lot management. Reduce user search time through automatic parking spot detection and guidance; Combining RFID card swiping with QR code payment simplifies the entry and exit process and ensures accurate billing; Voice broadcasting and display feedback enhance user interaction experience; Manual button control serves as an emergency measure to enhance system reliability. This design provides a low-cost and easy-to-use intelligent solution for small parking lots, effectively optimizing the parking management process and enhancing the user parking experience.

Keywords:microcontroller; Intelligent parking lot; Parking space detection; RFID identification; Automatic billing

目 录

1 绪论

1.1 研究背景及意义

1.2 国内外研究现状

1.3 主要内容

2 系统总体方案设计

2.1系统总体设计

2.2 主要模块方案选择

3系统硬件设计

3.1 总体硬件框架

3.2 主控模块电路设计

3.3 车位检测模块电路设计

3.4 车辆检测模块电路设计

3.5 RFID 识别模块电路设计

3.6 栏杆控制模块电路设计

3.7 显示模块电路设计

3.8 扫码枪模块电路设计

3.9 语音播报模块电路设计

3.10 按键模块电路设计

4 系统程序设计

4.1 编程软件介绍

4.2 系统主流程设计

4.3 独立按键

4.4 OLED显示流程设计

4.5 蓝牙模块子流程

4.6 步进电机子流程设计

5实物制作与功能测试

5.1 实物制作

5.2 车位检测与指示功能测试

5.3 车辆进出与计费功能测试

5.4 显示与交互功能测试

5.5 付费与语音提示功能测试

6 总结

参考文献

致谢

附录A 原理图

附录B PCB

附录C 主程序

http://www.cnnetsun.cn/news/595177.html

相关文章:

  • 【dz-1143】基于STM32的智慧牛舍养殖系统设计与实现
  • ZooKeeper入门实战:从零开始掌握分布式协调服务
  • 【风电光伏功率预测】区域功率预测误差分摊算法全解:从公式到代码实现
  • 软著到底有多“香”?它和专利的区别你一定要懂!
  • 著作权与商标权有什么区别
  • VR单人地震模拟平台:以科技革新防震减灾科普新模式
  • 为AI装上“纠偏”思维链,开源框架Robust-R1显著提升多模态大模型抗退化能力
  • 2026如何建立自己的网站,快速创建网站的七大步骤
  • 从延迟飙升到毫秒响应,AIGC推理并发优化全路径解析
  • 漏洞还能合法赚钱?7 个途径,新手也能赚第一笔奖金
  • Claude Code Skill神器planning-with-files:解决大模型上下文丢失的终极方案(附安装教程)
  • AI产品经理必看!大模型转行全攻略,建议马上收藏_想转行做大模型?AI产品经理转行必读指南
  • DeepSeek V4重磅来袭:编程能力或将超越Claude,引领AI新纪元!
  • 特殊教育学校心理咨询室全维建设方案
  • 中小学标准心理辅导室建设方案
  • 【高并发渲染架构解密】:大型游戏引擎中多线程优化的7个关键步骤
  • (企业系统模块化开发最佳实践——基于Spring Cloud的模块治理方案)
  • 做 TikTok 跨境:别再把它当“短视频带货”,而是一个正在变硬的电商系统
  • 基于Opencv C# 开发的卡尺测量距离源码,代码运行正常,由实际运行项目中剥离,含测试图片
  • 不安全类型内存操作:为什么Rust能终结C/C++的内存灾难?
  • 为什么要做蓝牙BQB认证
  • 嵌入式安全编码十大核心原则(军工级标准首次公开)
  • 虚拟线程冷启动优化全攻略(99%开发者忽略的JVM级陷阱)
  • 模块化开发落地难题全解析(企业级拆分策略大揭秘)
  • 【课程设计/毕业设计】基于python-CNN卷积神经网络对大白菜是否腐烂识别基于深度学习python-CNN卷积神经网络对大白菜是否腐烂识别
  • 深度学习计算机毕设之基于python-CNN卷积网络的动物是否疲劳识别基于python-CNN的动物是否疲劳识别
  • 信安毕业设计创新的课题大全
  • Service Mesh虚拟线程深度实践(虚拟线程性能飞跃指南)
  • ‌安全测试量子加密应用
  • ‌从实验室到生产:构建全生命周期的软件测试策略