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

INTERRUPT

  • 基于单片机的数字化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

  • 基于AT89C52单片机的语音录放系统

       设计一种基于AT89C52的语音录放系统,利用单片机、ISD2560语音录放器件、麦克风、扬声器等元器件实现硬件电路的设计,并利用C51高级语言设计ISD2560器件控制字的写入和定时中断程序。经软硬件调试,结果表明该系统录放效果良好,具有一定的工程实用价值。 Abstract:  Voice recording and playback system based on AT89C52is designed in this paper.Using the single-chip microcomputer,voice recording and playback chip ISD2560,microphone and speaker to realize the hardware circuit design.Writing ISD2560control words and timing INTERRUPT procedures are designed by C51advanced language.Through the hardware and software test,voice recording and playback system play better voice,and this system has some engineering practical values.

    标签: 89C C52 AT 89

    上传时间: 2013-10-20

    上传用户:ywcftc277

  • 基于ISA总线与KH-9300的数据采集系统

    介绍基于ISA总线与KH-9300的数据采集板卡的设置,详细说明8254定时计数器及8259中断控制器的结构特点、工作方式、控制字等,探讨中断类型、中断处理程序、中断矢量表及其填写。重点讲述使用TorboC编写中断服务程序的方法,应注意的主要问题及程序测试的结果。 Abstract:  The settings of KH-9300 data acquisition board based on the ISA bus is introduced,the structural characteristics,working methods,control characters of the timing counter 8254 and INTERRUPTioncontroller 8259 are explained in detail.The INTERRUPTion type,INTERRUPT handling programs,INTERRUPTion vector table and its filling also are discussed.Further,great emphasis is put on the method of INTERRUPT service program compiled by Torbo C,the main issues that should be noted,and the results of program testing.

    标签: 9300 ISA KH 总线

    上传时间: 2013-11-14

    上传用户:qq527891923

  • 基于ISA总线的计算机与DSP的通信

    在开放式数控系统结构模型的基础上,研究了基于ISA总线的DSP通信控制原理。采用中断方式完成了PC机和DSP之间的通信。介绍了以DriverWorks为工具开发ISA设备WDM驱动程序的方法,探讨了中断处理、驱动程序与应用程序之间的通信,简要说明了驱动程序的安装与调试。通过调试,系统设计运行稳定。 Abstract:  The ISA bus and DSP correspondence control principle is investigated in the basis of the existing open architecture numerical control system.The INTERRUPT method is used to realize the communication between PC and DSP based on the ISA bus.The methods of WDM driver exploitation for ISA device using Driver Works are introduced.The main process of driver program and the keys such as handle INTERRUPT and the communication between the drivers and application are presented.And how to debug and install the drive is explained.

    标签: ISA DSP 总线 计算机

    上传时间: 2013-11-04

    上传用户:kang1923

  • 基于C8051F020的触摸屏驱动控制

    C8051F020单片机通过SPI接口驱动四线电阻式触摸屏控制器TSC2046,利用中断方式驱动TSC2046设计软件。介绍了触摸屏的工作原理、TSC2046工作方式以及典型应用电路。 Abstract:  The C8051F020 MCU is connected with the TSC2046 which is a 4-wire touch screen controller. The TSC2046 is controlled by INTERRUPT mode, the? operation principle of touch screen is introduced. The operation mode of TSC2046 and typical application circuit are also discussed.

    标签: C8051F020 触摸屏 驱动控制

    上传时间: 2014-12-27

    上传用户:hwl453472107

  • 基于AT89S52的汉字显示屏的设计

    介绍了一种基于AT89S52微处理器、键控显示模式、多汉字显示的显示模块设计方法。对AT89S52的内部功能及使用高128字节RAM时的寻址方式进行说明。给出了四汉字显示模块的硬件电路原理图、主程序流程图以及中断显示流程图。 Abstract:  The design method of display module base on the AT89S52 microcontroller,display mode controlled by keyboard and? showing several Chinese characterses are introduced in the paper.The internal function and the addressing mode for the high 128B RAM of the AT89S52 are explained.The basic circuit diagram,the main program flow chart and the display INTERRUPT flow chart of four Chinese characterses display module are also given.

    标签: 89S S52 AT 89

    上传时间: 2014-01-23

    上传用户:咔乐坞

  • 基于51单片机的作息号音自动播放器设计

     利用AT89C51型单片机定时和中断功能,配以LM386型音频功率放大器,构成了作息号音自动播放器,为学校和机关管理提供方便。 Abstract:  Using timing and INTERRUPT function of the AT89C51 single-chip microcomputer and the LM386 audio power amplifier.It is constituted the automatic bugle player.This player facilitates the institution and the school daily management.

    标签: 51单片机 自动 播放器

    上传时间: 2013-10-10

    上传用户:wivai

  • AT89C2051驱动步进电机的电路和源码

    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 */ } }

    标签: C2051 2051 89C AT

    上传时间: 2013-11-21

    上传用户:boyaboy

  • PCA9537 4bit I2C bus and SMBus

    The PCA9537 is a 10-pin CMOS device that provides 4 bits of General Purpose parallelInput/Output (GPIO) expansion with INTERRUPT and reset for I2C-bus/SMBus applicationsand was developed to enhance the NXP Semiconductors family of I2C-bus I/O expanders.I/O expanders provide a simple solution when additional I/O is needed for ACPI powerswitches, sensors, push-buttons, LEDs, fans, etc.

    标签: SMBus 9537 4bit PCA

    上传时间: 2013-10-14

    上传用户:wuchunzhong

  • PCA9538 8bit I2C bus and SMBus

    The PCA9538 is a 16-pin CMOS device that provides 8 bits of General Purpose parallelInput/Output (GPIO) expansion with INTERRUPT and reset for I2C-bus/SMBus applicationsand was developed to enhance the NXP Semiconductors family of I2C-bus I/O expanders.I/O expanders provide a simple solution when additional I/O is needed for ACPI powerswitches, sensors, push-buttons, LEDs, fans, etc.

    标签: SMBus 9538 8bit PCA

    上传时间: 2014-01-24

    上传用户:youmo81