How to monitor and control arduino based drone through matlab ?
34 ビュー (過去 30 日間)
古いコメントを表示
Hi,
I am trying to build a student project with a drone using arduino nano IOT/BLE and matlab. The goal is that the drone should be able to send data from the IMU to matlab with the latter performing a PID action to control the drone. Ideally , all IMU variables can be monitored and controlled online by matlab or simulink.
The problem so far :
- I can connect the Nano Iot or BLE using an USB cable for setting up a wifi or bluetooth connection via arduinosetup, but after unplugging the cable , re-connecting to the arduino is impossible using just a powered usb. On the menu of the arduino configuration in matlab, the port (COM4) does not show up anymore. I have followed some guidelines (also question was raised in the forum) but the problem persists. I am guessing that if the USB is unplugged, the matlab server code is erased from the arduino but then I don't see the point of it.
I am actually not sure this is the right way to do it. Are there tutorials for this kind of project or is it not possible ?
Any help would be appreciated !
Cheers
3 件のコメント
dpb
2025 年 11 月 30 日 19:50
I know nothing about Simulink, sorry...just looking at what I could find that might be pertinent to your query...
参考
カテゴリ
Help Center および File Exchange で Modeling についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!