針對目前使用的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.
PCB LAYOUT技術大全---初學者必看!
PROTEL相關疑問
1.原理圖常見錯誤:
(1)ERC報告管腳沒有接入信號:
a. 創建封裝時給管腳定義了I/O屬性;
b.創建元件或放置元件時修改了不一致的grid屬性,管腳與線沒有連上;
c. 創建元件時pin方向反向,必須非pin name端連線。
(2)元件跑到圖紙界外:沒有在元件庫圖表紙中心創建元件。
(3)創建的工程文件網絡表只能部分調入pcb:生成netlist時沒有選擇為global。
(4)當使用自己創建的多部分組成的元件時,千萬不要使用annotate.
2.PCB中常見錯誤:
(1)網絡載入時報告NODE沒有找到:
a. 原理圖中的元件使用了pcb庫中沒有的封裝;
b. 原理圖中的元件使用了pcb庫中名稱不一致的封裝;
c. 原理圖中的元件使用了pcb庫中pin number不一致的封裝。如三極管:sch中pin number 為e,b,c, 而pcb中為1,2,3。