File Exchange

image thumbnail

Control Raspberry Pi from your Android Device using Simulink

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

23 Downloads

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

Comments and Ratings (1)

Miguel

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

Updates

1.2.3.0

text review

1.2.3.0

Text

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

RPi3ControllledFromAndroid/1_udp_basic/

RPi3ControllledFromAndroid/2_main_demo/

RPi3ControllledFromAndroid/3_button_activated/