目錄: 1. Character Type Functions - 字符類型函數 2. Standard C Input/Output Functions - 標準輸入輸出函數 3. Standard Library Functions - 標準庫和內存分配函數 4. Mathematical Functions - 數學函數 5. String Functions - 字符串函數 6. BCD Conversion Functions - BCD 轉換函數 7. Memory Access Functions - 存儲器訪問函數 8. Delay Functions - 延時函數 9. LCD Functions - LCD函數 10. LCD Functions for displays with 4x40 characters - 4×40 字符型LCD函數 11. LCD Functions for displays connected in 8 bit memory mapped mode -以8 位外部存儲 器模式接口的LCD顯示函數 12. I2C Bus Functions - I2C 總線函數 13. National Semiconductor LM75 Temperature Sensor Functions - LM75 溫度傳感器函數 14. Dallas Semiconductor DS1621 Thermometer/Thermostat Functions - DS1621 溫度計函 數 15. Philips PCF8563 Real Time Clock Functions - PCF8563 實時時鐘函數 16. Philips PCF8583 Real Time Clock Functions - PCF8583 實時時鐘函數 17. Dallas Semiconductor DS1302 Real Time Clock Functions - DS1302 實時時鐘函數 18. Dallas Semiconductor DS1307 Real Time Clock Functions - DS1307 實時時鐘函數 19. 1 Wire Protocol Functions - 單線通訊協議函數 20. Dallas Semiconductor DS1820/DS1822 Temperature Sensors Functions - DS1820/1822 溫度傳感器函數 21. SPI Functions - SPI 函數 22. Power Management Functions - 電源管理函數 23. Gray Code Conversion Functions - 格雷碼轉換函數
上傳時間: 2013-10-22
上傳用戶:歸海惜雪
為了有效地提升鉛酸蓄電池的使用壽命,同時實現對充電過程的監控,設計出一種用單片機控制的36 V鉛酸蓄電池充電電源。本電路采用反激式拓撲,連續電流工作模式,電源管理IC設計在電源的副邊,由ELAN公司的EM78P258N單片機模擬,是用可編程器件模擬電源管理IC,實現智能電源低成本化的一次成功嘗試,通過對單片機的軟件設計實現了充電電源的狀態顯示、充電時間控制、報警、過溫保護、過壓保護、過流保護等功能。本充電器真正的實現了鉛酸蓄電池的三段式充電過程,其最高輸出功率可達90 W,效率約85%,成本不到20元,具有很高的市場競爭力。 Abstract: In order to extend the life of lead-acid battery efficiently and supervise the charging process meanwhile, a 36V lead-acid battery charge powe supply controlled by microcontroller is designed. The charger is flyback switching power supply and works in CCM mode. A EM78P258N microcontroller made by ELAN microelectronics corporation is used as power management IC which is designed at the secondary circuit. The project is a successful attempt to low-cost intelligent power used microcontroller simulating power management IC. The charger also has the functions of the status reveal, charge time control, alarming, thermal protect, current limit and overvoltage protect by the software design. The circuit actually implements the three-step charge process, whose power is up to 90W and whose efficiency can get 85%. The net cost of this charger is less than 20 RMB, so that the charger is of powerful market competitiveness.
上傳時間: 2013-11-16
上傳用戶:cepsypeng
C8051F020單片機通過SPI接口驅動四線電阻式觸摸屏控制器TSC2046,利用中斷方式驅動TSC2046設計軟件。介紹了觸摸屏的工作原理、TSC2046工作方式以及典型應用電路。 Abstract: The C8051F020 MCU is connected with the TSC2046 which is a 4-wire touch screen controller. The TSC2046 is controlled by interrupt mode, the? operation principle of touch screen is introduced. The operation mode of TSC2046 and typical application circuit are also discussed.
上傳時間: 2014-12-27
上傳用戶:hwl453472107
介紹了一種基于AT89S52微處理器、鍵控顯示模式、多漢字顯示的顯示模塊設計方法。對AT89S52的內部功能及使用高128字節RAM時的尋址方式進行說明。給出了四漢字顯示模塊的硬件電路原理圖、主程序流程圖以及中斷顯示流程圖。 Abstract: The design method of display module base on the AT89S52 microcontroller,display mode controlled by keyboard and? showing several Chinese characterses are introduced in the paper.The internal function and the addressing mode for the high 128B RAM of the AT89S52 are explained.The basic circuit diagram,the main program flow chart and the display interrupt flow chart of four Chinese characterses display module are also given.
上傳時間: 2014-01-23
上傳用戶:咔樂塢
主要介紹構成記憶示波器的STC12C5408AD增強型單片機8通道10位模數轉換功能的設置、應用和具體的匯編程序設計,以及PC機串行通訊和圖形顯示的高速匯編程序的設計要點,并列舉實例說明其應用效果。 Abstract: The configuration, applications and the designs for? compiling program of the memorial oscillograph of 10 bits A/D conversation are introduced. It’s bases on STC12C5408AD 8? channels? single-chip? computer? in? enhancement? mode. It also recommends the devising essentials of high speed compiling program for PC serial communication and graphics display, lists examples to explain its effects in using.
上傳時間: 2013-10-10
上傳用戶:adada
基于幅移鍵控技術ASK(Amplitude-Shift Keying),以C8051F340單片機作為監測終端控制器,C8051F330D單片機作為探測節點控制器,采用半雙工的通信方式,通過監控終端和探測節點的無線收發電路,實現數據的雙向無線傳輸。收發電路采用直徑為0.8 mm的漆包線自行繞制成圓形空心線圈天線,天線直徑為(3.4±0.3)cm。試驗表明,探測節點與監測終端的通信距離為24 cm,通過橋接方式,節點收發功率為102 mW時,節點間的通信距離可達20 cm。與傳統無線收發模塊相比,該無線收發電路在受體積、功耗、成本限制的場合有廣闊的應用前景。 Abstract: Based on ASK technology and with the C8051F340 and C8051F330D MCU as the controller, using half-duplex communication mode, this paper achieves bi-directional data transfer. Transceiver circuit constituted by enameled wire which diameter is 0.8mm and wound into a diameter (3.4±0.3) cm circular hollow coil antenna. Tests show that the communication distance between detection and monitoring of the terminal is 24cm,the distance is up to 20cm between two nodes when using the manner of bridging and the node transceiver power is 102mW. Compared with the conventional wireless transceiver modules, the circuit has wide application prospect in small size, low cost and low power consumption and other characteristics.
上傳時間: 2013-10-19
上傳用戶:xz85592677
將現行的供暖計費方式由按建筑面積計費變為按消耗的熱能計費是供暖計費方式發展趨勢,為了滿足這一計費方式變化的需要,設計了基于IC卡的預付費式新型供暖計費系統,通過測量用戶采暖系統進出口的溫度和流量,計算用戶消耗的熱能,利用IC卡記錄用戶預付費的金額和當年熱能的單價,根據熱能消耗和當年熱能的單價計算用戶采暖費,根據實際發生的供暖費用和預付費金額控制供暖的開停,這一計費方式的變化使供暖計費更趨合理。 Abstract: It is trend that the mode of heat charging is changed from billing by building area to by thermal energy. In order to meet the needs of heat charging mode changing, a new system of heat charging based on IC card is proposed. The user?蒺s energy consumption is calculated by measuring the user inlet and outlet temperature and flow,using the IC card to record the prepaid amount and the current price of heat. The user?蒺s heating costs is calculated according to energy consumption and current price, according to actual heating costs and prepaid amount,the system controls the heating opening or stopping. It is more reasonable that calculated heating costs by user heat consumption
上傳時間: 2013-10-14
上傳用戶:大融融rr
鐘是現代人類日常生活必不可少的工具,語音時鐘更是現在電子時鐘多功能化發展的一個方向。語音電子鐘具有突出的播報時間的功能,它被廣泛用在生活中的各種場合。本設計就是從日常生活中常見的事物入手,通過對語音電子鐘的設計,讓我認識到單片機已經深入到我們生活的每個領域。 本文從語音電子鐘的設計原理、設計方案入手,詳細介紹了系統硬件設計、軟件設計及調試。在語音電子鐘的設計中,要處理好以下幾個關鍵:D/A(數/模)轉換,語音識別,人機接口,程序設計。D/A(數/模)和語音識別技術關系到時間的正確播報,人機接口是播報時間和調整時間的關鍵。利用凌陽SPCE061A單片機在語音識別和處理方面的優點,結合實踐,設計出有特色的語音電子鐘。
上傳時間: 2013-10-30
上傳用戶:feitian920
The SN65LBC170 and SN75LBC170 aremonolithic integrated circuits designed forbidirectional data communication on multipointbus-transmission lines. Potential applicationsinclude serial or parallel data transmission, cabledperipheral buses with twin axial, ribbon, ortwisted-pair cabling. These devices are suitablefor FAST-20 SCSI and can transmit or receivedata pulses as short as 25 ns, with skew lessthan 3 ns.These devices combine three 3-state differentialline drivers and three differential input linereceivers, all of which operate from a single 5-Vpower supply.The driver differential outputs and the receiverdifferential inputs are connected internally to formthree differential input/output (I/O) bus ports thatare designed to offer minimum loading to the buswhenever the driver is disabled or VCC = 0. Theseports feature a wide common-mode voltage rangemaking the device suitable for party-lineapplications over long cable runs.
上傳時間: 2013-10-13
上傳用戶:ytulpx
LM3S系列單片機主要有3種工作模式:運行模式(Run-Mode)、睡眠模式(Sleep-Mode)、深度睡眠模式(Deep-Sleep-Mode)。某些型號還具有單獨的極為省電的冬眠模塊(Hibernation Module)。而對各個模式下的外設時鐘選通以及系統時鐘源的控制主要由表 2.1中的寄存器來完成。 運行模式是正常的工作模式,處理器內核將積極地執行代碼。在睡眠模式下,系統時鐘不變,但處理器內核不再執行代碼(內核因不需要時鐘而省電)。在深度睡眠模式下,系統時鐘可變,處理器內核同樣也不再執行代碼。深度睡眠模式比睡眠模式更為省電。有關這3種工作模式的具體區別請參見表 2.2的描述。調用函數SysCtlSleep( )可使處理器立即進入睡眠模式,而調用函數SysCtlDeepSleep( )可使處理器立即進入深度睡眠模式。任一中斷都可以將處理器從睡眠或深度睡眠模式喚醒,并使處理器恢復到睡眠前的運行狀態。因此在進入睡眠或深度睡眠之前,必須配置某個片內外設的中斷并允許其在睡眠或深度睡眠模式下繼續工作,如果不這樣,則只有復位或重新上電才能結束睡眠或深度睡眠狀態。
上傳時間: 2013-11-08
上傳用戶:ArmKing88