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

androidblebluetoothhardware package'makerMATLABsimulink

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?

Best Answer

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.