Raspberry Pi and Arduino Serial Communication
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:
https://www.youtube.com/watch?v=Kt5_9h84CrQ
Refer here for a write-up describing this submission:
https://dashboardproject.wordpress.com/2015/12/14/serial-communication-between-raspberry-pi-and-arduino-in-simulink/
By Esther Ling, Edu Engineer
Citation pour cette source
Techsource Technical Team (2024). Raspberry Pi and Arduino Serial Communication (https://www.mathworks.com/matlabcentral/fileexchange/54601-raspberry-pi-and-arduino-serial-communication), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Remerciements
Inspiré par : Raspberry Pi Driver Block SFunction, Raspberry Pi Simulink Driver Blocks ADC DAC PWM
A inspiré : RASPI_CAR_CONTROLLED_OVER_WIFI_AND_LIVE_STREAM
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.2.0.0 | Added Youtube video link |
||
1.1.0.0 | Updated title to better describe submission. |
||
1.0.0.0 |