How to monitor and control arduino based drone through matlab ?
34 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
dpb
le 30 Nov 2025 à 19:50
I know nothing about Simulink, sorry...just looking at what I could find that might be pertinent to your query...
Voir également
Catégories
En savoir plus sur Modeling dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!