Can the HC-06 bluetooth module be used with the Android BLE block?

5 vues (au cours des 30 derniers jours)
Can the HC-06 or HC-05 bluetooth module be used with the android BLE block in simulink. If not is there another way for these modules to be connected to android so that I can utilise bluetooth UART comms to send sensor data from an Arduino Due to an android device?

Réponse acceptée

Sruthi Yenugula
Sruthi Yenugula le 2 Nov 2018
Hi Matthew,
HC-06 or HC-05 bluetooth module does not support BLE(Bluetooth Low Energy) communication. Android BLE blocks support only BLE communication.
If you want to send the sensor data from Arduino, you can use wifi shield or ESP8266 and send the data to Android. Check the below example for more information on it.
https://www.mathworks.com/help/supportpkg/arduino/examples/control-brightness-of-arduino-onboard-led-from-android-device.html
You can use BLE module on Arduino, program it and send data to Android BLE blocks.

Plus de réponses (0)

Catégories

En savoir plus sur Modeling dans Help Center et File Exchange

Produits


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by