在理论分析循环码编码和译码基本原理的基础上,提出了基于单片机系统的(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
为解决电致变色器件的颜色变化受外界环境颜色控制的问题,设计了一种基于单片机的便携式颜色自适应识别电路。与传统颜色识别电路相比较,该电路利用数字式的颜色传感器来获取外界环境颜色,产生的数字颜色信号易于单片机进行处理。在电路中,下位机部分主要负责获取电致变色器件变色参数及控制电致变色器件的颜色变化;而上位机部分主要负责把下位机获取的电致变色器件变色参数进行电压到颜色的曲线拟合,并通过蓝牙通信把拟合曲线参数传递给下位机。结果表明,该电路能自动根据环境颜色提供-4~4 V范围步进为0.1 V的电压来驱动电致变色器件的颜色显示,与传统的颜色识别电路设计相比,识别的精度和速度都得到了明显改善。 Abstract: In this paper, a portable adaptive circuit for color identification(PACCI) based on MCU was designed. Compared to the traditional color identification circuit, the PACCI adopts digital sensor to detect the color data from external environment and further generate digital color data, which can be processed easily by MCU. In PACCI, the slave is mainly responsible for detecting the color parameters of the corresponding elcreochromic device and further driving it. For the master, which is mainly responsible for the color curve fitting based on the parameters of the electrochromic device, and transmits the fitting parameters to the slave through the bluetooth device. The results show that the PACCI can provide the basis voltage range from -4V to 4V automatically based on the colors of external environment with step as 0.1V to drive the corresponding electrochromic device. Compared to the traditional color recognition circuit, the recognition accuracy and speed of PACCI have been improved significantly.
上传时间: 2013-11-09
上传用户:franktu
针对目前普通日光灯因不能调节光强而造成的能源浪费问题,设计了一种基于单片机的新型节能日光灯系统,该系统主要分为3个部分,首先采集外界光强信息并将数据传至单片机;随后单片机根据输入量的不同调整输出的PWM波;最后日光灯控制电路通过PWM波的控制,调节日光灯两端的电压,控制日光灯输出的光强,使日光灯随外界光强的变化而自动调整照射光强。经过不同外界环境的实验调试,在满足使用者的用光要求的前提下,日光灯工作稳定,功率明显降低,适宜推广使用。
上传时间: 2013-10-29
上传用户:苍山观海
基于单片机的住宅电子服务系统
上传时间: 2013-10-27
上传用户:yanyueshen
提出一种基于单片机AT89C51SND1C的MP3播放系统的设计方案。单片机集成了专用的解码器,使用K9F1208闪存作为外存储器,放音电路采用CS4330,存储文件通过播放器上的USB接口设备从PC机上直接下载,液晶显示采用LCD1602。方案设计简单,性价比高,低功耗,易扩展。由于采用的是通用单片机实现的,可以很容易地移植到其他微控制器系统中,有很强的市场竞争能力和实用价值。 Abstract: A MP3 player design based on microchip AT89C51SND1C was presented, which used K9F1208 Flash chip as the memory circuit and used CS4330 as play chip. Storage files were download from PC through USB interfaces player on the device,and the LCD/602 was used as display screen. This system had characteristics of simple design,low power,easy expand,low cost and high recognition. Using of universual microchip make it easy to transplant to other microcontrol system,and have strong market competitiom and practical value.
上传时间: 2014-12-27
上传用户:佳期如梦
摘要:传统的门锁既要备有大量的钥匙,又要担心钥匙丢失后的麻烦。随着单片机的问世,出现了带微处理器的密码锁,它除具有电子密码锁的功能外,还引入了智能化、科技化等功能,从而使密码锁具有很高的安全性、可靠性,受到了广大用户的亲睐。本文介绍一种基于单片机和串行EEPROM的智能密码锁,对系统硬件设计和软件实现进行了详细的描述。该系统采用STC89C51单片机和AT24C02串行EEPROM,通过STC89C51模拟I2C总线和AT24C02通讯来读取存储的密码,用户通过键盘输入的密码,实现密码锁的功能。
上传时间: 2013-12-09
上传用户:JasonC
在现在的工业或实验室应用中, 对涡轮流量计的二次仪表提出了越来越多的要求, 准确度高、抗干扰能力强、集成度高、接口齐全、使用方便等都成了选购的主要考虑因素。本文描述了一种基于单片机的可适用于工业和实验室的高精度涡轮流量计二次仪表的设计过程
上传时间: 2013-11-22
上传用户:panpanpan
摘要:介绍一种基于单片机的温室温度自动控制系统。热敏电阻采集温室内的温度,单片机控制温度在液晶屏上实时显示,利用上位机进行实时监控,通过串行通信将采集到的数据送至上位机,应用系统自带的超级终端软件实现温室温度在上位机中的实时显示。关键词:P89V51RD2单片机;温度检测;液晶显示器
上传时间: 2014-12-27
上传用户:拔丝土豆
摘要:基于单片机技术的轮胎监测系统。系统通过嵌入到汽车轮胎内部的压力及温度传感器进行信号采集,经微型单片机处理后通过信号发射模块将信号发送到单片机处理监测系统,经监测系统分析处理后得出轮胎的工况,从而起到预警作用。关键词:轮胎压力监测系统 单片机系统 NPX-C01780 发射芯片 接收芯片
上传时间: 2013-11-25
上传用户:003030
摘要:为解决基于单片机的电子提花机所面临的问题,提出一种新的基于单片机W78E516B的嵌入式提花机控制器,包括硬件电路和单片机软件.分析了控制器实际中遇到的及可能遇到的技术问题,提出相应的对策.用盘代替软盘输入花样数据,解决了花样纬数受限制的实际问题.控制器实现了意外停机保护功能,且意外停机后可以快速恢复生产,文件管理系统经过反复拷贝删除也不会产生碎片.经在多家工厂运行,结果表明使用该控制器的提花机动作简洁、准确.关键词:提花机;控制器;单片机;USB;文件管理
上传时间: 2013-11-11
上传用户:banyou