2025 届本科生毕业设计 分类号:TP368.1 题目:基于单片机 AT89C51 的交通灯控制器的设计 姓 名: 张建猛 学 号 : 2025080870 学 院: 机械与电子工程学院 专 业: 自动化 指导老师职称: 胡波 刘明 指导老师职称: 助教(硕士) 工程师 2025-05-11摘 要 本文采纳 AT89C51 单片机芯片为核心控制器件设计的交通灯控制器,该系统主要包括单片机最小系统,按键,数码管显示,交通灯演示系统。系统主要具有有人行道,交通灯的基本功能,倒计时,紧急情况处理,根据具体情况手动控制等功能。通过 AT89C51 并接数码管和发光二极管来实现交通灯的变化规律,P1 口设置红,绿灯点亮时间功能的实现;红绿灯循环点亮,倒计时剩余 10秒时黄灯闪耀警示。本系统的研发周期短,可靠性高,有用性,操作简单,维护方便,扩展功能强大。本系统软硬件相结合,通过 Proteus 软件仿真,基本实现了交通信号灯的模拟。关键词:AT89C51;数码管;交通灯控制器ABSTRACTIn this paper, AT89C51 chip as the core control device design traffic light controller, the system includes smallest single-chip system, keyboard, digital display, traffic lights demonstration system. System mainly has a sidewalk, the basic functions of traffic lights, countdown, emergency treatment, according to the specific circumstances of manual control and other functions. And connected via AT89C51 LED digital tube and realized traffic lights change, P1 port settings of red, green lighting time function is implemented; traffic light cycle light, countdown 10 seconds remaining yellow flashing warning. The system development cycle is short, high reliability, practicality, simple operation, easy maintenance, expansion and powerful. This system combines hardware and software, Through the Proteus Software Simulation,the basic realization of traffic lights simulation.Keywords: AT89C51; System; Digital pipe; Traffic light controller目 录绪 论......................................................................................................