1 / 19

電話線接法圖

藍白線 -NC 空接線. 電話線接法圖. 藍線 -PGC 接 26 號孔. 橘白線 -PGD 接 25 號孔. 橘線 -Vss 接 31 號孔. 綠白線 -V DD 接 32 號孔. 綠線 -MCIR 接 1 號孔. 對應孔. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20. 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21.

gotzon
Download Presentation

電話線接法圖

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 藍白線-NC空接線 電話線接法圖 藍線 -PGC接26號孔 橘白線-PGD接25號孔 橘線 -Vss接31號孔 綠白線-VDD 接32號孔 綠線 -MCIR接1號孔

  2. 對應孔 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21

  3. 安裝MPLAB IDE與MPLABC30 下載MPLAB_IDE_8_36.zip http://www.ie.ksu.edu.tw/data/robot-GM-motor/dsPIC30F4011/MPLAB_IDE_8_36.zip 下載MPLABC30ComboLitev3_20_B.exe http://www.ie.ksu.edu.tw/data/robot-GM-motor/dsPIC30F4011/MPLAB_IDE_8_36.zip MPLABC30ComboLitev3_20_B.exe

  4. 在C:\Program Files\Microchip 下建立目錄,並把機器人程式放在目錄裡

  5. 按照右圖路徑在Header Files加入incap.h、pwm.h、timer.h、uart.h檔

  6. 按照右圖路徑在Header Files加入p30f4011.h檔

  7. 按照右圖路徑在Library Files加入libp30f4011-coff.a檔

  8. 按照右圖路徑在Linker Script加入p30f4011.gld檔

  9. 在程式開頭加入下框中的程式

  10. 出現下面錯誤視窗就表示未裝藍芽驅動程式請到下面網址下載藍芽驅動程式http://www.ie.ksu.edu.tw/data/robot-GM-motor/PL-2303%20Driver%20Installer.rar出現下面錯誤視窗就表示未裝藍芽驅動程式請到下面網址下載藍芽驅動程式http://www.ie.ksu.edu.tw/data/robot-GM-motor/PL-2303%20Driver%20Installer.rar

  11. 插入藍芽裝置後到裝置管理員查看藍芽裝置的通訊埠

  12. 選擇藍牙的通訊埠

  13. 馬達編號5 馬達編號2 馬達編號4 馬達編號0 馬達編號1 馬達編號3

  14. 0x1194 4500 馬達編號0 0xFA0 4000 0xBB8 3000 0x7D0 2000 0x5DC 1500 0x3E8 1000 0x1F4 500

  15. 0x1F4 500 馬達編號2 0x3E8 1000 0x5DC 1500 0x7D0 2000 0xBB8 3000 0xFA0 4000 0x1194 4500

  16. 馬達編號1 後 0x157C 5500 前 0x1F4 500 0x1194 4500 0x3E8 1000 0xFA0 4000 0xBB8 3000 0x5DC 1500 0x7D0 2000

  17. 馬達編號3 後 0x1F4 500 前 0x157C 5500 0x3E8 1000 0x1194 4500 0x5DC 1500 0x7D0 2000 0xFA0 4000 0xBB8 3000

  18. 頸部 0xBB83000 0xFA04000 0x7D0 2000 0x1194 4500 後 0x5DC 1500 前 0x157C 5500 馬達編號4

  19. 馬達編號5 頭頂 右 0x157C 5500 左 0x1F4 500 0x1194 4500 0x3E8 1000 0xFA04000 0x5DC 1500 0x7D0 2000 0xBB83000

More Related