Q how to connect raspberry pi ,in order to transmit output from function block to mobile using simulink model on Bluetooth ? plus how to make a app and its UI that is compatible with simulink block?
3 views (last 30 days)
Show older comments
Hi, I am currently doing my final year project in electrical engineering? I am taking input from ECG sensor passing it through analog to digital converter and sending digital value from simulink GPIO pin read block to a matlab function in simulink which checks abnormality in ECG and outputs 5 types of result( 3 plots and 1 audio alert prompt and 1 command to cellphone to sms emergency service if audio prompt is not resolved in 25 seconds ) to mobile phone over blue tooth. My question is how can i send my result from function block to mobile phone via bluetooth in simulink? Moreover what is the way to make UI for android app which interact with raspberry pi via blue tooth using simulink model. If possible can somebody make a rough simulink model which i need to use?
0 Comments
Answers (1)
Sruthi Yenugula
on 21 May 2018
Bluetooth Blocks are not available in Raspberry pi and Android Simulink Support Packages. Instead of Bluetooth, you can use TCP/UDP blocks for communication between Android and Raspberry pi.
You can check the following examples for establishing communication between Raspberry Pi and Android device
https://www.mathworks.com/help/supportpkg/android/examples/raspberry-pi-r-led-control.html https://www.mathworks.com/help/supportpkg/android/examples/surveillance-camera-with-raspberry-pi-r-hardware.html
0 Comments
See Also
Categories
Find more on Modeling 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!