基于MC51简易四位抽奖机的设计  被引量:3

The design of simple four-digit lucky draw machine based on MC51

在线阅读下载全文

作  者:梁国祥[1] 

机构地区:[1]宁德师范学院物理与电气工程系,福建宁德352100

出  处:《宁德师范学院学报(自然科学版)》2011年第3期268-270,共3页Journal of Ningde Normal University(Natural Science)

摘  要:本设计基于AT89C2051单片机为核心,制作一个简易四位抽奖机,共设置四个按键,分别为选择键、停止键、一位抽奖键、四位抽奖键.当按下四位抽奖键时四个数码管同时滚动而且是随机的,当按下停止键后四个数码管同时停止,并且显示0~9的随机数.当按下一位抽奖键时,用停止键来控制个、十、百、千的逐位来抽奖.With the rapid development of the digital era, the digital electronic technology has spread to all areas of people" s lives. The design is based on AT89C2051 MCU as the core. Produced a simple four-digit draw machine, the three keys were set, respectively, for the selection button, stop button and a draw button, four draw keys. When the key four draws is pressed while rolling, four digital control is random, when the stop button is pressed after the four digital control and then it displays a random number from 0 to 9. When a key draw is pressed, the stop button controls the number of one, ten, hundred, thousand-by-bit to the winners.

关 键 词:单片机 四位抽奖机 随机数 

分 类 号:TP368.1[自动化与计算机技术—计算机系统结构]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象