【正文】
輸入的 10,12 控制輸出的 13,14。 本裝置用到的霍爾傳感器的介紹: 霍爾傳感器是一種磁傳感器。 我們用到的是開關(guān)型霍爾傳感器 , 由穩(wěn)壓器、霍爾元件、差分放大器,斯密特觸發(fā)器和輸出級(jí)組成,它輸出數(shù)字量。 防過卷電路如下 河南理工大學(xué)本科課程設(shè)計(jì)報(bào)告 8 圖 5 防卷電路圖 如圖所示,對(duì)應(yīng)的端口分別接對(duì)應(yīng)的地與 +5V。 河南理工大學(xué)本科課程設(shè)計(jì)報(bào)告 9 第三章 軟件設(shè)計(jì) 流程圖 總程序 總程序見附 1 延遲 是否有按鍵按下 鍵盤掃描 開始 N Y N C 按下 檢測哪個(gè)鍵按下 Y A按下 反轉(zhuǎn) B 按下 正轉(zhuǎn) 停止 河南理工大學(xué)本科課程設(shè)計(jì)報(bào)告 10 第 四 章 proteus 仿真 仿真圖 仿真圖說明 該系統(tǒng)主要有按鍵控制模塊, 發(fā)光二極管 指示模塊 , CPU 控制模塊, L298 驅(qū)動(dòng)電機(jī)模塊。 工作時(shí),當(dāng)按下按鍵 1,經(jīng)過 , 分別輸出高低電平,然后由驅(qū)動(dòng)輸出 OUT1,OUT2 管腳的高低電平,電機(jī)正轉(zhuǎn), 綠燈亮 ;當(dāng)按下按鍵 2,電機(jī)反轉(zhuǎn),黃 燈亮 。懷著比較期待以及興奮的心情,在寒假里,我們組內(nèi)兩人都開始著手準(zhǔn)備,搜集相關(guān)資料,主要是根據(jù)要實(shí)現(xiàn)的功能確立怎么實(shí)現(xiàn)相應(yīng)功能的方案,在此基礎(chǔ)上,通過看 前輩們的設(shè)計(jì),查閱相關(guān)芯片的功能原理,引腳以及接線,搞清每一塊的具體如何接線,如何實(shí)現(xiàn)。另外,寫程序相對(duì)于上學(xué)期我們做過的四個(gè)實(shí)驗(yàn)的復(fù)雜程度,這個(gè)算是相當(dāng)簡單。 通過這個(gè)實(shí)驗(yàn),讓我認(rèn)識(shí)到單片機(jī)功能的強(qiáng)大,基于單片機(jī),我們可以通過接各種各樣的外設(shè),實(shí)現(xiàn)各種不同功能,有待我們?nèi)ヌ剿鳌?51 單片機(jī) 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è)計(jì)報(bào)告 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)瞬即逝的很多個(gè)不同的日子過成了同一天的樣子;或許是追溯過去,對(duì)自己那些近乎偏執(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. 童年時(shí),覺得壓歲錢和新衣服是過年必備,但是隨著年齡的推進(jìn),會(huì)越來越發(fā)現(xiàn),那些東西根本就可有可無;初中時(shí),以為要有一場暗戀才意味著真正的成長,但三年過去后,自己心平氣和的寫同學(xué)錄的時(shí)候,突然就發(fā)現(xiàn)是不是真正的成長了,好像并沒有那么重要了;然后到了高中,覺得非要吐露出 自己的心聲才能為高中生涯里的懵懂情愫劃上一個(gè)句點(diǎn),但畢業(yè)晚會(huì)的時(shí)候最終還是被梗塞在了咽喉,后來再次站在