Raspberry Pi and Arduino Serial Communication
Updated Mon, 27 Jun 2016 03:23:35 +0000
Contains a driver block for serial receive on Raspberry Pi.
This submission enables serial communication between Arduino and Raspberry Pi.
There are two models in this submission:
1) Arduino model: Transmits a character via the TX pin. Can either be run in External Mode or deployed to board.
2) Raspberry Pi model: Receives the character via the RX pin. Run in External Mode to view the character received.
Watch the video demonstration here:
Refer here for a write-up describing this submission:
By Esther Ling, Edu Engineer
Techsource Technical Team (2023). Raspberry Pi and Arduino Serial Communication (https://www.mathworks.com/matlabcentral/fileexchange/54601-raspberry-pi-and-arduino-serial-communication), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired by: Raspberry Pi Driver Block SFunction, Raspberry Pi Simulink Driver Blocks ADC DAC PWM
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.