89c51一种用N+1条线实现矩阵键盘
标签: 矩阵键盘
上传时间: 2014-12-26
上传用户:lhw888
在理论分析循环码编码和译码基本原理的基础上,提出了基于单片机系统的(24,16)循环码软件实现编码、译码的方案。仿真结果表明(24,16)循环码能有效地克服来自通讯信道的干扰,保证数据通信的可靠及系统的稳定,使误码率大幅度降低。本论文对(24,16)循环码的研究结果表明,可以有效地降低错误概率和提高系统的吞吐量,实现纠错仅需要在接收端增加有限的存储空间和计算复杂度,具有一定的实用价值。 Abstract: Based on analyzing the theory of encoding and decoding of cyclic code, this paper showed the schemes of encoding and decoding of(24,16)cyclic code by the software and based on microcontroller. Simulation results show that using (24,16) cyclic codes can effectively overcome the interference from communication channel, ensure the reliability and stability of data communication systems, and reduce the bit error rate greatly. The results of this paper show that by using the (24,16) cyclic code, the error rate can be reduced and the system throughput can be improved. Meanwhile, the system only needs to enlarge limited storage space and computation the complexity at the receiving end to realize error correction. Thus the (24,16) cyclic code has a practical value.
上传时间: 2013-11-09
上传用户:gaoliangncepu
摘要 本设计以AT89S52单片机为中心控制器,由51最小系统及复位电路、电源和USB下载模块、发光二极管模块、蜂鸣器电路、数码管显示模块、矩阵键盘模块、点阵显示电路、继电器电路、温度传感器DS18B20模块、串口通信接口电路、电机驱动电路、时钟芯片DS1302模块、存储器AT24C02、AD转化模块、DA转化模块、旋转拨码开关、1602和12864液晶接口、电路外部RAM62256模块组成。
上传时间: 2013-10-13
上传用户:爺的气质
摘要:本文详细叙述了基于FPGA及单片机K实现时码终端系统的设计方法,该系统可用于对国际通用时间格式码IRIG码(简称B码)的解调,以及产生各种采样、同步频率信号,也可作为其它系统的时基和采样、同步信号的基准。关键词:单片机;IRIG-B格式码;FPGA;解调;控制;接口
上传时间: 2013-12-16
上传用户:CSUSheep
摘要:本文主要介绍MAX458CPL视频矩阵芯片的功能及优点,如何用该单片机的并行和串行控制来实现视频矩阵的设计方法。关键词:单片机 视频矩阵 并行 串行 控制
上传时间: 2013-11-10
上传用户:stvnash
最强万年历源码(支持24节气、支持所有单片机、ARM)
上传时间: 2013-10-21
上传用户:bjgaofei
HT6221发码的接收原理及应用 HT6221 是Holtek 公司生产的多功能编码芯片,采用PPM(Pulse Position Modulation)进行编码
上传时间: 2014-09-10
上传用户:AbuGe
AT89C2051驱动步进电机的电路和源码:AT89C2051驱动步进电机的电路和源码 程序:stepper.c stepper.hex/* * STEPPER.C * sweeping stepper's rotor cw and cww 400 steps * Copyright (c) 1999 by W.Sirichote */#i nclude c:\mc5151io.h /* include i/o header file */ #i nclude c:\mc5151reg.hregister unsigned char j,flag1,temp; register unsigned int cw_n,ccw_n;unsigned char step[8]={0x80,0xc0,0x40,0x60,0x20,0x30,0x10,0x90} #define n 400/* flag1 mask byte 0x01 run cw() 0x02 run ccw() */main(){ flag1=0; serinit(9600); disable(); /* no need timer interrupt */ cw_n = n; /* initial step number for cw */ flag1 |=0x01; /* initial enable cw() */while(1){ { tick_wait(); /* wait for 10ms elapsed */energize(); /* round-robin execution the following tasks every 10ms */ cw(); ccw(); } }}cw(){ if((flag1&0x01)!=0) { cw_n--; /* decrement cw step number */ if (cw_n !=0) j++; /* if not zero increment index j */ else {flag1&=~0x01; /* disable cw() execution */ ccw_n = n; /* reload step number to ccw counter */ flag1 |=0x02; /* enable cww() execution */ } }
上传时间: 2013-11-21
上传用户:boyaboy
CASIO fx-5800P矩阵编程计算器:CASIO fx-5800P矩阵编程计算器
上传时间: 2013-10-26
上传用户:wudu0932
所学的指令LD、LDI、OUT AND、ANI OR、 ORI LDP、 LDF、ANDP、ANDF、 ORP、 ORF ORB、 ANB MPS、 MRD、 MPP MC、 MCRSET RSTNOP END 自锁电路触点的动作发光二极管的工作原理。八段码显示是利用发光二极管的不同段码组合来实现的,它可以实现0到F的显示。抢答器的显示就是利用八段码显示的特性,来完成几个不同组别的显示。用PLC实现八段码显示0~9组的3组以上抢答器的程序编写,并完成以下要求:1)设计由PLC实现的八段码显示0~9组的3组以上抢答器的程序编写,并完成以下要求: ①列出PLC的输入输出地址分配表 ②画出PLC的输入输出接线图(即I/O接线图) ③设计PLC的梯形图 ④根据梯形图列写指令表 2)按PLC控制I/O口(输入/输出)接线图在模拟实验设备上正确接线。
上传时间: 2013-11-22
上传用户:lmeeworm