File Exchange

image thumbnail

Control Raspberry Pi from your Android Device using Simulink

version (1.95 MB) by Greg Drayer Andrade
Control Raspberry Pi from your Android Device using Simulink


Updated 01 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.

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.

Comments and Ratings (1)


Gracias, lo implemento he informare. Muy bueno el Webinar.


text review


MATLAB Release Compatibility
Created with R2016b
Compatible with any release
Platform Compatibility
Windows macOS Linux