虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

code-and

  • 超级电容器备用电源系统的手持设备数据保护

      Handheld electronic devices play a key role in our everydaylives. Because dependability is paramount, handhelds arecarefully engineered with lightweight power sources forreliable use under normal conditions. But no amount ofcareful engineering can prevent the mistreatment theywill undergo at the hands of humans. For example, whathappens when a factory worker drops a bar code scanner,causing the battery to pop out? Such events areelectronically unpredictable, and important data storedin volatile memory would be lost without some form ofsafety net—namely a short-term power holdup systemthat stores suffi cient energy to supply standby power untilthe battery can be replaced or the data can be stored inpermanent memory.

    标签: 超级电容器 备用电源 手持设备

    上传时间: 2013-11-05

    上传用户:coeus

  • DS8005评估套件入门

    Abstract: This application note describes how to build, debug, and run applications on the on-board MAXQ622microcontroller to interface with the DS8005 dual smart card interface. This is demonstrated in both IAREmbedded Workbench and the Rowley CrossWorks IDE, using sample code provided with the kit.

    标签: 8005 DS 评估套件

    上传时间: 2013-10-29

    上传用户:ddddddd

  • 基于单片机系统的(24,16)循环码编码、译码方案

      在理论分析循环码编码和译码基本原理的基础上,提出了基于单片机系统的(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.  

    标签: 24 16 单片机系统 循环码

    上传时间: 2013-11-09

    上传用户:gaoliangncepu

  • Atmel AT89C系列单片机电路板设计指南

    Designing Boards with Atmel AT89C51,AT89C52, AT89C1051, and AT89C2051 for Writing Flash at In-Circuit Test. Recent improvements in chips and testers have made it possible for the tester to begin taking over the role tradi-tionally assigned to the PROM program-mer. Instead of having a PROM pro- grammer write nonvolatile memories before assembling the board, the in-cir- cuit tester writes them during in-circuit testing operations. Many Teradyne Z18- series testers are now in use loading code into nonvolatile memories, micro- controllers and in-circuit programmable logic devices. The purpose of this note is to explain how the Z18 approaches the writing task for Atmel AT89C series IC’s, so that designers of boards using these chips can get the best results.  

    标签: Atmel 89C AT 89

    上传时间: 2013-11-17

    上传用户:xiaozhiqban

  • 基于单片机的数字化B超键盘设计

    针对目前使用的RS232接口数字化B超键盘存在PC主机启动时不能设置BIOS,提出一种PS2键盘的设计方法。基于W78E052D单片机,采用8通道串行A/D转换器设计了8个TGC电位器信息采集电路,电位器位置信息以键盘扫描码序列形式发送,正交编码器信号通过XC9536XL转换为单片机可接收的中断信号,软件接收到中断信息后等效处理成按键。结果表明,在满足开机可设置BIOS同时,又可实现超声特有功能,不需要专门设计驱动程序,接口简单,成本低。 Abstract:  Aiming at the problem of the digital ultrasonic diagnostic imaging system keyboard with RS232 interface currently used couldn?蒺t set the BIOS when the PC boot, this paper proposed a design method of PS2 keyboards. Based on W78E052D microcontroller,designed eight TGC potentiometers information acquisition circuit with 8-channel serial A/D converter, potentiometer position information sent out with keyboard scan code sequentially.The control circuit based on XC9536 CPLD is used for converting the mechanical actions of the encoders into the signals that can be identified by the MCU, software received interrupt information and equivalently treatmented as key. The results show that the BIOS can be set to meet the boot, ultrasound specific functionality can be achieved at the same time, it does not require specially designed driver,the interface is simple and low cost.    

    标签: 单片机 B超 数字化 键盘设计

    上传时间: 2013-10-10

    上传用户:asdfasdfd

  • 单片机Flash存储器坏块自动检测

    在深入了解Flash存储器的基础上,采用单片机自动检测存储器无效块。主要通过读取每一块的第1、第2页内容,判断该块的好坏,并给出具体的实现过程,以及部分关键的电路原理图和C语言程序代码。该设计最终实现单片机自动检测Flash坏块的功能,并通过读取ID号检测Flash的性能,同时该设计能够存储和读取1GB数据。 Abstract:  On the basis of in-depth understanding the Flash chips,this paper designs a new program which using the SCM to detect the invalid block.Mainly through reading the data of the first and second page to detect the invalid block.Specific implementation procedure was given,and the key circuit schematic diagram and C language program code was introduced.This design achieved the function of using the MCU checks the invalid block finally,and increased the function by reading the ID number of Flash to get the performance of the memory.And the design also can write and read1GB data

    标签: Flash 单片机 存储器 自动检测

    上传时间: 2013-10-25

    上传用户:taozhihua1314

  • 基于CDC3207G的汽车仪表板设计

    应用德国Micronas公司的CDC3207G微控制器开发了一款汽车仪表板系统。详细地介绍了该系统的硬件原理,以及步进电机,音频控制,LCD显示,LED指示灯和报警灯等几个模块的实现方法。应用μC/OS-II实时操作系统开发软件。着重介绍了启动代码的设计和任务的规划。 Abstract:  A dashboard system is developed by using CDC3207G microcontroller made by Micronas.The hardware of the sys-tem and the realization of the step motor module,audio module,LCD display and LED indicator and alarm module are ex-plained in detail.The μC/OS-II real-time operating system is used for the software development and the starting code design and the task planning is explained specifically.

    标签: 3207G 3207 CDC 汽车仪表板

    上传时间: 2013-10-26

    上传用户:x4587

  • 基于MSP430的指纹保险柜的实现

    在介绍基于MSP430单片机的指纹保险柜工作原理的基础上,从系统软件设计的角度出发,详细介绍了指纹保险柜软件的总体分析过程、程序结构的设计以及代码的编写,给出了按键管理流程和部分源代码。 Abstract:  On basis of the operating principle of MSP430 microcontroller-based fingerprint safe,the general analyzing process,program designing and code compiling of the fingerprint safe software are introduced mainly,and the key-press flows chart and some codes according to the system software designing are put forward.

    标签: MSP 430 指纹 保险

    上传时间: 2014-12-27

    上传用户:gaojiao1999

  • 基于ATmega168的ADC按键设计

    利用Atmel公司的ATmega168微处理器,采用A/D转换方式来实现按摩椅控制器的键盘接口,通过在硬件电路中巧妙地选择电阻,在软件设计中采用数字滤波、二分法和区间鉴定等方法,灵敏可靠地实现了按摩椅中30个按键的处理。给出了硬件电路设计和软件设计思想以及部分汇编代码。 Abstract:  This paper chooses A/D conversion method to realize the keyboard interface of the controller by using ATmega168 microchip from Atmel Company.It accomplishes 30-key dealing sensitively and reliably in massage chair through skillfully selecting resistors in hardware circuit and using digital filter,dichotomy and area-judging method in software design.The hardware design circuit, software design idea and partly assembles code are presented mainly.

    标签: ATmega 168 ADC 按键

    上传时间: 2014-01-10

    上传用户:咔乐坞

  • 基于ROM单片机的汉字输入法的实现

    在需要实时大量输入汉字的显示控制处理应用中,利用传统单片机实现显示控制的设计方法是较难实现的。带汉字字库的液晶模块的使用使得小容量ROM单片机的大量汉字信息输入与显示成为可能。提出了针对汉字字库编码的二级索引拼音输入检索方法,介绍了以ST7920作为控制器的带汉字字库的液晶显示模块的接口方法及汉字显示和控制原理,给出了通用计算机键盘在单片机中的串行接口,采用该技术可大大增强单片机的汉字输入功能。为小容量ROM单片机的大批量汉字信息处理提供了一种汉字输入解决方案。 Abstract:  It is difficult to realize Chinese characters input method based on the embedded system by using the traditional design method of display control. It is possible to input and display Chinese characters based on the embedded system with the ROM of small content by using the LCD module with Chinese characters.Chinese characters input method of the quadric index recall in allusion to Chinese characters code is brought forward.The interface and the principle of Chinese characters display control based on the LCD module controlled with the ST7920 is introduced too.The serial interface of the computer keyboard in common use and the embedded system is given at the same time. It can enhance the embedded system function of Chinese characters input by using this technology, and provide a kind of Chinese characters input scheme for the embedded system with small capacity ROM.

    标签: ROM 单片机 汉字输入法

    上传时间: 2013-11-19

    上传用户:jhksyghr