利用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.
上傳時間: 2014-01-10
上傳用戶:咔樂塢
在需要實時大量輸入漢字的顯示控制處理應用中,利用傳統單片機實現顯示控制的設計方法是較難實現的。帶漢字字庫的液晶模塊的使用使得小容量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.
上傳時間: 2013-11-19
上傳用戶:jhksyghr
基于AT89C52單片機的步進電機控制系統設計 摘 要: 提出了一個由AT89C52單片機控制步進電機的實例。可以通過鍵盤輸入相關數據, 并根據需要, 實時對步進電機工作方式進行設置, 具有實時性和交互性的特點。該系統可應用于步進電機控制的大多數場合。實踐表明, 系統性能優于傳統的步進電機控制器。 關鍵詞: 單片機; 步進電動機; 直流固態繼電器; 實時控制 ABSTRACT: A stepp ing motor control system based on AT89C52 chip microcomputer was described.The data can be inputwith KeyboaRD, and stepp ingmotorwas controlled by these data. According to the demand, users can set the workingmodel of stepp ingmotor in real2time. This system can be widely used in stepp ing motor controlling. The p ractice showed that the performance of this system outdid the tradi-tional stepp ing motor controller.
上傳時間: 2013-11-22
上傳用戶:vodssv
提出了一個由AT89C52單片機控制步進電機的實例。可以通過鍵盤輸入相關數據, 并根據需要, 實時對步進電機工作方式進行設置, 具有實時性和交互性的特點。該系統可應用于步進電機控制的大多數場合。實踐表明, 系統性能優于傳統的步進電機控制器。關鍵詞: 單片機; 步進電動機; 直流固態繼電器; 實時控制Con trol System of Stepp ingMotor Ba sed on AT89C52 ChipM icrocomputerMENGWu2sheng, L ILiang (College of Automatization, Northwestern Polytechnical Unversity, Xipan 710072, China)ABSTRACT: A stepp ing motor control system based on AT89C52 chip microcomputer was described.The data can be inputwith KeyboaRD, and stepp ingmotorwas controlled by these data. According to the demand, users can set the workingmodel of stepp ingmotor in real2time. This system can be widely used in stepp ing motor controlling. The p ractice showed that the performance of this system outdid the tradi tional stepp ing motor controller.KEY WORDS: Chip microcomputer; Stepp ingmotor; DCSSR; Real2time control
標簽: Control System ingMot Stepp
上傳時間: 2013-11-19
上傳用戶:leesuper
The MC68HC05K0 is a low cost, low pin countsingle chip microcomputer with 504 bytes of userROM and 32 bytes of RAM. The MC68HC05K0 isa member of the 68HC05K series of devices whichare available in 16-pin DIL or SOIC packages.It uses the same CPU as the other devices in the68HC05 family and has the same instructions andregisters. Additionally, the device has a 15-stagemulti-function timer and 10 general purposebi-directional I/0 lines. A mask option is availablefor software programmable pull-downs on all ofthe I/O pins and four of the pins are capable ofgenerating interrupts.The device is ideally suited for remote-controlKeyboaRD applications because the pull-downs andthe interrupt drivers on the port pins allowKeyboaRDs to be built without any externalcomponents except the keys themselves. There isno need for external pull-up or pull-down resistors,or diodes for wired-OR interrupts, as these featuresare already designed into the device.
上傳時間: 2014-01-24
上傳用戶:zl5712176
對于Intel x86 PC , 開啟電源后, 機器就會開始執行ROM BIOS的一系列系統測試動作,包括檢查RAM,KeyboaRD,顯示器,軟硬磁盤等等。執行完bios 的系統測試之后,緊接著控制權會轉移給ROM 中的啟動程序(ROM bootstrap routine);這個程序會將磁盤上的第0軌第0 扇區(叫boot sector 或MBR ,系統的引導程序就放在此處)讀入內存中,并放到自0x07C0:0x0000 開始的512 個字節處.
上傳時間: 2014-12-30
上傳用戶:pei5
Writing an Input Module The sample module introduced here is called idiom (Input Device for Intercepting Output of Mice), The sample module registers itself with the USB kernel subsystem as a mouse driver and with the input management subsystem as a KeyboaRD driver. idiom translates mouse movement events into KeyboaRD input events: it reports arrow events to the input system according to how the physical mouse is moved.
標簽: Input introduced Writing Device
上傳時間: 2015-06-25
上傳用戶:731140412
MSimulator是windows下的arm模擬器,可以模擬出nand flash,serial port,touch LCD,KeyboaRD,等
標簽: MSimulator windows arm 模擬
上傳時間: 2014-01-23
上傳用戶:13517191407
This the compressed USB driver source code for vxworks5.6. It has device controller driver and other KeyboaRD, mass storage class driver also.
標簽: driver compressed controller vxworks
上傳時間: 2014-12-06
上傳用戶:xjz632
SMC1602A(16*2)模擬口線接線方式 連接線圖: --------------------------------------------------- |LCM-----51 | LCM-----51 | LCM------51 | --------------------------------------------------| |DB0-----P0.0 | DB4-----P0.4 | RW-------P2.5 | |DB1-----P0.1 | DB5-----P0.5 | RS-------P2.6 | |DB2-----P0.2 | DB6-----P0.6 | E--------P2.7 | |DB3-----P0.3 | DB7-----P0.7 | VLCD接1K電阻到GND| --------------------------------------------------- KeyboaRD接線 PS/2--------51 1 DATA------P3.4 3 GND 4 VCC 5 CLK-------P3.3 接在51的外部中斷,觸發方式為低電平 本程序源碼只供學習參考,不得應用于商業用途,如有需要請聯系作者。
上傳時間: 2014-01-05
上傳用戶:gaojiao1999