【正文】
ven39。s time, your ideas are always special to clear. Want, want, line is clear, as if nothing could shake his. Also once seemed to be determined to do something, but more often is he backed out at last. Dislike his cowardice, finally found that there are a lot of love, there are a lot of miss, like shadow really have been doomed. Those who do, just green years oneself give oneself an arm injection, or is a selfrighteous spiritual. 一個(gè)人的時(shí)候,自己的想法總是特別地清晰。 The end of our life, and can meet many things really do? 而窮盡我們的一生,又能遇到多少事情是真正地非做不可? During my childhood, think lucky money and new clothes are necessary for New Year, but as the advance of the age, will be more and more found that those things are optional。s 21 win. 河南理工大學(xué)本科課程設(shè)計(jì)報(bào)告 18 Michel Platini, president of European football39。t agree with the disciplinary action your employer has taken against you ? your employer dismisses you and you think that you have been dismissed unfairly. For more information about dismissal and unfair dismissal, see Dismissal. You can make a claim to an employment tribunal, even if you haven39。 if(K1==0||K2==0||K3==0||H==1) break。 ENA=1。 ENA=1。IN2=0。IN2=0。Y=0。 delay(10)。 G=Y=R=1。 void delay (int i)//延時(shí)子程序 { char x,y。 //按鈕端口定義 sbit K2=P0^6。 define uint unsigned int。中國電力出版社, 2022, 231376 [2] 郭天祥而電機(jī)正反轉(zhuǎn)以及無線控制相對也比較簡單,只要了解了相應(yīng)硬件功能,很容易實(shí)現(xiàn)。 L298 是驅(qū)動(dòng)電機(jī)的部分,由單片機(jī)引出 、 、 控制驅(qū)動(dòng)的輸入端 和使能端 IN IN ENA,驅(qū)動(dòng)的輸出端 OUT OUT2 則連到電機(jī)兩端。 圖 4— 閉鎖性特性 所以,通過將霍爾傳感器至于 窗簾的最左端和最右端 , 使得 當(dāng)窗簾打開到最 右 ,閉合到最 左 時(shí),能夠自動(dòng)發(fā)送信號(hào)關(guān)閉電機(jī)。 防過卷模塊 這個(gè)窗簾是通過電機(jī)帶動(dòng)從 左往右 打開,所以這里設(shè)計(jì)兩個(gè)霍爾傳感器,一個(gè)設(shè)計(jì)在窗簾導(dǎo)軌的 最左邊 ,用于檢測窗簾是否已完全關(guān)閉;另一個(gè)設(shè)計(jì)在窗簾的最 右邊 ,用于檢測窗簾是否已完全打開, 從而防止由于電機(jī) 長時(shí)間通電而損壞。 4 管腳 VS 接 到 46 的電壓,它是用來驅(qū)動(dòng)電機(jī)的。 河南理工大學(xué)本科課程設(shè)計(jì)報(bào)告 4 第二章 基本硬件系統(tǒng)的設(shè)計(jì)與功能實(shí)現(xiàn) 本系統(tǒng)采用 STC89C52 單片機(jī) 作為主控制 核心部 件,主要通過按鍵 和 遠(yuǎn)程控制信號(hào)來實(shí)現(xiàn)電機(jī)的驅(qū)動(dòng)的控制信號(hào)。 此 電子設(shè)計(jì), 總體來說 ,從功能上來說較為簡單,從成本上來說造價(jià)低,經(jīng)濟(jì)實(shí)用,利于推廣,能夠滿足智能家居要求 。 關(guān)鍵字 : STC89C52 單片機(jī) 霍爾傳感器 L298N 直流電機(jī) 無線控制模塊 河南理工大學(xué)本科課程設(shè)計(jì)報(bào)告 2 目 錄 第一章 概述 ..................................................................................................................................... 3 引 言 .................................................................................................................. 3 基本要求 ............................................................................................................................ 3 第二章 基本硬件系統(tǒng)的設(shè)計(jì)與功能實(shí)現(xiàn) ..................................................................................... 4 STC89C52 單片機(jī)簡介 ...................................................................................................... 4 L298 電 機(jī)驅(qū)動(dòng)芯片 .......................................................................................................... 4 無線電遙控接收模塊 ........................................................................................................ 6 防過卷模塊 ........................................................................................................................ 6 第三章 軟件設(shè)計(jì) ............................................................................................................................. 9 流程圖 ............................................................................................................................... 9 總程序 ............................................................................................................................... 9 第四章 proteus 仿真 .............................................................