【正文】
Those were broken into various shapes of stationery。總覺得自己自己似乎應該去做點 什么,或者寫點什么。IN2=0。Y=0。 ENA=0。 } } if(K2==0)//反轉 { delay(5)。 } void main() { M=0。 sbit R=P2^5。 河南理工大學本科課程設計報告 12 參考文獻: [1] 楊凌霄,王麗 三個按鍵分別接單片機 、 、 ,分別控制電機正轉、反轉、停機三種工作狀態(tài)。 在我們的課程設計中,只用到了一個電機,用 7 管腳控制 3 管腳的輸出來控制電機 的正反轉以及調速功能。 3. 具有無線遙控和手動按鍵控制兩種功能。我們的作品采用了 STC89C52 單片機進行了簡單的設計,并通過驅動放大電路驅動電機,中間還設有控制不同模式遙控窗簾開關控制電路。 5,7,10,12 是 298 的信號輸入端和單片機的 IO 口相連。 當窗簾 拉開 時,達到指定的位置時,對應的輸出為高電平,電機停轉。防過卷模塊的安裝也比較麻煩 。 sbit ENA=P2^2。x) for(y=100。IN2=0。 } } if(K3==0||H==1)//停止 河南理工大學本科課程設計報告 15 { G=1。 delay(20)。R=0。s plaint. In a statement the Russian side added: We found no racist insults from fans of CSKA. Age has reached the end of the beginning of a word. May be guilty in his seems to passing a lot of different life became the appearance of the same day。嫌惡過自己的怯懦,最終卻發(fā)現(xiàn)有很多 緣分 ,有很多錯過,好像冥冥之中真的已經注定。t start planning... Those years, those days of do, finally, like youth, will end in our life. 此刻,天空是陰暗的,空氣里有著剛下過雨之后的清新因子。 Junior high school, thought to have a crush on just means that the real growth, but over the past three years later, his writing of alumni in peace, suddenly found that isn39。t appealed against the disciplinary action your employer has taken against you. However, if you win your case, the tribunal may reduce any pensation awarded to you as a result of your failure to appeal. Remember that in most cases you must make an application to an employment tribunal within three months of the date when the event you are plaining about happened. If your application is received after this time limit, the tribunal will not usually accept i. If you are worried about how the time limits apply to you, take advice from one of the anisations listed under Further help. Employment tribunals are less formal than some other courts, but it is still a legal process and you will need to give evidence under an oath or affirmation. Most people find making a claim to an employment tribunal challenging. If you are thinking about making a claim to an employment tribunal, you should get help straight away from one of the anisations listed under Further help. If you are being represented by a solicitor at the tribunal, they may ask you to sign an agreement where you pay their fee out of your pensation if you win the case. This is known as a damagesbased agreement. In England and Wales, your solicitor can39。IN1=0。 } } if(I==1) //無線遙控控制程序 { while(W1==1) //正轉 { G=0。R=1。 while(1) { 河南理工大學本科課程設計報告 14 if(I==0) //按鍵控制程序 { if(K1==0)//正轉 { delay(5)。 sbit K3=P0^7。 51 單片機 C 語言教程 工作時,當按下按鍵 1,經過 , 分別輸出高低電平,然后由驅動輸出 OUT1,OUT2 管腳的高低電平,電機正轉, 綠燈亮 ;當按下按鍵 2,電機反轉,黃 燈亮 。 本裝置用到的霍爾傳感器的介紹: 霍爾傳感器是一種磁傳感器。 以下是 基于單片機的遙控窗簾設計的各部分介紹 : STC89C52 單片機 簡介 STC89C52 單片機 是一種低功耗、高性能 CMOS8 位微控制器,具有 8K 在系統(tǒng)可編程 Flash 存儲器。 此 電子設計, 總體來說 ,從功能上來說較為簡單,從成本上來說造價低,經濟實用,利于推廣,能夠滿足智能家居要求 。 4 管腳 VS 接 到 46 的電壓,它是用來驅動電機的。 圖 4— 閉鎖性特性 所以,通過將霍爾傳感器至于 窗簾的最左端和最右端 , 使得 當窗簾打開到最 右 ,閉合到最 左 時,能夠自動發(fā)送信號關閉電機。而電機正反轉以及無線控制相對也比較簡單,只要了解了相應硬件功能,很容易實現(xiàn)。 define uint unsigned int。 void delay (int i)//延時子程序 { char x,y。 delay(10)。IN2=0。 ENA=1。 if(K1==0||K2==0||K3==0||H==1) break。s 21 win. 河南理工大學本科課程設計報告 18 Michel Platini