針對(duì)目前使用的RS232接口數(shù)字化B超鍵盤存在PC主機(jī)啟動(dòng)時(shí)不能設(shè)置BIOS,提出一種PS2鍵盤的設(shè)計(jì)方法。基于W78E052D單片機(jī),采用8通道串行A/D轉(zhuǎn)換器設(shè)計(jì)了8個(gè)TGC電位器信息采集電路,電位器位置信息以鍵盤掃描碼序列形式發(fā)送,正交編碼器信號(hào)通過(guò)XC9536XL轉(zhuǎn)換為單片機(jī)可接收的中斷信號(hào),軟件接收到中斷信息后等效處理成按鍵。結(jié)果表明,在滿足開(kāi)機(jī)可設(shè)置BIOS同時(shí),又可實(shí)現(xiàn)超聲特有功能,不需要專門設(shè)計(jì)驅(qū)動(dòng)程序,接口簡(jiǎn)單,成本低。
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.
設(shè)計(jì)一種基于AT89C52的語(yǔ)音錄放系統(tǒng),利用單片機(jī)、ISD2560語(yǔ)音錄放器件、麥克風(fēng)、揚(yáng)聲器等元器件實(shí)現(xiàn)硬件電路的設(shè)計(jì),并利用C51高級(jí)語(yǔ)言設(shè)計(jì)ISD2560器件控制字的寫入和定時(shí)中斷程序。經(jīng)軟硬件調(diào)試,結(jié)果表明該系統(tǒng)錄放效果良好,具有一定的工程實(shí)用價(jià)值。
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.
介紹基于ISA總線與KH-9300的數(shù)據(jù)采集板卡的設(shè)置,詳細(xì)說(shuō)明8254定時(shí)計(jì)數(shù)器及8259中斷控制器的結(jié)構(gòu)特點(diǎn)、工作方式、控制字等,探討中斷類型、中斷處理程序、中斷矢量表及其填寫。重點(diǎn)講述使用TorboC編寫中斷服務(wù)程序的方法,應(yīng)注意的主要問(wèn)題及程序測(cè)試的結(jié)果。
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.
在開(kāi)放式數(shù)控系統(tǒng)結(jié)構(gòu)模型的基礎(chǔ)上,研究了基于ISA總線的DSP通信控制原理。采用中斷方式完成了PC機(jī)和DSP之間的通信。介紹了以DriverWorks為工具開(kāi)發(fā)ISA設(shè)備WDM驅(qū)動(dòng)程序的方法,探討了中斷處理、驅(qū)動(dòng)程序與應(yīng)用程序之間的通信,簡(jiǎn)要說(shuō)明了驅(qū)動(dòng)程序的安裝與調(diào)試。通過(guò)調(diào)試,系統(tǒng)設(shè)計(jì)運(yùn)行穩(wěn)定。
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.
C8051F020單片機(jī)通過(guò)SPI接口驅(qū)動(dòng)四線電阻式觸摸屏控制器TSC2046,利用中斷方式驅(qū)動(dòng)TSC2046設(shè)計(jì)軟件。介紹了觸摸屏的工作原理、TSC2046工作方式以及典型應(yīng)用電路。
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.
介紹了一種基于AT89S52微處理器、鍵控顯示模式、多漢字顯示的顯示模塊設(shè)計(jì)方法。對(duì)AT89S52的內(nèi)部功能及使用高128字節(jié)RAM時(shí)的尋址方式進(jìn)行說(shuō)明。給出了四漢字顯示模塊的硬件電路原理圖、主程序流程圖以及中斷顯示流程圖。
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.
利用AT89C51型單片機(jī)定時(shí)和中斷功能,配以LM386型音頻功率放大器,構(gòu)成了作息號(hào)音自動(dòng)播放器,為學(xué)校和機(jī)關(guān)管理提供方便。
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.
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.
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.