具備處理外部模擬信號功能是很多電子設備的基本要求。為了將模擬信號轉換為數字信 號,就需要藉助A/D 轉換器。將A/D 功能和MCU 整合在一起,就可減少電路的元件數量和 電路板的空間使用。 HT45F23 微控制器內建6 通道,12 位解析度的A/D 轉換器。在本應用說明中,將介紹如何 使用HT45F23 微控制器的A/D 功能。
上傳時間: 2013-10-27
上傳用戶:nostopper
剛剛入門,希望交更多朋友。
上傳時間: 2014-12-26
上傳用戶:xja31415
這是本人改編的飲料機 想要源碼的多多聯系哦 不為別的 只是想多交學友 QQ:873117351
標簽:
上傳時間: 2014-12-26
上傳用戶:ttpay
該應用報告描述了旋轉檢測器的實現,該旋轉檢測器使用一對可檢測磁場的巨磁阻GMR(Giant Magneto-Resistive,)傳感器。傳感器的分布使它們不使用正交信號序列,這提供了討論非正交情況如何配置SIF的機會。討論了調試SIF應用程序的技術,提供了一個設計非正交進程狀態機(processing state machines)的工具。
上傳時間: 2013-10-21
上傳用戶:sammi
針對目前使用的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.
上傳時間: 2013-10-10
上傳用戶:asdfasdfd
針對材料試驗機等設備中要求測量或控制材料拉伸或壓縮的位移,一般采用光電軸角編碼器檢測位置信號,輸出正交編碼脈沖信號。若采用其他方法檢測位置信號,必然導致電路設計復雜,可靠性降低。因此,提出一種基于LS7266R1的電子式萬能材料試驗機設計方案。給出了試驗機中的控制器工作原理,LS7266R1與單片機的接口硬件設計,以及主程序軟件流程圖。巧妙地把力量傳感器,位移傳感器等機械運動狀態的壓力或拉力以及位置坐標,變成了電壓信號和電脈沖數字信號,供A/D測量和LS7266R1計數,從而實現了獨立完成材料試驗控制或通過PC機串口命令完成材料試驗控制。 Abstract: Aiming at the requirement that the displacement of the tension and compression always be tested and controlled in the equipement such as material testing machine. The position signal was tested by photoelectric axial angle coder. Therefore, the paper proposes the design of electronic universal testing machine design based on LS7266R1. If the position signal detected by other methods, will inevitably lead to the circuit design complexity, reliability decreased. The work theory of the controller, the hardware interface design between LS7266R1 and single chip, and the flow chart of main program, are presented in this paper. The signal of the compression or tension power and displacement at working, which tested by power sensor and displacement sensor especially, is changed into electric voltage and electric pulse numerical signals. And these signals can be tested by A/D and counted by LS7266R1. Finally the test of the material properties can be controlled by itself, or controlled by the COM command of PC.
上傳時間: 2013-11-02
上傳用戶:yl1140vista
第一章 序論……………………………………………………………6 1- 1 研究動機…………………………………………………………..7 1- 2 專題目標…………………………………………………………..8 1- 3 工作流程…………………………………………………………..9 1- 4 開發環境與設備…………………………………………………10 第二章 德州儀器OMAP 開發套件…………………………………10 2- 1 OMAP介紹………………………………………………………10 2-1.1 OMAP是什麼?…….………………………………….…10 2-1.2 DSP的優點……………………………………………....11 2- 2 OMAP Architecture介紹………………………………………...12 2-2-1 OMAP1510 硬體架構………………………………….…12 2-2.2 OMAP1510軟體架構……………………………………...12 2-2.3 DSP / BIOS Bridge簡述…………………………………...13 2- 3 TI Innovator套件 -- OMAP1510 ……………………………..14 2-2.1 General Purpose processor -- ARM925T………………...14 2-2.2 DSP processor -- TMS320C55x …………………………15 2-2.3 IDE Tool – CCS …………………………………………15 2-2.4 Peripheral ………………………………………………..16 第三章 在OMAP1510上建構Embedded Linux System…………….17 3- 1 嵌入式工具………………………………………………………17 3-1.1 嵌入式程式開發與一般程式開發之不同………….….17 3-1.2 Cross Compiling的GNU工具程式……………………18 3-1.3 建立ARM-Linux Cross-Compiling 工具程式………...19 3-1.4 Serial Communication Program………………………...20 3- 2 Porting kernel………………………………………………….…21 3-2.1 Setup CCS ………………………………………….…..21 3-2.2 編譯及上傳Loader…………………………………..…23 3-2.3 編譯及上傳Kernel…………………………………..…24 3- 3 建構Root File System………………………………………..…..26 3-3.1 Flash ROM……………………………………………...26 3-3.2 NFS mounting…………………………………………..27 3-3.3 支援NFS Mounting 的kernel…………………………..27 3-3.4 提供NFS Mounting Service……………………………29 3-3.5 DHCP Server……………………………………………31 3-3.6 Linux root 檔案系統……………………………….…..32 3- 4 啟動及測試Innovator音效裝置…………………………..…….33 3- 5 建構支援DSP processor的環境…………………………...……34 3-5.1 Solution -- DSP Gateway簡介……………………..…34 3-5.2 DSP Gateway運作架構…………………………..…..35 3- 6 架設DSP Gateway………………………………………….…36 3-6.1 重編kernel……………………………………………...36 3-6.2 DEVFS driver…………………………………….……..36 3-6.3 編譯DSP tool和API……………………………..…….37 3-6.4 測試……………………………………………….…….37 第四章 MP3 Player……………………………………………….…..38 4- 1 MP3 介紹………………………………………………….…….38 4- 2 MP3 壓縮原理……………………………………………….….39 4- 3 Linux MP3 player – splay………………………………….…….41 4.3-1 splay介紹…………………………………………….…..41 4.3-2 splay 編譯………………………………………….…….41 4.3-3 splay 的使用說明………………………………….……41 第五章 程式改寫………………………………………………...…...42 5-1 程式評估與改寫………………………………………………...…42 5-1.1 Inter-Processor Communication Scheme…………….....42 5-1.2 ARM part programming……………………………..…42 5-1.3 DSP part programming………………………………....42 5-2 程式碼………………………………………………………..……43 5-3 雙處理器程式開發注意事項…………………………………...…47 第六章 效能評估與討論……………………………………………48 6-1 速度……………………………………………………………...48 6-2 CPU負載………………………………………………………..49 6-3 討論……………………………………………………………...49 6-3.1分工處理的經濟效益………………………………...49 6-3.2音質v.s 浮點與定點運算………………………..…..49 6-3.3 DSP Gateway架構的限制………………………….…50 6-3.4減少IO溝通……………….………………………….50 6-3.5網路掛載File System的Delay…………………..……51 第七章 結論心得…
上傳時間: 2013-10-14
上傳用戶:a471778
導言本書的對象主要是希望從事單片機軟件開發的人員,當然不是只限于這些人員才可以看,只要你有興趣,哪怕你想成為一名炒菜的大師傅或者已經是大師傅,我一樣歡迎你來閱讀本書。 當我還是后生仔的時候,雖然也常做一些某年某月自己能呼風喚雨或腰纏萬貫的白日夢,在內心還是想能去傳道授業,哪怕是當個大和尚,面對虛心而來請教的人眾,該是何等愜意的事情。然而天生不善言辭,更是拙于筆墨,擔心誤了他人前程而作罷。 可謂江山易改、本性難移,雖然沒去當成大和尚,可時不時還想起這個愿望。一天看到臺灣侯捷(侯俊杰)寫的《深入淺出MFC》,在我看來這書寫得那叫一個好,如果我也能寫出這樣的書簡直是太偉大了。
標簽: 單片機
上傳時間: 2013-10-24
上傳用戶:kqc13037348641
特性1、8位高性能單片機作為主控制芯片,64K程序存儲器,也可以用來保存數據,斷電數據不丟失;2、工作電源:交直流通用,12V交流電或12V直流電均可,標準功率為10W;3、16路光電隔離數字量輸入,NPN輸入形式,每路輸入點的最大輸入電壓:30V,最大輸入電流:10mA;其中有兩路可作中斷源用于計數;4、12路繼電器隔離輸出,最大輸出電壓為220V,最大輸出電流為5A,輸出口狀態可回讀;5、系統采用光電隔離和啟用內部看門狗及嚴格的高頻濾除特性,使系統工作穩定可靠,無死機現象;是工業級高可靠單片機控制器;6、有兩盞LED燈顯示工作狀態,LED燈和撥碼開關是復用的,也可用來設置兩個參數;7、有1路標準的RS232串行通信接口(抗15KV靜電沖擊),可直接與電腦通信;可通過RS232接口與JMDM系列單片機控制器擴展I/O點,如JMDM-10AIO10DIO、JMDM-2011、JMDM-1830等。8、可直接通過RS232接口下載程序,無需燒錄器,方便程序修改、升級;9、緊湊型(適合任何尺寸的機箱),PCB尺寸:155mm*110mm;安裝孔尺寸:148mm*73mm;10、用KeilC或匯編編程,用戶編程有困難的,可把工藝流程發給我司,我們公司可代為編程。
上傳時間: 2013-10-15
上傳用戶:lbbyxmoran
介紹一種以AT89C51單片機為核心器件,采用晶閘管實現交一交變頻的無環流靜止進相器。論述了這種靜止進相器的硬件結構,I:作原理,補償方法。這種進相器進相補償效果明顯,具有很好的實用價值。
上傳時間: 2013-11-23
上傳用戶:leixinzhuo