›› 2013, Vol. 26 ›› Issue (6): 164-.

• 论文 • 上一篇    下一篇

基于AT89S52的交通灯综合实验设计

郝文延   

  1. (长治医学院 生物医学工程系,山西 长治 046000)
  • 出版日期:2013-06-15 发布日期:2013-06-04
  • 作者简介:郝文延(1977—),女,硕士,讲师。研究方向:嵌入式系统的应用。E-mail:haowenyan66@163.com

Design of the Traffic Light Comprehensive Experiment Based on AT89S52

HAO Wenyan   

  1. (Department of Biomedical Engineering,Changzhi Medical College,Changzhi 046000,China)
  • Online:2013-06-15 Published:2013-06-04

摘要:

介绍了模拟交通灯控制系统的综合实验设计,系统以AT89S52为核心,采用多种中断处理和P口分时复用功能来控制数码管和LED灯,实现了各种情况下交通灯的正常指示和倒计时功能。实验采用的软件有KeilC51、Proteus、Protel等,统计数据表明,通过实验能使学习者较完整地掌握单片机系统设计。

关键词: 综合实验, 交通灯控制, AT89S52

Abstract:

This article describes the comprehensive experiment design of a simulative traffic light control system.The simulation system uses AT89S52 devices as the core and applying varied interrupt processing and time-sharing multiplexing function with P port to control the display of digital tubes and LED lights,thus realizing normal indication and countdown function of the traffic lights in a variety of situations.The software such as Keil C51,Proteus,Protel are used in the comprehensive experiment.The statistics data show that learners can master single chip Microcomputer programming better by doing the experiment.

Key words: comprehensive experiment;traffic light control;AT89S52

中图分类号: 

  • TP273+.5