四軸飛行器控制電路詳解_圖文_第1頁(yè)
四軸飛行器控制電路詳解_圖文_第2頁(yè)
四軸飛行器控制電路詳解_圖文_第3頁(yè)
四軸飛行器控制電路詳解_圖文_第4頁(yè)
四軸飛行器控制電路詳解_圖文_第5頁(yè)
已閱讀5頁(yè),還剩5頁(yè)未讀 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說(shuō)明:本文檔由用戶(hù)提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

1、 . It will ask you if you want to begin a new project, or open an existing project.Choose Cancel and click on the connect icon. It will open a new window with a connection dialogue asking you to select your programmer andconnection port. With a programmer like the AVRISP mkII it is easy because when

2、 you select thatprogrammer it brings back only one choice of port. USB. The AVR-ISP500 from Olimex isrecognised as a STK500 and has the option to auto choose the port. If it fails to recognise the port,you may need to manually set the port for the programmer in your Windows device settings toCOM1 up

3、 to COM4 for AVR Studio to recognise it. When you have chosen your programmer and port, click connect and you will be taken to the AVR programming dialogue.In the AVR programming window go to the "Main" tab and make sure that the chip you areprogramming (e.g. Atmega168 is selected in the &

4、quot;Device and Signature Bytes" drop down menu.Also make sure that the" Programming mode and target settings are set to ISP. Make sure that thesettings for the ISP mode have the ISP frequency set low enough to talk to the chip. I set my AVR-ISP500 programmer's frequency to 115.2 kHz.

5、This is quite an important setting to get right. If youclick on "Read Signature" and you get the response "Signature matches selected device" you havesuccessfully managed to connect to your IC. Also make sure that the target board or PCB is powered (You can check this by clicking

6、 on the HWSettings tab and checking if the programmer can see any voltage. Now it is time to set the fuses so click on the "Fuses" tab. AVR Studio is very good in this respect asit will work out the fuse settings for your particular IC depending upon the check box options youchoose. Set th

7、e check boxes according to the following. SELFPRGEN: uncheckedRSTDISBL: uncheckedDWEN: uncheckedSPIEN: checked WDTON: uncheckedEESA VE: uncheckedBODLEVEL: Brown-out detection at VCC=1.8 VCKDIV8 : uncheckedCKOUT: uncheckedSUT_CKSEL: Int. RC Osc. 8 MHz; Start-up time PWRDWN/RESET: 6 CK/14 CK + 65 msTh

8、e fuse setting output will be displayed at the bottom of the window. Check the "Auto read" "Smart warnings" and "Verify after programming" options at the bottom ofthe window and then click program. If all goes to plan, you should get OK response messages in the output s

9、ection at the bottom of yourwindow for Entering Programming mode, writing fuse address, reading fuse address, Fuse bitsverification and leaving programming mode. If you get error messages, then recheck your chip version and all the connections from yourprogrammer to the board and that the power is o

10、n. Also make sure that your fuse settings are asdescribed above.Flash the FirmwareClick on the "Program" tab and have a look at the "Flash" section which is the 2nd section down.Check the "Input HEX file" check box. Then browse the unzipped firmware folder and click ony

11、our firmware HEX file suitable for the chip you are programming for an Atmega168. Then click"Program" in the Flash section of the window and you should get an OK response in the outputsection at the bottom of the window. Then click "Verify" to make sure that the program has beensuccessfully u

溫馨提示

  • 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶(hù)所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶(hù)上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶(hù)上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶(hù)因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

評(píng)論

0/150

提交評(píng)論