首页 | 本学科首页   官方微博 | 高级检索  
     检索      

基于MC51简易四位抽奖机的设计
引用本文:梁国祥.基于MC51简易四位抽奖机的设计[J].宁德师专学报(自然科学版),2011,23(3):268-270.
作者姓名:梁国祥
作者单位:宁德师范学院物理与电气工程系,福建,宁德,352100
摘    要:本设计基于AT89C2051单片机为核心,制作一个简易四位抽奖机,共设置四个按键,分别为选择键、停止键、一位抽奖键、四位抽奖键.当按下四位抽奖键时四个数码管同时滚动而且是随机的,当按下停止键后四个数码管同时停止,并且显示0-9的随机数.当按下一位抽奖键时,用停止键来控制个、十、百、千的逐位来抽奖.

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

The design of simple four-digit lucky draw machine based on MC51
LIANG Guo-xiang.The design of simple four-digit lucky draw machine based on MC51[J].Journal of Ningde Teachers College(Natural Science),2011,23(3):268-270.
Authors:LIANG Guo-xiang
Institution:LIANG Guo-xiang(Department of Physics & Electrical Engineering,Ningde Normal University,Ningde,Fujian 352100,China)
Abstract: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....
Keywords:microcontroller  four lottery machine  random numbers    
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号