Is it possible to use Bluetooth with Matlab + Raspberry Pi?

Hello there :) I'm currently searching for possibilities to connect an raspi wireless to Matlab/Simulink. The aim is to read data from a sensor connected to the raspi. I saw tutorials describing how to do that via wifi. Would it also work with a usb bluetooth dongle connected to the raspi? Couldn't find anything about that on the internet, so I would be really thankful for any feedback.
Kind regards :)

2 Comments

Dear @Student88 can you please help me connect raspberry pi to matlab through Wifi? It's Very Urgent
When matters are so urgent that you do not even have time to leave contact information, then you probably should not be relying on MATLAB Answers.

Sign in to comment.

 Accepted Answer

Yes:
https://thingspeak.mathworks.com/channels/60834
https://thingspeak.mathworks.com/channels/61457
And a limitation in talking with bluetooth:

2 Comments

Thanks for your help. I think I will first try to use a wifi connection and see how that works :)
@ Walter Roberson; Dear Sir;
The mathworks link, you share are not active now. I can not enter the webpage. If possible, would you be able to reshare relevant links.

Sign in to comment.

More Answers (1)

To the best of my knowledge, you need the Instrument Control Toolbox to use Bluetooth integrated into your computer. See: Connecting to Bluetooth Devices from MATLAB.
The USB dongle could be a work-around, since it will create a serial object that you should be able to connect with as you would any other serial objects created by USB hardware.
(I bought a Blootooth dongle with this very work-around in mind, but I’ve not had the opprotunity to work with it yet.)

Communities

More Answers in the  ThingSpeak Community

Categories

Find more on MATLAB Support Package for Raspberry Pi Hardware in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!