實用單片機系統是基于MCU8051硬件平臺下開發的一款操作平臺,它不是一個操作系統,而是一個操作平臺,主要借鑒了操作系統、手機的一些概念,比如消息機制、系統時鐘、軟件定時器、平臺等概念。 實用單片機系統的核心理念是:在一個標準化的硬件基礎上(如8051,avr,arm等)擴展一個標準化的軟件平臺,把常規項目常用的一些功能如串口通訊、串口調試、系統定時器、軟件定時器、按鍵界面處理等通過消息機制組織起來,形成一個完整的系統。當一個特定的項目需要增加或者刪除一項具體的功能時,只需要在平臺上增加或者去掉相應的功能即可,這樣項目不需要每次重新構思架構,也不需要從零開始,并且原有的系統通過各個項目沉淀后,更加穩定可靠,這就是平臺的概念,它不是各個子函數的集合。 相對于現在的很多人把RTOS操作系統應用于MCU來說,往往只為了實現任務的調度轉換而不考慮功能的實用、易用性,此外因其較高的資源占用性導致其不適合在MCU類低資源的嵌入式平臺應用,MS系統相對于這些RTOS來說,首先還是保留了編程者的常規前后臺思維,但又加了一些RTOS的優點,如軟件定時器實現的時間片任務系統,類似RTOS的任務,其次為編程者實現了整個程序的框架和一些常用的函數及接口功能如按鍵、串口、時鐘等,讓編程者把精力放在跟項目相關的地方,甚至不需要關心所用MCU的寄存器配置,再次就是代碼非常簡單,容易學習,尤其是建議大家采用SourceInsight查看程序,遠比keil編輯器的功能強,它是C語言下最好的編輯器。而MS3.21版本,建議大家直接在Keil的軟件仿真器下運行學習。 MS資料可以從以下網址下載:http://www.study-bbs.com/thread-46471-1-1.html讀者有什么疑問也可以在這個版面提問,作者將盡力解釋。目前MS3.21版本增加了一個GUI操作框架,相比目前已有的GUI更加簡單易懂,利用一個函數指針代替了復雜的狀態機,每一個界面由一個界面建立函數和一個執行函數構成即可。
上傳時間: 2013-10-29
上傳用戶:txfyddz
詳細介紹工控軟件組態王與單片機多機串口通訊的設計原理。分析組態王提供的直接與單片機串口通信方法的優點,給出系統基于RS-485總線傳輸的接口電路原理圖。根據組態王提供的通訊協議和單片機多機串口通訊的原理,給出程序設計流程與思路。 Abstract: In this paper,the design principle of communication between multi-SCM and KingView by serial ports is described in detail.We analysis the advantage of method supplied by KingView,by which KingView can communicate with serial ports of SCM directly,and provide the system’s interface circuit based on the RS-485transmission line.We provide flow diagram of programming and thinking on the basis of communication protocol supplied by KingView and principle of communication among multi-SCM through serial ports.
上傳時間: 2013-12-19
上傳用戶:tecman
數字信號處理器dsPIC33F集多通道高精度A/D轉換、多通訊模式、看門狗、CMOS Flash技術等于一體,其內部可完成所有數據操作,實現總線不出芯片技術。將該處理器應用于微機保護裝置,提出基于dsPIC33F微處理器的微機保護裝置的設計方案,給出相應的接口電路與軟件流程。該設計方案結構簡單,性價比及可靠性高,開發周期短,具有一定的實用推廣價值。所研制的微機保護裝置現場運行效果良好。 Abstract: The dsPIC33F microprocessor has a plentiful interior resource which contains multi-channel,high precision A/D converters,multi-communication module,watchdog,CMOS Flash technology,and so on.All data manipulations is accomplished interiorly.What is more,it makes the technology that bus does not go beyond the chip comes into practice.The paper put forwards a design scheme based on dsPIC33F microprocessor.The scheme has the advantages of simple structure,high reliability and shortened exploitation cycle.What is more,it has definite practicality and reference.The microcomputer protection device has been put into operation with excellent effects.
上傳時間: 2013-11-16
上傳用戶:開懷常笑
以89S52單片機和EP1C6Q240C8型FPGA為控制核心的多功能計數器,是由峰值檢波、A/D轉換、程控放大、比較整形、移相網絡部分組成,可實現測量正弦信號的頻率、周期和相位差的功能。多功能計數器采用等精度的測量方法,可實現頻率為1Hz~10MHz、幅度為0.01~5Vrms的正弦信號的精確測頻,以及頻率為10Hz~100kHz、幅度為0.5~5Vrms的正弦信號精確測相。液晶顯示器能夠實時顯示當前信號的頻率、周期和相位差。該多功能計數器精度高,界面友好,實用性強。 Abstract: A multi-function counter,which uses89S52MCU and EP1C6Q240C8FPGA as a control core,consists of peak detector,A/D conversion,program-controlled amplification,compared shaping and phase-shifting network part.The counter measures the frequency,period and phase of sinusoidal signal.With the equal precision method,the multi-function counter achieves the precise frequency measurement of the sinusoidal signal which its frequency is from1Hz to10MHz,its amplitude is from0.01Vrms to5Vrms,as well as the accurate phase measurement of the sinusoidal signal which its frequency is from10Hz to100kHz,its amplitude is from0.5Vrms to5Vrms.The LCD monitor real-time displays the frequency,period and phase difference of current signal.The multi-function counter features high precision,friendly interface,and strong practical.
上傳時間: 2013-11-15
上傳用戶:gy592333
介紹了一種基于C8051F020單片機的多路壓力測量儀。該測量儀選用電阻應變式壓力傳感器采集壓力信號,并經放大電路處理后送入C8051F020單片機,再由C8051F020單片機內部的A/D轉換器將采集到的壓力信號進行模數轉化,然后分別對數據進行存儲和顯示。該測量儀能測量6路壓力信號,并且各測量點都能單獨檢測和設置。由于采用了C8051F020單片機,簡化了硬件電路,增強了抗干擾能力,使得測量儀具有測量精度高,沖擊小等特點。 Abstract: A measurement apparatus for multi-channel pressure based on single chip microcomputer is introduced.It can measure 6 channels signal of the pressure,and the pressure measure points can be detection and located individually.The pressure signal sampling is obtained by resistor stress-type pressure sensors,the digital signals of 6 channels are collected through amplifying and adjustment circuit of pressure signals and internal integrated A/D converter of MCU.Finally,and it realizes the function to store and display data separately.C8051F020 was used to made hardware circuit simple,and it also enhanced the anti-interference ability.It features high precision and little impact.
上傳時間: 2013-11-16
上傳用戶:yare
量測/測試所面臨之問題 此測試驗證上,要使用NI公司之LAB VIEW及DAQ CARD來取代AUDIO PRECISION及其所附軟體ATS。首先需克服硬體解析度上的差異,再來是FFT(FAST FOURIER TRANSFORM,快速傳立業轉換)演算未予的撰寫,這將會影響MULTI-TONE訊號上PEAK值的偵測。另外,以RS-232為I/O介面,并呼叫客戶所提供之DLL檔來與DUT內的IC溝通,但因LAB VIEW無法直接呼叫其STRUCTURE,故需用VC++再編譯一層新的DLL來供LAB VIEW使用。
上傳時間: 2013-12-13
上傳用戶:longlong12345678
針對當前安檢力學試驗機所能完成的試驗種類單一、自動化程度低等問題,提出一種以ATmega128單片機為核心控制器的安檢力學試驗機的設計。詳細闡述了該安檢力學試驗機各個組成部分的設計原理和方案,并且給出了各部分的軟件設計思想和操作流程。經過大量測試試驗表明:設計的安檢力學試驗機可以完成多達十余種的力學安檢試驗,完全符合相關國家標準,并且具有數據采集精度高、傳輸速度快、操作安全簡便等特點,實現了安檢設備的多功能化、數字化和自動化。 Abstract: Currently, many mechanical security testing machines have only one function. The degree of automation of them is low. To solve those problems, a new kind of mechanical security testing machine, using ATmega128 micro-controller as its core controller, has been advanced. It describes the components of the machine. The principles and the scheme in the designing processes are presented in detail, and the software architecture and the operation processes of each part are given. After having done many testing, we have reached the following conclusions: the mechanical security testing machine presented can do over ten mechanical security tests complying with related national standards. It has high data acquisition accuracy and high transmission speed. The operation of the machine is simple and safe. In general, this machine is a multi-functional, highly automatic, digitalized security testing device.
上傳時間: 2013-11-05
上傳用戶:a67818601
keil c51 v9.01此版不是漢化中文版,是英文版來的。ARM發布Keil μVision4集成開發環境(IDE),用來在微控制器和智能卡設備上創建、仿真和調試嵌入式應用。 μVision4 IDE是為增強開發人員的工作效率設計的,有了它可以更快速、更高效地開發和檢驗程序。通過μVision4 IDE中引入的靈活的窗口管理系統,開發人員可以使用多臺監視器,在可視界面任何地方全面控制窗口放置。 新用戶界面可以更好地利用屏幕空間,更有效地組織多個窗口,為開發應用提供整齊高效的環境。 μVision4在μVision3的成功經驗的基礎上增加了:* System Viewer (系統查看程序)窗口,提供了設備外圍寄存器信息,這些信息可以在System Viewer窗口內部直接更改。* Debug Restore Views (調試恢復視圖)允許保存多個窗口布局,為程序分析迅速選擇最適合的調試視圖。* Multi-Project Workspace(多項目工作空間)為處理多個并存的項目提供了簡化的方法,如引導加載程序和應用程序。* 為基于ARM Cortex 處理器的MCU提供了Data and instruction trace(數據和指令追蹤)功能。* 擴展了Device Simulation(設備仿真)功能以支持許多新設備,如Luminary、NXP和東芝生產的基于ARM Cortex-M3處理器的MCU;Atmel SAM7/9;及新的8051衍生品,如Infineon XC88x和SiLABS 8051Fxx。* 支持許多debug adapter interfaces(調試適配器接口),包括ADI miDAS Link、Atmel SAM-ICE、Infineon DAS和ST-Link。
上傳時間: 2013-10-31
上傳用戶:qingdou
NEC 16位MCU參考手冊 The 78K0R/IC3 is a 16-bit single-chip microcontroller that uses a 78K0R CPU core and incorporates peripheral functions, such as ROM/RAM, a multi-function timer, a multi-function serial interface, an A/D converter, a programmable gain amplifier (PGA), a comparator, a real-time counter, and a watchdog timer.
上傳時間: 2013-11-02
上傳用戶:努力努力再努力
The Controller Area Network (CAN) is a serial, asynchronous, multi-master communication protocol forconnecting electronic control modules, sensors and actuators in automotive and industrial applications.With the SJA1000, Philips Semiconductors provides a stand-alone CAN controller which is more than a simpleeplacement of the PCA82C200.Attractive features are implemented for a wide range of applications, supporting system optimization, diagnosisand maintenance.
標簽: Stand-alone contro 1000 SJA
上傳時間: 2013-11-18
上傳用戶:yxgi5