外文文献及翻译基于STC89C52单片机的多路抢答器设计_第1页
外文文献及翻译基于STC89C52单片机的多路抢答器设计_第2页
外文文献及翻译基于STC89C52单片机的多路抢答器设计_第3页
外文文献及翻译基于STC89C52单片机的多路抢答器设计_第4页
外文文献及翻译基于STC89C52单片机的多路抢答器设计_第5页
已阅读5页,还剩2页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、本文格式为Word版,下载可任意编辑 外文文献及翻译基于STC89C52单片机的多路抢答器设计 2022 International Conference on Intelligent Computation Technology and Automation Design and Implement of Responder Based on Freescale HCS12 Single Chip Microcomputer Cheng Qiming, Cheng Yinman, Wang Mingmei, Chang Lin College of Electric Power and Au

2、tomation Shanghai University of Electric Power Changyang 2588 road, Yandpu district, Shanghai 200090, China E-mail :chengqiminga88fc3931711cc7930b71686 AbstractAn 8-channel responder based on Freescale HCS12 single chip microcomputer is designed. The responder can display the number of the first pla

3、yer correctly. It also can count the scores and show the player with the highest score. The system includes four modules: CPU12, the SCI serial communication, digital display tube and timer. When competition signal input, it is been caught and then cause interruption, the timer is used to time accur

4、ately, the serial port is used to send and receive the start answer signal, judgment signal and other signals, the digital display tube is used to show the scores of the current player . LCD display tube shows subjects and answers. So the basic functions of the responder are achieved. Keywords-respo

5、nder; single chip microcomputer; timer; input capture; interruption I.I NTRODUCTION Responder is also known as the first signal discriminator, which is widely used in various competitions. It can judge the number of the first player accurately, fairly and intuitively. Currently, a variety of quiz re

6、sponder has emerged on the market, in which a small responder is commonly designed with small-scale digital integrated circuit. Although the technology has been quite mature, but it is simple function, low intelligence, high fault, simple display, less flexibility, not convenience for upgrade, it ha

7、s been unable to meet all kinds of requirements for intellectual competitions and variety shows. Therefore, it is necessary to develop some kinds of responder which are more suitable for applications. In recent years, with the rapid development of science and technology, the applications of single-c

8、hip microcomputer are becoming widely, which promotes the development of traditional measurement and control technology. In this paper, Freescale HCS12 1-3 is designed as a core component to achieve an intelligent digital responder with 8-channel 4-8, it has some breakthroughs on technology, functio

9、n and other aspects, comparing with the past responder. It is characterized by simple structure, powerful, good reliability, practicability, so that the competition can really carried out on just, fair and open rules. II.F UNCTION OF RESPONDER The basic functions of responder designed in this paper

10、are: (1)The system can limit the competition time and answer time of the alarm; 1 This work is supported by Leading Academic Discipline Project of Shanghai Municipal Education Commission (Project Number: J510301, J510303) 978-0-7695-4077-1/10 $26.00 ? 2022 IEEE DOI 10.1109/ICICTA.2022.128 1127 (2)Th

11、e system can identify the answer signal and identify the players number; (3)The system can calculate score for each player and display the scores. Responder can accommodate 8 players numbered 1 to 8. In addition, LED digital tubes are designed to display the latched data. After race host clears the

12、system, if participants press switch, and after answer is certificated whether it is correct or not, the number of first player to answer in action is immediately shown by digital tubes. Responder should have a strong ability to distinguish players to answer in the action, its resolution reaches at

13、least a few ms. III.I DEAS OF RESPONDER DESIGN After the requirements and functions of responder are analyzed, the following circuits are required in general: A Responder circuit The circuit has two functions: one is to identify the number of the player who press button, and to save the number; the

14、other is to prohibit the other players from buttoning or to make other buttons not available. B Timing circuits Host can set competition time and answer time by the time pre-set-circuit. If nobody can answer question within the set time, all players will not get score, then the host will announce th

15、e answer. Besides, if someone gets the chance to answer the question, but does not give the right result before the allowable time, he or she wont get the score, the overtime signal will be also send, the host will declare the right answer. Freescale HCS12 contains timer module, the timer module can

16、 be directly used. C Overtime circuit HCS12 will send overtime signal when time goes beyond the set time, this signal will be transferred to the PC computer by the serial port. The next question will be proceeded to answer. D Scores count and display circuit. When host presses the answer key, it is

17、time to start to answer, if one player presses the answer key, his or her number will be recorded, his or her score will be counted and displayed on the LED digital tubes. Bedside the circuits designed above, some necessary logic designs are also necessary. The logic designs are as following: First,

18、 the host will read the question which will show in the LCD; next, the PC computer will send letter “k, which means that play is beginning to competition. At the same time, timing circuit starts to work, if nobody gets the chance to answer the question within permitted time, microcontroller will sen

19、d the word “chao shi to PC computer; If someone presses the competition key within the specified time, microcontroller will send his or her number. If the time goes beyond the permitted time, PC computer will send “next which means turning to the next question, the next question will be automaticall

20、y showed to answer. If some player gets the chance to answer the question, his or her number and scores will decrease 1 automatically and show in the digital tubes, then microcontroller sends “next to go on the next question. If the score is few than 0 after decreasing, player is eliminated. The rig

21、ht answer will show on the LCD. Finally, if all the questions are done, microcontroller will send “e to end the game, then the scores of all players will be computed, the highest one will be shown on the digital tubes. IV. D ESIGN OF RESPONDER HARDWARE Responder hardware is firstly designed; Respond

22、er hardware is taken directly from the hardware resources of Freescale HCS12 development board developed by Suzhou University. The development board takes MC9S12DG128 as the core, using modular design approach, it extracts part of I/O resources, and it also provides each module with a corresponding interface circuit. It also provides A/D input channels, PWM low-pass filter circuits, 16-key keyboard input channels, 8-bit digital I/O circuits, SPI I/O circuits, SCI communication circuits, I 2C bus I/O expansion circuits and so on. In this paper, the hardware modules, the pin connections a

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论