ssi_elec_moteur_arduino
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| ssi_elec_moteur_arduino [2025/10/12 20:31] – mistert2 | ssi_elec_moteur_arduino [2025/10/14 06:45] (Version actuelle) – mistert2 | ||
|---|---|---|---|
| Ligne 169: | Ligne 169: | ||
| --- | --- | ||
| - | <mermaid 100% 800px> | + | |
| + | <mermaid2 51% 700px> | ||
| graph TD | graph TD | ||
| A([Début]) --> B[Initialisation Arduino : broches, interruption, | A([Début]) --> B[Initialisation Arduino : broches, interruption, | ||
| Ligne 181: | Ligne 182: | ||
| H --> I[/Afficher position finale et "Cycle terminé"/ | H --> I[/Afficher position finale et "Cycle terminé"/ | ||
| I --> J([Fin]) | I --> J([Fin]) | ||
| - | </mermaid> | + | </mermaid2> |
| - | + | ||
| - | <mermaid 100% 800px> | + | |
| - | graph TD | + | |
| - | A([Début]) --> B[Initialisation Arduino : broches, interruption, | + | |
| - | B --> C[/Lecture du sens F ou R/] | + | |
| - | C --> D[/Lecture du rapport cyclique max (alpha_max)/ | + | |
| - | D --> E[alphafinal = 0] | + | |
| - | E --> F{alphafinal < alpha_max ?} | + | |
| - | F -->|Oui| G[/Sortie moteur : PWM = alphafinal/ | + | |
| - | G --> H[alphafinal = alphafinal + pas] | + | |
| - | H --> F | + | |
| - | F -->|Non| I[Maintien vitesse constante 2 s] | + | |
| - | I --> J{alphafinal > 0 ?} | + | |
| - | J -->|Oui| K[/Sortie moteur : PWM = alphafinal/ | + | |
| - | K --> L[alphafinal = alphafinal - pas] | + | |
| - | L --> J | + | |
| - | J -->|Non| M[/Arrêt moteur PWM = 0/] | + | |
| - | M --> N([Fin]) | + | |
| - | </ | + | |
| - | + | ||
| - | + | ||
| ### Travail demandé | ### Travail demandé | ||
ssi_elec_moteur_arduino.1760301100.txt.gz · Dernière modification : de mistert2
