Two way communication between Simulink and Raspberry Pi
Afficher commentaires plus anciens
I have a micro grid simulation in simulink. Simulink generates some signals fed to raspberry pi. Raspberry Pi will take this signals and take decision according to the logic also built in simulink stateflow. And again fed output of RPi to Simulink.
For Example :
Micro grid will generate two signals PV (power of Solar Plates) and SoC(State of Charges)
These signals will be fed to RPi.
After implementation of logic in RPi , it will give signal to breaker for ON and OFF.
In this way two way communication is needed.
How can i proceed with this one!!!
Réponses (1)
Mark McBroom
le 26 Fév 2022
0 votes
You can use the UDP block in Simulink to do this:
Catégories
En savoir plus sur Raspberry Pi Hardware dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!