為解決當前計算機串行通訊接口只有USB,難以滿足舊型號設備或某些單片機要求RS232通訊的問題,設計出兩款RS232/USB電路。采用CH341A與MAX223集成電路芯片構建標準9線RS232/USB通用接口轉換器,無需編程。采用CH341A與PIC16F877A構建單片機與計算機之間的USB通訊電路,軟件遵循RS232通訊協(xié)議,硬件進行電平轉換。實際使用表明,這兩款產(chǎn)品與計算機端Windows 操作系統(tǒng)下的串口應用程序完全兼容,且通訊過程中無握手失敗現(xiàn)象。 Abstract: To solve the problem that current computer serial communication only with USB interface can not satisfy with the old type equipments or MCU to communicate with RS232, two kinds of RS232/USB circuit were designed.CH341A and MAX223 integrated circuit chips were used to create a standard 9-line RS232/USB universal interface convertor without programme. CH341A and PIC16F877A chips were adopted to build the USB communication circuit between computers and MCU. The software follows RS232 communication protocol, and the hardware converts electrical levels. Actual practices indicate that the two manufactures are compatible with serial application program of Windows operation system completely,and get avoid of handshake lost.
上傳時間: 2013-11-03
上傳用戶:siying
摘要:在調研大量專利文獻的基礎上,結合專利的保護范圍分析、專利權人分析、對比分析和引證分析,探尋了第一件微處理器(CPU功能集成在一塊半導體芯片上)發(fā)明,簡述了第一臺單片機(MCU)和DSP處理器專利,從微處理器初期三大發(fā)展方向CPU、MCU、DSP角度闡述了微處理器的早期發(fā)展歷程。 關鍵詞:專利文獻;微處理器;單片機;DSP
上傳時間: 2014-07-09
上傳用戶:solmonfu
美國TI公司的MSP430系列單片機可以分為以下幾個系列:X1XX,X3XX,X4XX等等,而且在不斷發(fā)展,從存儲器角度,又可分為ROM(C型)、OTP(P型)、EPROM(E型)、FlashMemory(F型)。系列的全部成員均為軟件兼容,可以方便地在系列各型號間移植。MSP430系列單片機的MCU設計成適合各種應用的16位結構。它采用“馮-紐曼結構”因此,RAM、ROM和全部外圍模塊都位于同一個地址空間內。
上傳時間: 2013-11-22
上傳用戶:199311
Holtek 單片機有一個間接尋址寄存器R0([00H])(有的單片機有兩個間接尋址寄存器 R0([00H]),R1([02H]),例如HT48R50A-1 和HT48R70A-1),MP0(MP1)為指向R0(R1) 的指針。任何對R0(R1)的操作實際上都是對MP0(MP1)所指向的地址進行操作的,也 就是說對R0(R1)作讀寫實際上是對MP0(MP1)所指向的地址進行讀寫。
上傳時間: 2013-11-16
上傳用戶:yuanwenjiao
生活中許多目標的高度和水平距離需要進行測量。目前主要的測量方法,仍以傳統(tǒng)的皮尺丈量為主,測量效率不高,有時還很不方便,沒有技術成熟的數(shù)字式測高測距產(chǎn)品。以基本的數(shù)學方法為理論依據(jù),利用遙控小車做為載體,采用角度傳感器測量角度、霍爾傳感器測量水平距離等,通過單片機LM3S615進行數(shù)據(jù)計算,實現(xiàn)了對待測目標物體的高度、水平距離等數(shù)據(jù)的快速、精確和數(shù)字式的測量,高度測量精度可達99.06%,水平測量精度則可達98.06%。 Abstract: In our lives, the height and horizontal distance of some goals are needed to be measured. Because the currently used methods are still traditional tape-based measuring methods, and the measuring efficiency is low and inconvenient so some kinds of digital and portable measuring methods or instruments are needed. Based on the basic math theory, this paper designed and manufactured a portable, digital and remote controlled measuring mobile small vehicle, which assembled with angle measuring sensor for angle measurement and Hall sensor for horizontal distance measuring. MCU LM3S615 calculated the height and horizontal distance data gotten from these sensors. The measuring process is simple, the measuring results are more accurate and the measuring efficiency is higher than traditional measure instruments. The accuracy of height and distance measurement can reach 99.06% and 98.06%.
上傳時間: 2013-10-30
上傳用戶:jackandlee
提出一種基于凌陽單片機的步進電機加減速的控制方法。采用凌陽科技推出的16位結構工控單片機SPMC75F2413A為控制器,由Allegro公司生產(chǎn)的兩相步進電機專用驅動器件SLA7042M構成步進電機的驅動電路,在傳統(tǒng)的3段直線加減速控制算法基礎上增加至7段S形曲線加減速過程,控制步進電機的啟動和停止。實驗結果表明,該控制方法克服了直線加減速中不連續(xù)、易造成系統(tǒng)沖擊的問題,整個系統(tǒng)實現(xiàn)柔性控制,電機啟動、停止連續(xù)性能提高30%。 Abstract: The method of controlled stepping motor is referred based on SPMC75F2413A MCU, which adopts the 16 knots SPMC75F2413A MCU as the controller. The special-purpose actuation chip SLA7042M of two stepping motor produced by Allegro Corporation constituted to actuation electric circuit. The purpose of increasing to seven section of S shape curve based on the traditional three sections of straight line is to control the start and stop process of stepping motor. The experimental results show that the control method solves easy to pull-out and overshot problems. The overall system realizes flexible control, and the performance of motor start or stop continuity is increased 30%
上傳時間: 2013-12-08
上傳用戶:jiangfire
在深入了解Flash存儲器的基礎上,采用單片機自動檢測存儲器無效塊。主要通過讀取每一塊的第1、第2頁內容,判斷該塊的好壞,并給出具體的實現(xiàn)過程,以及部分關鍵的電路原理圖和C語言程序代碼。該設計最終實現(xiàn)單片機自動檢測Flash壞塊的功能,并通過讀取ID號檢測Flash的性能,同時該設計能夠存儲和讀取1GB數(shù)據(jù)。 Abstract: On the basis of in-depth understanding the Flash chips,this paper designs a new program which using the SCM to detect the invalid block.Mainly through reading the data of the first and second page to detect the invalid block.Specific implementation procedure was given,and the key circuit schematic diagram and C language program code was introduced.This design achieved the function of using the MCU checks the invalid block finally,and increased the function by reading the ID number of Flash to get the performance of the memory.And the design also can write and read1GB data
上傳時間: 2013-10-25
上傳用戶:taozhihua1314
首先研究CAN總線和SAE J1939協(xié)議,提出一種基于MC9S12HZ256微控制器的總線式汽車數(shù)字儀表解決方案。詳細介紹SAE J1939協(xié)議的報文幀格式及應用層協(xié)議中發(fā)動機相關參數(shù)的定義,以及步進電機及其驅動和車速信號的處理方法。該數(shù)字儀表系統(tǒng)硬件平臺由微處理器和信號采集和信息處理及顯示等模塊組成。軟件設計部分編程實現(xiàn)了對CAN總線和各傳感器數(shù)據(jù)的讀取、處理。該系統(tǒng)能夠實時反映車輛工況。 Abstract: In this paper,CAN bus and SAE J1939protocol are researched,and a vehicle digital instrument solution based on MC9S12HZ256MCU is proposed.The message frame format and some engine-related parameters’definition in SAE J1939application layer protocol are introduced in detail.Stepper motor and its driver,the methods of speed signal process-ing are also introduced.The hardware platform of vehicle digital instrument is composed by MCU,signal acquisition mod-ule,and signal processing and displaying module.Data receiving and processing from CAN bus and sensors are accom-plished by programming,and vehicle condition can be reflected in real-time.
上傳時間: 2013-10-20
上傳用戶:huannan88
針對盤山路存在的轉彎盲區(qū),即在轉彎時司機無法得知彎路對面是否有車輛通過,設計一種基于C8051F310的山路轉彎預防警示系統(tǒng)。該系統(tǒng)利用一階濾波算法檢測山路轉彎時是否有車輛通過。運用該算法可增強系統(tǒng)檢測的實時性,提高檢測機動車輛的靈敏度,同時大大減少環(huán)境溫度對檢測的干擾。試驗表明該系統(tǒng)能夠正確指示出在山路轉彎時是否有車輛通過,目前該系統(tǒng)已安裝在盤山路上,可大大減少事故的發(fā)生率。 Abstract: Aiming at passing hilly road,there is a turn blind spot.Motormen usually do not know if the passing of vehicles pass the road.So a system of defending accident on hilly road is designed,which is based on MCU C8051F310.The sys-tem uses the first-order filter algorithm to detect whether there are passing vehicles.This algorithm enhances the real-time detection and improves the sensitivity of detection vehicles.Meanwhile,it reduces the detection interference of environmen-tal temperature.The experimental results show that this system can exactly indicate if there are passing vehicles.At present,the system has been successfully applied to hilly road.The system can greatly decrease accident.
上傳時間: 2013-10-10
上傳用戶:歸海惜雪
S3C8-SERIESMCU 三星的SAM8RC系列8位單片機向用戶提供了高效快速的CPU,豐富的外圍接口,以及各種大小的可編程ROM。 它的地址/數(shù)據(jù)總線結構和位可編程I/O口為用戶提供了一個靈活的編程環(huán)境,能夠滿足不同用戶對存儲器和I/O口的不同要求。同時,具有可選工作模式的Timer/Counters可支持實時操作。
上傳時間: 2014-07-12
上傳用戶:農(nóng)藥鋒6