摘要本文基于AVR單片機Atmegal6,通過自動撥號模塊、無線收發模塊、紅外檢測模塊、煙霧檢測模塊的配合下,完成用戶的智能防火防盜報警系統。整個系統1)2Atmegal6為核心,當通過無線收發模塊發出布防信號時,就會啟動各個模塊進行監控。當紅外、煙霧檢測模塊檢測到異常情況,在火情啟動時自動撥號模塊進行自動報警,在盜情時啟動自動撥號模塊與電機驅動模塊分別進行自動報警和對保護區域死鎖,完成防火防盜的功能,實現系統穩定、可靠的T作。
上傳時間: 2013-10-08
上傳用戶:hphh
自己在學校的時候做的一些單片機仿真實例和一些資料,希望對大家有些幫助
上傳時間: 2013-11-08
上傳用戶:oojj
內容提要: 介紹了MOTOTOLA單片機系統的一些實例系統和技巧。 MOTOROLA單片機具有價格低、功能強、可靠性高、功耗小等特點。本書系統地介紹它的呂位到32位單片機著重介紹M68HC05的F、T、D系列M68HC11,M68HC16(916Y1、916X1、Y1、Z2、Z1)等型號]原理,匯編語言程序設計方法和開發方法以及它的外圍接口芯片,如直流無刷電動機、直流伺服電動機、過零檢測、場效應大功率管驅動電路等專用芯片的應用實例。本書還列舉大量在模糊控制、家用電器、通訊、傳感器智能儀器、控制等方面應用和應用系統設計詳解。內容新穎,文字簡煉,注重實用,便于自學。 讀者對象:大、中專院校和培訓班學生、研究生及科研、工程技術人員。 MOTOROLA單片機(MCU)將各種存儲器和子系統都集成在芯片內,同時外圍集成電路芯片配套齊全。在通訊、家用電器、智能儀器、自動化等廣大領域,采用單片機控制后,由于價格低、體積小、功能強、品種多、功耗低、硬件電路連接簡單、開發方便等諸多特點,將有利于促使)"品向智能化、微型化、多功能化方向發展,加速產品更新換代。相應單片機技術將會逐年引進新產品、新技術,并積累豐富的應用經驗。為了促進單片機開發和應用,我們編著這本書。
上傳時間: 2013-10-15
上傳用戶:ABC677339
MOTOROLA單片機具有價格低、功能強、可靠性高、功耗小等特點。本書系統地介紹它的呂位到32位單片機著重介紹M68HC05的F、T、D系列M68HC11,M68HC16(916Y1、916X1、Y1、Z2、Z1)等型號]原理,匯編語言程序設計方法和開發方法以及它的外圍接口芯片,如直流無刷電動機、直流伺服電動機、過零檢測、場效應大功率管驅動電路等專用芯片的應用實例。本書還列舉大量在模糊控制、家用電器、通訊、傳感器智能儀器、控制等方面應用和應用系統設計詳解。內容新穎,文字簡煉,注重實用,便于自學。 讀者對象:大、中專院校和培訓班學生、研究生及科研、工程技術人員。 MOTOROLA單片機(MCU)將各種存儲器和子系統都集成在芯片內,同時外圍集成電路芯片配套齊全。在通訊、家用電器、智能儀器、自動化等廣大領域,采用單片機控制后,由于價格低、體積小、功能強、品種多、功耗低、硬件電路連接簡單、開發方便等諸多特點,將有利于促使)"品向智能化、微型化、多功能化方向發展,加速產品更新換代。相應單片機技術將會逐年引進新產品、新技術,并積累豐富的應用經驗。為了促進單片機開發和應用,我們編著這本書。
上傳時間: 2013-10-25
上傳用戶:sjb555
《AVR單片機原理及應用》詳細介紹了ATMEL公司開發的ATmega8系列高速嵌入式單片機的硬件結構、工作原理、指令系統、接口電路、C編程實例,以及一些特殊功能的應用和設計,對讀者掌握和使用其他ATmega8系列的單片機具有極高的參考價值 AVR單片機原理及應用》具有較強的系統性和實用性,可作為有關工程技術人員和硬件工程師的應用手冊,亦可作為高等院校自動化、計算機、儀器儀表、電子等專業的教學參考書。 目錄 第1章 緒論 1.1 AVR單片機的主要特性 1.2 主流單片機系列產品比較 1.2.1 ATMEL公司的單片機 1.2.2 Mkcochip公司的單片機 1.2.3 Cygnal公司的單片機 第2章 AVR系統結構概況 2.1 AVR單片機ATmega8的總體結構 2.1.1 ATmega8特點 2.1.2 結構框圖 2.1.3 ATmega8單片機封裝與引腳 2.2 中央處理器 2.2.1 算術邏輯單元 2.2.2 指令執行時序 2.2.3 復位和中斷處理 2.3 ATmega8存儲器 2.3.1 Flash程序存儲器 2.3.2 SRAM 2.3.3 E2pROM 2.3.4 I/O寄存器 2.3.5 ATmega8的鎖定位、熔絲位、標識位和校正位 2.4 系統時鐘及其分配 2.4.1 時鐘源 2.4.2 外部晶振 2.4.3 外部低頻石英晶振 2.4.4 外部:RC振蕩器 2.4.5 可校準內部.RC振蕩器 2.4.6 外部時鐘源 2.4.7 異步定時器/計數器振蕩器 2.5 系統電源管理和休眠模式 2.5.1 MCU控制寄存器 2.5.2 空閑模式 2.5.3 ADC降噪模式 2.5.4 掉電模式 2.5.5 省電模式 2.5.6 等待模式 2.5.7 最小功耗 2.6 系統復位 2.6.1 復位源 2.6.2 MCU控制狀態寄存器——MCUCSR 2.6.3 內部參考電壓源 2.7 I/O端口 2.7.1 通用數字I/O端口 2.7.2 數字輸入使能和休眠模式 2.7.3 端口的第二功能 第3章 ATmega8指令系統 3.1 ATmega8匯編指令格式 3.1.1 匯編語言源文件 3.1.2 指令系統中使用的符號 3.1.3 ATmega8指令 3.1.4 匯編器偽指令 3.1.5 表達式 3.1.6 文件“M8def.inc” 3.2 尋址方式和尋址空間 3.3 算術和邏輯指令 3.3.1 加法指令 3.3.2 減法指令 3.3.3 取反碼指令 3.3.4 取補碼指令 3.3.5 比較指令 3.3.6 邏輯與指令 3.3.7 邏輯或指令 3.3.8 邏輯異或 3.3.9 乘法指令 3.4 轉移指令 3.4.1 無條件轉移指令 3.4.2 條件轉移指令 3.4.3 子程序調用和返回指令 3.5 數據傳送指令 3.5.1 直接尋址數據傳送指令 3.5.2 間接尋址數據傳送指令 3.5.3 從程序存儲器中取數裝入寄存器指令 3.5.4 寫程序存儲器指令 3.5.5 I/0端口數據傳送 3.5.6 堆棧操作指令 3.6 位操作和位測試指令 3.6.1 帶進位邏輯操作指令 3.6.2 位變量傳送指令 3.6.3 位變量修改指令 3.7 MCU控制指令 3.8 指令的應用 第4章 中斷系統 4.1 外部向量 4.2 外部中斷 4.3 中斷寄存器 第5章 自編程功能 5.1 引導加載技術 5.2 相關I/O寄存器 5.3 Flash程序存儲器的自編程 5.4 Flash自編程應用 第6章 定時器/計數器 6.1 定時器/計數器預定比例分頻器 6.2 8位定時器/計數器O(T/CO) 6.3 16位定時器/計數器1(T/C1) 6.3.1 T/C1的結構 6.3.2 T/C1的操作模式 6.3.3 T/121的計數時序 6.3.4 T/C1的寄存器 6.4 8位定時器/計數器2(T/C2) 6.4.1 T/C2的組成結構 6.4.2 T/C2的操作模式 6.4.3 T/C2的計數時序 6.4.4 T/02的寄存器 6.4.5 T/C2的異步操作 6.5 看門狗定時器 第7章 AVR單片機通信接口 7.1 AVR單片機串行接口 7.1.1 同步串行接口 7.1.2 通用串行接口 7.2 兩線串行TWT總線接口 7.2.1 TWT模塊概述 7.2.2 TWT寄存器描述 7.2.3 TWT總線的使用 7.2.4 多主機系統和仲裁 第8章 AVR單片機A/D轉換及模擬比較器 8.1 A/D轉換 8.1.1 A/D轉換概述 8.1.2 ADC噪聲抑制器 8.1.3 ADC有關的寄存器 8.2 AvR單片機模擬比較器 第9章 系統擴展技術 9.1 串行接口8位LED顯示驅動器MAX7219 9.1.1 概述 9.1.2 引腳功能及內部結構 9.1.3 操作說明 9.1.4 應用 9.1.5 軟件設計 9.2 AT24C系列兩線串行總線E2PPOM 9.2.1 概述 9.2.2 引腳功能及內部結構 9.2.3 操作說明 9.2.4 軟件設計 9.3 AT93C46——三線串行總線E2PPOM接口芯片 9.3.1 概述 9.3.2 內部結構及引腳功能 9.3.3 操作說明 9.3.4 軟件設計 9.4 串行12位的ADCTL543 9.4.1 概述 9.4.2 內部結構及引腳功能 9.4.3 操作說明 9.4.4 AD620放大器介紹 9.4.5 軟件設計 9.5 串行輸出16位ADCMAXl95 9.5.1 概述 9.5.2 引腳功能及內部結構 9.5.3 操作說明 9.5.4 應用 9.5.5 軟件設計 9.6 串行輸入DACTLC5615 9.6.1 概述 9.6.2 引腳功能及內部結構 9.6.3 操作說明 9.6.4 軟件設計 9.7 串行12位的DACTLC5618 9.7.1 概述 9.7.2 內部結構及引腳功能 9.7.3 操作說明 9.7.4 軟件設計 9.8 串行非易失性靜態RAMX24C44 9.8.1 概述 9.8.2 引腳功能及內部結構 9.8.3 操作說明 9.8.4 軟件設計 9.9 數據閃速存儲器AT45DB041B 9.9.1 概述 9.9.2 引腳功能及內部結構 9.9.3 操作說明 9.9.4 軟件設計 9.10 GM8164串行I/0擴展芯片 9.10.1 概述 9.10.2 引腳功能說明 9.10.3 操作說明 9.10.4 軟件設計 9.11 接口綜合實例 附錄1 ICCACR簡介 附錄2 ATmega8指令表 參考文獻
上傳時間: 2013-10-29
上傳用戶:lanwei
針對科研實驗中對拉壓千斤頂加載過程控制的需要,采用ATmega128單片機控制步進電機進而實現對執行系統的電動泵站實行自動控制。對力和位移的數據采集與處理及用步進電機控制電動泵站手柄的技術細節作了重點描述。通過單片機的A/D變換器對AMP放大模塊采集的電橋信號作量化處理,千斤頂的操控手柄位置依電動油泵閥門開啟的方向和大小作若干定位,單片機根據力或位移傳感器信號,實時控制步進電機驅動手柄旋轉到相應操控位置。 Abstract: This article describes the use of ATmega128 AVR microcontroller series of DBS electric pumping stations and QF100/200 separate twoway hydraulic jack to automate the process of manipulating the work of the technical content. Articles on force and displacement data acquisition and processing, and stepper motor control electric pump with the handle of the key technical details were described. Through the MCU’s A / D converter module is collected on the AMP amplification quantify the signal bridge, jack handle position control valve opening according to the direction of electric pumps for a number of positioning and size of the microcontroller based on force or displacement sensor signals, real-time control stepper motor drive control handle rotate to the appropriate location.
上傳時間: 2014-01-16
上傳用戶:hasan2015
針對目前使用的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
以太網和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
The MSP-FET430PIF is a Parallel Port interface (does not include target board) that is used to program and debug MSP430 FET tools and test boards through the JTAG interface. This interface is included in our FET tools, but sold without the development board. This interface uses a Parallel PC Port to communicate to the Debugger Software (IAR Kickstart software included) running on the PC. The interface uses the standard 14 pin header to communicate to the MSP430 device using the standard JTAG protocol. The flash memory can be erased and programmed in seconds with only a few keystrokes, and since the MSP430 flash is extremely low power, no external power supply is required. The tool has an integrated software environment and connects directly to the PC which greatly simplifies the set-up and use of the tool. The flash development tool supports development with all MSP430 flash parts. Features MSP430 debugging interface to connect a MSP430-Flash-device to a Parallel port on a PC Supports JTAG debug protocol (NO support for Spy-Bi-Wire (2-wire JTAG) debug protocol, Spy-Bi-Wire (2-wire JTAG) is supported by MSP-FET430UIF) Parallel Port cable and a 14-conductor target cable Full documentation on CD ROM Integrated IAR Kickstart user interface which includes: Assembler Linker Limulator Source-level debugger Limited C-compiler Technical specifications: Backwardly compatable with existing FET tool boards.
上傳時間: 2013-10-26
上傳用戶:fengweihao158@163.com
介紹了一種基于TMS320VC5402并應用ITU—T的G.728標準進行語音編解碼的多功能數字采訪機,系統采用AT89C51與TMS320VC5402相配合,實現了音控與鍵控相互補充,語音信息的采集與播放數字化,可大容量錄放音,操作簡單,可任意選取錄音段進行回放、刪除。
上傳時間: 2013-11-13
上傳用戶:15736969615