【正文】
輸入的 10,12 控制輸出的 13,14。 本裝置用到的霍爾傳感器的介紹: 霍爾傳感器是一種磁傳感器。 我們用到的是開關(guān)型霍爾傳感器 , 由穩(wěn)壓器、霍爾元件、差分放大器,斯密特觸發(fā)器和輸出級組成,它輸出數(shù)字量。 防過卷電路如下 河南理工大學(xué)本科課程設(shè)計報告 8 圖 5 防卷電路圖 如圖所示,對應(yīng)的端口分別接對應(yīng)的地與 +5V。 河南理工大學(xué)本科課程設(shè)計報告 9 第三章 軟件設(shè)計 流程圖 總程序 總程序見附 1 延遲 是否有按鍵按下 鍵盤掃描 開始 N Y N C 按下 檢測哪個鍵按下 Y A按下 反轉(zhuǎn) B 按下 正轉(zhuǎn) 停止 河南理工大學(xué)本科課程設(shè)計報告 10 第 四 章 proteus 仿真 仿真圖 仿真圖說明 該系統(tǒng)主要有按鍵控制模塊, 發(fā)光二極管 指示模塊 , CPU 控制模塊, L298 驅(qū)動電機模塊。 工作時,當按下按鍵 1,經(jīng)過 , 分別輸出高低電平,然后由驅(qū)動輸出 OUT1,OUT2 管腳的高低電平,電機正轉(zhuǎn), 綠燈亮 ;當按下按鍵 2,電機反轉(zhuǎn),黃 燈亮 。懷著比較期待以及興奮的心情,在寒假里,我們組內(nèi)兩人都開始著手準備,搜集相關(guān)資料,主要是根據(jù)要實現(xiàn)的功能確立怎么實現(xiàn)相應(yīng)功能的方案,在此基礎(chǔ)上,通過看 前輩們的設(shè)計,查閱相關(guān)芯片的功能原理,引腳以及接線,搞清每一塊的具體如何接線,如何實現(xiàn)。另外,寫程序相對于上學(xué)期我們做過的四個實驗的復(fù)雜程度,這個算是相當簡單。 通過這個實驗,讓我認識到單片機功能的強大,基于單片機,我們可以通過接各種各樣的外設(shè),實現(xiàn)各種不同功能,有待我們?nèi)ヌ剿鳌?51 單片機 C 語言教程 L298 中文資料, 20210910/20210112 [5] 百度文庫 sbit IN1=P2^0。 //指示燈端口定義 sbit Y=P2^4。 sbit K3=P0^7。 sbit I=P1^3。 for(x=i。y)。 while(1) { 河南理工大學(xué)本科課程設(shè)計報告 14 if(I==0) //按鍵控制程序 { if(K1==0)//正轉(zhuǎn) { delay(5)。 ENA=1。 ENA=1。 if(K2==0||K3==0||H==1||I==1) break。R=1。 delay(10)。 delay(20)。R=0。 } } if(I==1) //無線遙控控制程序 { while(W1==1) //正轉(zhuǎn) { G=0。IN1=1。IN1=0。 } while(W2==1) //反轉(zhuǎn) { G=1。IN1=0。IN1=0。 } if(W3==1) //停止 { G=1。IN1=0。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。s 150th anniversary celebrations and will attend City39。s governing body, has also ordered an immediate investigation into the referee39?;蛟S是愧疚于自己似乎把轉(zhuǎn)瞬即逝的很多個不同的日子過成了同一天的樣子;或許是追溯過去,對自己那些近乎偏執(zhí)的怪異信念的醒悟,這些天以來,思緒一直很凌亂,在腦海中不斷糾纏。 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 remember his appearance. 童年時,覺得壓歲錢和新衣服是過年必備,但是隨著年齡的推進,會越來越發(fā)現(xiàn),那些東西根本就可有可無;初中時,以為要有一場暗戀才意味著真正的成長,但三年過去后,自己心平氣和的寫同學(xué)錄的時候,突然就發(fā)現(xiàn)是不是真正的成長了,好像并沒有那么重要了;然后到了高中,覺得非要吐露出 自己的心聲才能為高中生涯里的懵懂情愫劃上一個句點,但畢業(yè)晚會的時候最終還是被梗塞在了咽喉,后來再次站在