Permission to make digital or hard copies of all or part of this work forpersonal or classroom use is granted without fee provided that copies areNOT made or distributed for profit or commercial advantage and that copiesbear this NOTice and the full citation on the first page. To copy otherwise, torepublish, to post on servers or to redistribute to lists, requires prior specificpermission.
標簽: 數字電源
上傳時間: 2013-10-16
上傳用戶:dddddd
單片機的開發軟件
標簽: NOT-SETUP-CHINESE STC-ISP-V 4.83 單片機
上傳時間: 2013-10-29
上傳用戶:獨來獨往
一、 main.c(35): warning: #128-D: loop is NOT reachable from preceding code 原因,前面有一個while(1){ …….} 二、 main.c(54): warning: #1-D: last line of file ends without a newline 少了一個回車在}之后
上傳時間: 2014-12-26
上傳用戶:sjb555
利用單片機具有的智能程序控制的特點,設計了基于STC89C52單片機的"二極管特性測試器",可對二極管一般特性進行快速測試。通過穩定線性電流源給二極管加載恒定電流,然后由高精度模數轉換器測試其壓降,以此為基礎可判斷二極管好壞、檢測二極管極性和測試二極管伏安特性等,避免了用萬用表測試只能測得極性而不知其特性這一缺點。可用于電子設計制作過程中對二極管進行快速測試,以確定被測二極管是否滿足電路的設計要求。 Abstract: By making good use of the intelligent control function of the Micro Controller Unit (MCU), the diode trait tester was designed based on the STC89C52,which could be used to test the trait of a diode rapidly. By loading constant current to diode through the stable linear current source, and measuring the voltage drop of the diode by high-precision analogue-to-digital converter (ADC), it can judge whether the diode is good or NOT, distinguish the polarity of the diode, and test the trait that the diode, which can avoid the fault of using a multimeter can only measure the polarity but NOT the trait. This device can be used to test the trait of a diode quickly,and to make sure that whether a diode can be used in the electronic design or NOT.
上傳時間: 2013-11-13
上傳用戶:assef
為解決我國水位監測野外條件下長期無人看守的問題,研制開發了基于MSP430單片機的智能水位計。從其組成到各功能分別進行了詳細的介紹,該智能水位計不僅實現了水位數據的實時監測、記錄和定期采集等多種工作模式,而且提高了水位監測精度,實現了水位監測的智能化。 Abstract: In order to solve the problems of long-term unmanned observation in the field water monitoring,an intelligence water-level meter based on MSP430 is developed composition and every function moduce of the water level meter was introduced in detail. It NOT only realizes water level data collection and storage, regularly gathering and so on, but also improves the water-level precision , finally realizes the intelligence.
上傳時間: 2013-11-17
上傳用戶:417313137
The MAX9257/MAX9258 programmable serializer/deserializer (SerDes) devices transfer both video data and control signals over the same twisted-pair cable. However, control data can only be transmitted during the vertical blank time, which is indicated by the control-channel-enabled output (CCEN) signal. The electronic control unit (ECU) firmware designer needs to know how quickly to respond to the CCEN signal before it times out and how to calculate this duration. This application NOTe describes how to calculate the duration of the CCEN for the MAX9257/MAX9258 SerDes chipset. The calculation is based on STO timeout, clock frequency, and UART bit timing. The CCEN duration is programmable and can be closed if NOT in use.
上傳時間: 2014-01-24
上傳用戶:xingisme
針對目前使用的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
為解決當前計算機串行通訊接口只有USB,難以滿足舊型號設備或某些單片機要求RS232通訊的問題,設計出兩款RS232/USB電路。采用CH341A與MAX223集成電路芯片構建標準9線RS232/USB通用接口轉換器,無需編程。采用CH341A與PIC16F877A構建單片機與計算機之間的USB通訊電路,軟件遵循RS232通訊協議,硬件進行電平轉換。實際使用表明,這兩款產品與計算機端Windows 操作系統下的串口應用程序完全兼容,且通訊過程中無握手失敗現象。 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
以太網和CAN總線應用廣泛,但由于其通信協議不同,兩種總線器件間無法進行數據通信,因此,設計了基于CP2200與C8051F040的以太網總線與CAN總線接口轉換電路,并給出部分相關硬件電路與軟件設計分析。在保證數據完整和協議可靠的前提下,通過握手協議和簡化的以太網協議,不僅實現了以太網數據與CAN數據的轉發,同時還順利的解決了以太網的高速性與CAN的低速率沖突,以及兩者數據包之間的大小不同的矛盾。 Abstract: In the development of actual application, Ethernet and CAN bus are used very extensively. Owing to its various communication protocols, the communicating between two kinds of bus device can’t be carried out. Therefore, in order to solve this problem, the Ethernet-CAN bus interface circuit based on CP2200 and C8051F040 was designed in this paper, and part of the related hardware circuit and software design analysis were given. On the condition of data’s integrity and protocols’reliability, through the handshaking protocols and the simplified the Ethernet protocol, NOT only the data switching between CAN and Ethernet was realized, but also the differ in velocity and packet size was solved.
上傳時間: 2013-10-15
上傳用戶:Ants
單片機作為一種微型計算機,其內部具有一定的存儲單元(8031除外),但由于其內部存儲單元及端口有限,很多情況下難以滿足實際需求。為此介紹一種新的擴展方法,將數據線與地址線合并使用,通過軟件控制的方法實現數據線與地址線功能的分時轉換,數據線不僅用于傳送數據信號,還可作為地址線、控制線,用于傳送地址信號和控制信號,從而實現單片機與存儲器件的有效連接。以單片機片外256KB數據存儲空間的擴展為例,通過該擴展方法,僅用10個I/O端口便可實現,與傳統的擴展方法相比,可節約8個I/O端口。 Abstract: As a micro-computer,the SCM internal memory has a certain units(except8031),but because of its internal storage units and the ports are limited,in many cases it can NOT meet the actual demand.So we introduced a new extension method,the data line and address lines combined through software-controlled approach to realize the time-conversion functions of data lines and address lines,so the data lines NOT only transmited data signals,but also served as address lines and control lines to transmit address signals and control signals,in order to achieve an effective connection of microcontroller and memory chips.Take microcontroller chip with256KB of data storage space expansion as example,through this extension method,with only10I/O ports it was achieved,compared with the traditional extension methods,this method saves8I/O ports.
上傳時間: 2014-12-26
上傳用戶:adada