Reading sensor data through an Arduino Bluetooth Connection

조회 수: 8 (최근 30일)
Davis Nossaman
Davis Nossaman 2017년 7월 5일
편집: Manish Annappa 2017년 7월 11일
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?

답변 (1개)

Manish Annappa
Manish Annappa 2017년 7월 11일
편집: Manish Annappa 2017년 7월 11일
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.

카테고리

Help CenterFile Exchange에서 Test and Measurement에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by