Communication between Arduino and RaspberryPi using SIMULINK
Simulink is used for serial communication between Arduino and Raspberry-Pi with the external mode deploying code directly on the boards.
Figure a: Arduino serial transmit and receive model with pot input and motor control as output.
Figure b: Raspberry-pi serial transmit and receive for taking input for processing using fuzzy logic and transmitting output.
Fuzzy logic is used further as a Simulink block to perform washing machine control task on real hardware.
Here is the link to the youtube video: https://youtu.be/aJTeD2Hq_-o
Cite As
Ammar N. Abbas (2024). Communication between Arduino and RaspberryPi using SIMULINK (https://www.mathworks.com/matlabcentral/fileexchange/71060-communication-between-arduino-and-raspberrypi-using-simulink), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Communities
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.