Tourner un servo moteur à l’aide d’une carte raspberry PI 4 et de visualisé notre résultats sur un scope Bloc utilisé : Scope Repeating Sequence Stair Standard Servo Write1
En régler notre bloc de raspberry pi :
Le pin utiliser et model de notre raspberry dans notre cas on a : PI 4 Model B Ajustez notre servo à la position requise pour la rotation souhaitée.
Réalisation réel avec raspberry :
Comment transmettre notre système du Simulink vers raspberry PI4
1) Dans Configuration Parametres Sélectionner notre Hardware board 2 1
Le test Software in the loop :
Cree un subsysteme a notre test1
Puis à l’aide d’un test Harness crée notre test SIL
Teste 2 : Allumer Led verte de raspberry PI 4
Dans ce teste nous allumer la led de notre raspberry PI 4 Bloc utilisé : Sine Wave : pour générer un signal sinusoïdal LED