針對(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)通過XC9536XL轉(zhuǎn)換為單片機(jī)可接收的中斷信號(hào),軟件接收到中斷信息后等效處理成按鍵。結(jié)果表明,在滿足開機(jī)可設(shè)置BIOS同時(shí),又可實(shí)現(xiàn)超聲特有功能,不需要專門設(shè)計(jì)驅(qū)動(dòng)程序,接口簡單,成本低。 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.
標(biāo)簽: 單片機(jī) B超 數(shù)字化 鍵盤設(shè)計(jì)
上傳時(shí)間: 2013-10-10
上傳用戶:asdfasdfd
附件有51單片機(jī)加上sl811讀寫U盤的源程序和原理圖 /*--------------------------------------------------------------------------AT89X52.H Header file for the low voltage Flash Atmel AT89C52 and AT89LV52.Copyright (c) 1995-1996 Keil Software, Inc. All rights reserved.--------------------------------------------------------------------------*/ #ifndef AT89X52_HEADER_FILE#define AT89X52_HEADER_FILE 1 /*------------------------------------------------Byte Registers------------------------------------------------*/sfr P0 = 0x80;sfr SP = 0x81;sfr DPL = 0x82;sfr DPH = 0x83;sfr PCON = 0x87;sfr TCON = 0x88;sfr TMOD = 0x89;sfr TL0 = 0x8A;sfr TL1 = 0x8B;sfr TH0 = 0x8C;sfr TH1 = 0x8D;sfr P1 = 0x90;sfr SCON = 0x98;sfr SBUF = 0x99;sfr P2 = 0xA0;sfr IE = 0xA8;sfr P3 = 0xB0;sfr IP = 0xB8;sfr T2CON = 0xC8;sfr T2MOD = 0xC9;sfr RCAP2L = 0xCA;sfr RCAP2H = 0xCB;sfr TL2 = 0xCC;sfr TH2 = 0xCD;sfr PSW = 0xD0;sfr ACC = 0xE0;sfr B = 0xF0;
標(biāo)簽: 51單片機(jī) 讀寫 源程序 原理圖
上傳時(shí)間: 2014-01-05
上傳用戶:lnnn30
TKS仿真器B系列快速入門
上傳時(shí)間: 2013-10-31
上傳用戶:aix008
一個(gè)簡單好用的B+樹算法實(shí)現(xiàn)
上傳時(shí)間: 2015-01-04
上傳用戶:縹緲
一個(gè)用Basic實(shí)現(xiàn)的B-Tree算法
上傳時(shí)間: 2013-12-30
上傳用戶:ccclll
一個(gè)用Java applet實(shí)現(xiàn)的B-Tree算法
標(biāo)簽: B-Tree applet Java 算法
上傳時(shí)間: 2013-12-25
上傳用戶:qiao8960
用C++實(shí)現(xiàn)的B-Tree算法
上傳時(shí)間: 2014-01-20
上傳用戶:jiahao131
用Borland C寫的B-Tree算法
上傳時(shí)間: 2014-12-05
上傳用戶:xzt
Award BIOS(Basic Input/Output System)(電腦啟動(dòng)時(shí)所必需)的源碼
標(biāo)簽: Output System Award Basic
上傳時(shí)間: 2014-01-04
上傳用戶:ecooo
《3D Engine Design》的隨書源代碼,包含完整的3D引擎的源代碼
上傳時(shí)間: 2015-01-05
上傳用戶:libinxny
蟲蟲下載站版權(quán)所有 京ICP備2021023401號(hào)-1