新穎實用的單片機(jī)雙積分A/D轉(zhuǎn)換電路和軟件:摘 要: 通過對雙積分A/ D 轉(zhuǎn)換過程及其原理的分析,結(jié)合8031 單片機(jī)定時計數(shù)器的特點,設(shè)計出一種新的A/ D 轉(zhuǎn)換電路. 詳細(xì)介紹了這種轉(zhuǎn)換電路的硬件原理及工作過程,給出了實用的硬件電路與軟件設(shè)計框圖. 通過比較分析,可以看出這種A/ D 轉(zhuǎn)換電路性能價格比較高,軟件編程簡單,并且轉(zhuǎn)換速度和精度優(yōu)于一般的A/ D 轉(zhuǎn)換電路. 這種設(shè)計思路為數(shù)模轉(zhuǎn)換器(A/ D) 的升級提高指出一個明確的方向.關(guān)鍵詞:單片機(jī); 定時/ 計數(shù)器; A/ D 轉(zhuǎn)換; 雙積分
雙積分A/ D 及定時計數(shù)器原理:我們先分析雙積分A/ D 轉(zhuǎn)換的工作原理. 如圖1 所示,積分器先以固定時間T 對待測的輸入模擬電壓Vi 進(jìn)行正向積分,積分電容C 積累的電荷為
單片機(jī)ad轉(zhuǎn)換電路:通過對雙積分A/ D 轉(zhuǎn)換過程及其原理的分析,結(jié)合8031 單片機(jī)定時計數(shù)器的特點,設(shè)計出一種新的A/ D 轉(zhuǎn)換電路. 詳細(xì)介紹了這種轉(zhuǎn)換電路的硬件原理及工作過程,給出了實用的硬件電路與軟件設(shè)計框圖. 通過比較分析,可以看出這種A/ D 轉(zhuǎn)換電路性能價格比較高,軟件編程簡單,并且轉(zhuǎn)換速度和精度優(yōu)于一般的A/ D 轉(zhuǎn)換電路. 這種設(shè)計思路為數(shù)模轉(zhuǎn)換器(A/ D) 的升級提高指出一個明確的方向.關(guān)鍵詞:單片機(jī); 定時/ 計數(shù)器; A/ D 轉(zhuǎn)換; 雙積分
CAN與RS232轉(zhuǎn)換節(jié)點的設(shè)計與實現(xiàn)
介紹將CAN總線接口與RS232總線接口相互轉(zhuǎn)換的設(shè)計方法和2種總線電平轉(zhuǎn)換關(guān)系,實現(xiàn)CAN總線與各模塊的接口設(shè)計,制定了相應(yīng)的軟硬件設(shè)計方案,并給出軟件設(shè)計流程圖以及部分硬件設(shè)計原理圖。為CAN總線與RS232總線互聯(lián)提供了一種方法,對CAN總線與RS232總線接口設(shè)備的互聯(lián)和廣泛應(yīng)用的實現(xiàn)具有重要意義。關(guān)鍵詞:CAN總線;RS-232總線;串行通信Design and Realization of CAN and RS232 Transformation NodeZHOU Wei, CHENG Xiao-hong(Information Institute, Wuhan University of Technology, Wuhan 430070)【Abstract】This paper introduces one design method of the CAN bus interface and the RS232 bus interface interconversion, emphasizes two kindof bus level transformation relations, realizes the CAN bus and various modules connection design, formulates the design proposal of correspondingsoftware and hardware, and gives the flow chart of software design as well as the partial schematic diagram of hardware design. It providesonemethod for the CAN bus and the RS232 bus interconnection, has the vital significance to widespread application realization of the CAN busand theRS232 bus interface equipment interconnection.【Key words】CAN bus; RS-232 bus; serial communication