Reading sensor data through an Arduino Bluetooth Connection

8 vues (au cours des 30 derniers jours)
Davis Nossaman
Davis Nossaman le 5 Juil 2017
Modifié(e) : Manish Annappa le 11 Juil 2017
I am using an Arduino Mini to collect sensor data and am trying to send that data via Bluetooth to MATLAB. My Bluetooth device is the Sparkfun Bluetooth Mate Silver. I have everything wired up correctly for an I2C connection and have connected with my Bluetooth device using
instrhwinfo('Bluetooth')
bt = Bluetooth('RNBT-E6F5')
but cannot figure out how to to pull sensor data from it. I've tried using arduino(); but it says "Cannot detect Arduino hardware". Any suggestions?

Réponses (1)

Manish Annappa
Manish Annappa le 11 Juil 2017
Modifié(e) : Manish Annappa le 11 Juil 2017
Refer to the documentation below that has instructions on connecting to a device through Bluetooth interface from Instrument Control Toolbox, reading and writing data from the connected device.

Catégories

En savoir plus sur Test and Measurement 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!

Translated by