研究筆記 - mBot

最後編輯:2015-09-29 建立:2015-09-28 歷史紀錄

 

 

WUULONG S主網站

 

購買

 

Bring up

  • 1. 根據說明書組裝
  • 2. 看 light RGB LEDs, 升級韌體
  • 3. 下載 Robot lessons, 試 run 循跡,音樂盒,避障

 

使用 Arduino 開發

  • 1. 在 mBlock GUI 中開啟 Arduino IDE. 目前的 Code 會直接帶在 IDE 中,選 Arduino UNO, Serial port 設定成 dev/cu.wchusbserialxxx, 上傳即可

Arduino programming setup

  • Arduino 1.6.4
  • samples->makeblock->Me_RGBLed->ColorLoop test work

Code Resource Study

  • Firmware path:
    • /Users/xxx/Library/Application\ Support/com.makeblock.Scratch/Local\ Store/mBlock/firmware/mbot_firmware
      • maybe this is the default firmware mbot_firmware.ino
  • Library path
    • workspace/libraries/makeblock
      • example inside

 

Default firmware study

  • location
  • Serial command format
  • ff 55 len idx action device port slot data a
  • 0 1 2 3 4 5 6 7 8

 

機器人支架擴充套組

 

樂高固定組件