Control Raspberry Pi from your Android Device using Simulink
These files offer resources on how to create and run a Simulink model on Raspberry Pi to build a surveillance camera with wireless communication capabilities. It also highlights how you can use Simulink to build a mobile app to control the surveillance camera from an Android device.
https://www.youtube.com/watch?v=4jv0VfpqpbA
This File Exchange submission includes three examples that show you how to:
1) Blink the Raspberry Pi LED from your Android device.
2) Implement the "Surveillance camera with Android device" demonstration.
3) Modify the example to include a push button that activates the video feed.
The implementation of the examples are described in PDF slides. They provide details on the hardware components and setup needed, a brief explanation of the Simulink models used, and step-by-step instructions on how to create them. The slides also include a brief explanation of how user datagram protocol (UDP) is used to let the devices communicate with each other and the general hardware and wireless setup needed to implement the three examples.
For more information and additional instructions, please watch the following webinar:
The examples require the following MathWorks products:
1) MATLAB R2016b
2) Simulink
3) Computer Vision System Toolbox
4) Image Processing Toolbox
5a) The Simulink® Support Package for Raspberry Pi™
5b) The Simulink® Support Package for Android™ Devices
You can model and develop more elaborate algorithms using Stateflow, the Audio System Toolbox, and Control System Toolbox. MATLAB Coder, Simulink Coder and Embedded Coder allow you to inspect and modify the generated code to learn on and explore industry-grade hardware platforms.
引用格式
Greg Drayer (2024). Control Raspberry Pi from your Android Device using Simulink (https://www.mathworks.com/matlabcentral/fileexchange/59204-control-raspberry-pi-from-your-android-device-using-simulink), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux标签
致谢
参考作品: Simulink Support Package for Raspberry Pi Hardware, Simulink Support Package for Android Devices
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!RPi3ControllledFromAndroid/1_udp_basic/
RPi3ControllledFromAndroid/2_main_demo/
RPi3ControllledFromAndroid/3_button_activated/
版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.2.3.0 | Text
|