problem of developing with arduino
2 次查看(过去 30 天)
显示 更早的评论
Hi everybody, my name is andrea and I'm trying to create a small home automation project. I would like to command LEDs via my android smartphone via arduino one, a hc-05 bluetooth module and the use of matlab (it would be better simulink). Using an application I would like to be able to connect to the bluetooth module and to control my LEDs. I managed to do the skecth with the arduino software, but with matlab I'm having some problems. I absolutely have to develop the program on matlab, on the request of my teacher who will be present at the exam !!!! Help me guys !!
0 个评论
采纳的回答
Swaroop Mishra
2017-6-20
Bluetooth support is not there currently in the support packages for Arduino and Android.
If you want to do it only using MATLAB, you will need an Android app running on the Android phone. From there you can send data to MATLAB via TCP/UDP. In MATLAB, listen to the TCP/UDP messages from the Android. Based on the message received on the phone, send the command to the Arduino.
1 个评论
Kiat Nern Yeo
2019-6-17
Hello. Does this work on a private and secured network, but without any connection to the internet ? Meaning both devices, the android and arduino, are connected to the same router, but the router is not connected to the internet.
Looking forward to your reply !!
Best regards !
更多回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Troubleshooting in MATLAB Support Package for Arduino Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!