Control Raspberry Pi from your Android Device using Simulink

Control Raspberry Pi from your Android Device using Simulink
1.3K Downloads
Updated 1 Nov 2016

View License

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:

https://www.mathworks.com/videos/control-raspberry-pi-from-your-android-device-using-simulink-123494.html

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.

Cite As

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. Retrieved .

MATLAB Release Compatibility
Created with R2016b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on MATLAB Mobile in Help Center and MATLAB Answers

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/

Version Published Release Notes
1.2.3.0

Text
text review