利用Atmel公司的ATmega168微處理器,采用A/D轉(zhuǎn)換方式來實現(xiàn)按摩椅控制器的鍵盤接口,通過在硬件電路中巧妙地選擇電阻,在軟件設(shè)計中采用數(shù)字濾波、二分法和區(qū)間鑒定等方法,靈敏可靠地實現(xiàn)了按摩椅中30個按鍵的處理。給出了硬件電路設(shè)計和軟件設(shè)計思想以及部分匯編代碼。 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
上傳用戶:咔樂塢
在需要實時大量輸入漢字的顯示控制處理應(yīng)用中,利用傳統(tǒng)單片機(jī)實現(xiàn)顯示控制的設(shè)計方法是較難實現(xiàn)的。帶漢字字庫的液晶模塊的使用使得小容量ROM單片機(jī)的大量漢字信息輸入與顯示成為可能。提出了針對漢字字庫編碼的二級索引拼音輸入檢索方法,介紹了以ST7920作為控制器的帶漢字字庫的液晶顯示模塊的接口方法及漢字顯示和控制原理,給出了通用計算機(jī)鍵盤在單片機(jī)中的串行接口,采用該技術(shù)可大大增強(qiáng)單片機(jī)的漢字輸入功能。為小容量ROM單片機(jī)的大批量漢字信息處理提供了一種漢字輸入解決方案。 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單片機(jī)的步進(jìn)電機(jī)控制系統(tǒng)設(shè)計 摘 要: 提出了一個由AT89C52單片機(jī)控制步進(jìn)電機(jī)的實例??梢酝ㄟ^鍵盤輸入相關(guān)數(shù)據(jù), 并根據(jù)需要, 實時對步進(jìn)電機(jī)工作方式進(jìn)行設(shè)置, 具有實時性和交互性的特點。該系統(tǒng)可應(yīng)用于步進(jìn)電機(jī)控制的大多數(shù)場合。實踐表明, 系統(tǒng)性能優(yōu)于傳統(tǒng)的步進(jìn)電機(jī)控制器。 關(guān)鍵詞: 單片機(jī); 步進(jìn)電動機(jī); 直流固態(tài)繼電器; 實時控制 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單片機(jī)控制步進(jìn)電機(jī)的實例。可以通過鍵盤輸入相關(guān)數(shù)據(jù), 并根據(jù)需要, 實時對步進(jìn)電機(jī)工作方式進(jìn)行設(shè)置, 具有實時性和交互性的特點。該系統(tǒng)可應(yīng)用于步進(jìn)電機(jī)控制的大多數(shù)場合。實踐表明, 系統(tǒng)性能優(yōu)于傳統(tǒng)的步進(jìn)電機(jī)控制器。關(guān)鍵詞: 單片機(jī); 步進(jìn)電動機(jī); 直流固態(tài)繼電器; 實時控制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
標(biāo)簽: 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.
標(biāo)簽: Infra-red Remote Cont 05K
上傳時間: 2014-01-24
上傳用戶:zl5712176
對于Intel x86 PC , 開啟電源后, 機(jī)器就會開始執(zhí)行ROM BIOS的一系列系統(tǒng)測試動作,包括檢查RAM,KeyBoard,顯示器,軟硬磁盤等等。執(zhí)行完bios 的系統(tǒng)測試之后,緊接著控制權(quán)會轉(zhuǎn)移給ROM 中的啟動程序(ROM bootstrap routine);這個程序會將磁盤上的第0軌第0 扇區(qū)(叫boot sector 或MBR ,系統(tǒng)的引導(dǎo)程序就放在此處)讀入內(nèi)存中,并放到自0x07C0:0x0000 開始的512 個字節(jié)處.
上傳時間: 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.
標(biāo)簽: Input introduced Writing Device
上傳時間: 2015-06-25
上傳用戶:731140412
MSimulator是windows下的arm模擬器,可以模擬出nand flash,serial port,touch LCD,KeyBoard,等
標(biāo)簽: 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.
標(biāo)簽: 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的外部中斷,觸發(fā)方式為低電平 本程序源碼只供學(xué)習(xí)參考,不得應(yīng)用于商業(yè)用途,如有需要請聯(lián)系作者。
上傳時間: 2014-01-05
上傳用戶:gaojiao1999
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1