2017年2月7日 星期二

cleanflight/betaflight-configurator over wifi

Thanks for great project esp-link and chrome.
Patch configurator from serial to serial-over-wifi are so easy!!




to use configurator via wifi, you will needs:




setup for FC:


  1. wire esp module to FC's UART port: careful about voltage, esp only accept 3.3V
  2. set that UART port to "MSP"
  3. save & reboot


setup for esp8266 wifi module:


  1. flash esp-link: use v2.2.3 release here
  2. power up module, and connect to it.
  3. go to setting website, http://192.168.4.1.
  4. go to page "Debug Log", and turn off (see: jeelabs/esp-link#83)
  5. (optional) change AP mode, SSID, passwd...etc.



now you can connect to your FC via wifi:


  1. connect to wifi module
  2. start up configurator
  3. select "Manual Selection"
  4. type "tcp://esp-ip:port" (esp-link default: "tcp://192.168.4.1:2323")
  5. click "connect"

If nothing goes wrong, you should use it as before. :)



4 則留言:

  1. 您好 冒昧打擾 我看到cleanflight的Linux/SITL的支持很大工作都是您做的 對我非常有用 我相信也有其他很多人受益 不知道您是否有時間 能否簡單的寫下主要有哪些方面的改動和改動原因呢 我相信這樣能更好的讓後繼者繼續開發,包括我(剛剛開始的菜鳥:))另外我看到您push了一個commit,似乎是解決我的問題的https://github.com/cleanflight/cleanflight/issues/2903,真是非常感謝!

    回覆刪除
    回覆
    1. 關於cleanflight/issues/2903...這肯定有什麼誤會...
      我push不是那個commit啊= =
      而且我沒有提交SITL的PR到cleanflight喔
      只有提交PR到betaflight

      改動的地方都在這邊: https://github.com/betaflight/betaflight/pull/2819/files
      改動原因嘛...就是為了SITL測試啊...

      刪除
  2. 您好,我想請問一下,也可以讓ESP與控制端都連接到AP,藉由AP當中繼點,來控制嗎?

    回覆刪除
    回覆
    1. 當然可以, 只要你知道ESP的IP就可以用configurator連上了

      刪除