freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內容

畢業(yè)設計-基于at89c51單片機的多用戶門鈴設計-免費閱讀

2025-01-02 19:44 上一頁面

下一頁面
  

【正文】 ( 3) 256B 的數(shù)據(jù)存儲器(使用 8 個地址)的地址空間。在這128B 的內存中, 有 32 byteses, 被稱作工作寄存器,和常用的微處理器不同的是, 8051 32 的 RAM 是按功能來劃分模塊的。該控制器包括程序計數(shù)器,可讀寫的存儲器,振蕩器和定時電路等。 (7)1 個雙向串行 I / O 口的 UART(通用異步接收器 /發(fā)送器 UART),用于實現(xiàn)單片機的串行通信。一般情況習慣用 8051 來代表51 系列單片機。在此,謹向老師們致以忠心的感謝和崇高的敬意! 27 附 錄 附錄 A:英文原文 Structure and function of the MCS51 series Structure and function of the MCS51 series onechip puter MCS51 is a name of a piece of onechip puter series which Intel Company produces. This pany introduced 8 topgrade onechip puters of MCS51 series in 1980 after introducing 8 onechip puters of MCS48 series in 1976. It belong to a lot of kinds this line of onechip puter the chips have,such as 8051, 8031, 8751, 80C51BH, 80C31BH,etc., their basic position, basic performance and instruction system are all the same. 8051 daily representatives 51 serial onechip puters . An onechip puter system is made up of several following parts: (1) One microprocessor of 8 (CPU). (2) At slice data memory RAM (128B/256B),it use not depositting not can reading /data that write, such as result not middle of operation, final result and data wanted to show, etc. (3) Procedure memory ROM/EPROM (4KB/8KB ), is used to preserve the procedure , some initial data and form in slice. But does not take ROM/EPROM within some onechip puters, such as 8031 , 8032, 80C ,etc.. (4) Four 8 run side by side I/O interface P0 four P3, each mouth can use as introduction , may use as exporting too. (5) Two timer / counter, each timer / counter may set up and count in the way, used to count to the external incident, can set up into a timing way too, and can according to count or result of timing realize the control of the puter. (6) Five cut off cutting off the control system of the source . (7) One all duplexing serial I/O mouth of UART (universal asynchronous receiver/transmitter (UART) ), is it realize onechip puter or onechip puter and serial munication of puter to use for. ( 8) Stretch oscillator and clock produce circuit, quartz crystal finely tune electric capacity need outer. Allow oscillation frequency as 12 megahertas now at most. Every the abovementioned part was joined through the inside data bus .Among them, CPU is a core of the onechip puter, it is the control of the puter and mand centre, made up of such parts as arithmetic unit and controller , etc.. The arithmetic unit can carry on 8 persons of arithmetic operation and unit ALU of logic operation while including one, the 1 storing device temporarilies of 8, storing device 2 temporarily, 839。在整個仿真 中,已經實現(xiàn)了各個功能和達到了預期的效果。 圖 在 proteus 中繪制電路原理全圖 19 仿真說明與分析 在 proteus里仿真時,首先把畫好的電路原理圖, 鏈接上 keil中生成的 .HEX文件進行仿真。在編譯方面,它支持 IAR、 Keil和 MPLAB等多種 編譯器 [7]。 圖 編譯程序 圖 : (1)Linking:連接中。多用戶門鈴程序錄入如圖 。本設計的基于單片機的多用戶門鈴程序如附錄 C所示。根據(jù)放大倍數(shù) 基極電流 AII CB ??? ? 基極電阻 ????? 200 C E QCCB I VVR 為了保證電路工作的 可靠性,將電阻選大一些,且根據(jù)常用的電阻型號選擇 220歐姆的電阻。 選擇 +5V的電源和 10uF 的極性電容 外加一個 10K 的電阻就組成了復位電路,復位電路原理圖如圖 所示。本設計中采用 12MHZ 的晶振作為系統(tǒng)的外部晶振,電容取值為 30pF。這個并聯(lián)諧振電路加到一個負反饋電路中就可以構成正弦波振蕩電路,由于晶振等效為電感的頻率范圍很窄,所以即使其他元件的參數(shù)變化很大,這個振蕩器的頻率也不會有很大的變化。 E__A__/VPP:當 E__A__保持低電平時 ,則在此期間外部程序存儲器( 0000HFFFFH) ,不管是否有內部程序存儲器。然而要注意 :每當用作外部數(shù)據(jù)存儲器時 ,將跳過一個 ALE脈沖。作為輸入 ,由于外部下拉為低電平 ,P3 口將輸出電流( ILL)這是由于上拉的緣故。 P2 口: P2 口為一個內部上拉電阻的 8 位雙向 I/O口 ,P2 口緩沖器可接收 ,輸出 4 個TTL 門電流 ,當 P2 口被寫 1 時 ,其管腳被內部上拉電阻拉高 ,且作為輸入。 芯片 AT89C51 封裝引腳排列如圖 。具體控制方案如圖 。 (3)第 3 階段 (1983 年以后 ),以 MCS96 系列為代表 ,稱 16 位單片機??梢园聪率覂乳_關,室內開關可以控制樓下大門的開啟。 多用戶門鈴的概述 由最初的手動敲門,到鈴鐺門鈴,在到本 設計制作的基于單片機的多用戶門鈴,這是門鈴的一個發(fā)展歷程。 關鍵詞 : 多用戶門鈴;單片機; AT89C51;報警; II ABSTRACT The safety of Community drawing more and more attention, multiuser doorbell being widely applied. Aiming at the village apartment block to design, the doorbell of visitors only need to press resident doorbell downstairs and corresponding households will ring the doorbell of home. Hearing the bell rang, the residents can press indoor switch control doors downstairs open. This paper mainly introduces the design idea of how the user the doorbell production methods and the whole manufacture process, multiuser doorbell adopts singlechip microputer AT89C51 as central processing chip, this multiuser doorbell convenients to people39。本文采用單片機AT89C51 作為中央處理芯片,介紹了多用戶門鈴的設計及其軟硬件調試結果。本 設計 主要介 紹 了 基于 單 片機的多用 戶門鈴(四用戶門鈴)電 路的 設計 , 從畫電 路 圖開 始到編寫單片機 C語言程序再到仿 真 再到繪制 PCB 板, 本 設計詳細 的介 紹 了整 個設計 的思路和 制作流程, 并 且 對 使用到的 軟 件( KEIL、 PROTEUS)的使用方法和操作流程都有 詳細 的 說明。主要完成對不同樓層用戶之間的門鈴應答。 (2)第 2 階段 (1978 年 — 1983 年 ),以 MCS51 系列為代表 ,稱 8 位單片機。 由于芯片和負載的選擇過于繁多,考慮到電路的簡單性,經濟性與實用性,該方案還需進一步改進?!? P0 口 8位雙向線(在引腳的 32~ 39 號端子); ~ P1 口 8 位雙向線(在引腳的 1~ 8 號端子); ~ P2 口 8 位 雙向線(在引腳的 21~ 28 號端子); ~ P3 口 8 位雙向線(在引腳 的 10~ 17 號端子)。 P1 口: P1 口是一個內部提供上拉電阻的 8 位雙向 I/O口 ,P1 口緩沖器能接收輸出4TTL 門電流。 P2 口在 FLASH 編程和校驗時接收高八位地址信號和控制信號。在 FLASH 編程期間 ,此引腳用于輸入編程脈沖。 7 PSEN————:外部程序存儲器的選通信號。 表 41 AT89C51 引腳說明 引腳 功能特性 RXD(串行輸入口) TXD(串行輸出口) INTO(外中斷 0) INT1( 外中斷 1) T0(定時 /計數(shù)器 0 外部輸入 ) T1(定時 /計數(shù)器 1 外部輸入 ) AT89C51 的主要性能參數(shù) (1)與 MCS51 產品指令系統(tǒng)完全兼容 (2)2k 字節(jié)可重擦寫閃速存儲器 (3)1000 次擦寫周期 (4) (5)全靜態(tài)操作 :0Hz24MHz (6)兩級加密程序存儲器 8 晶振電路 晶體振蕩器,簡稱晶振。如果使用石英晶體,推薦電容使用30PF177。 5%,即 ~。 根據(jù)圖 44所構成的電路圖計算如下: 假設蜂鳴器在額定電壓下工作 ,則 集電極電流 ARVIC ??? 根據(jù)集電極電流滿足所選三極管的要求,最終選擇 PNP型 S8550三極管。 Relays Switches 9 LEDRED Optoelectronics LEDs 9 12 5 系統(tǒng)軟件設計 多用戶門鈴設計的流程圖 根據(jù)設計所要實現(xiàn)的功能,考慮到編程簡潔,容易達到要求,多用戶門鈴的程序流程圖 如圖 。 首先,打開 keil編譯軟件,然后在菜單欄上找到 Project并選擇 New Project,在給工程命名并且保存工程,保存完成之后會彈出單片機芯片的選擇框,找 到芯片 AT89C51并且這樣就完成了在 keil中新建工程的操作。有錯就改正程序中的錯誤,直到沒有錯誤提示才能調用生成的 HEX文件。它不僅具有其它 仿真 軟件的仿真功能,還能仿真單片機及外圍器件。 打開 pro
點擊復制文檔內容
公司管理相關推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1