connecting arduino with matlab through bluetooth

17 次查看(过去 30 天)
IAm doing a project about speech recoginition(controll some kind of device by my speech ), I wrote the code already , what Iam trying to do are :
Using MATLAB to create appropriate control outputs
Using a wireless channel to send the control data to Arduino
Using Arduino to control some type of devices, such as a servo motor
My main concerns are whether the bluetooth modules will be able to receive the data from MATLAB and how ? I do not have much experience at Arduino at all so any help would be greatly appreciated. I would like to make sure I buy the correct module that will be able to link with MATLAB. someone advise me of which modules would work?
  2 个评论
enas
enas 2014-4-4
I was thinking about using Arduino Uno R3 Microcontroller based on the ATmega328. and Bluetooth module HC-06
Hafizi Ahmad
Hafizi Ahmad 2021-5-23
Can i get information the tools that i can use from MATLAB to test bluetooth network perfromance

请先登录,再进行评论。

回答(2 个)

kintali narendra
kintali narendra 2016-9-20
Hi Enas,
You can use Bluetooth to transmit the commands from Matlab to Arduino, there are different Bluetooth modules which you can use. For example "JY-MCU" is a slave which can only receive data from master(matlab or Arduino-IDE). To communicate with matlab you need to install "Instrument control toolbox" package in matlab. Rest of the details regarding coding can be found in the below link.
  2 个评论
puneet yadav
puneet yadav 2018-4-24
Error coming that Bluetooth mdevive may not be ready or used by other device
sudhakar shinde
sudhakar shinde 2018-6-10
Try to add bluetooth device in your laptop bluetooth section and try once. may be it will work for you.

请先登录,再进行评论。


sudhakar shinde
sudhakar shinde 2018-6-10
MATLAB supports for Aurduino. you need to insatall support package from add-ons to run MATLAB code on arduino target hardware. you can use HC-05 or HC-06 bluetooth module.
To get familarise with bluetooth communication through MATLAB you can check below link

类别

Help CenterFile Exchange 中查找有关 Audio Toolbox 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by