Ligne 19 : |
Ligne 19 : |
| * '''In the complete kit''': An {{pl|561|HC-SR04 ultrasonic sensor}} used to evaluate distances and avoids obstacles. | | * '''In the complete kit''': An {{pl|561|HC-SR04 ultrasonic sensor}} used to evaluate distances and avoids obstacles. |
| | | |
− | == Broches utilisées == | + | == Used pins == |
− | Pour rendre son utilisation plus simple, nous avons repris notation des broches Pyboard sur la sérigraphie du motor-skin.
| + | To ease the usage of Pyboard pins, we did anotate the motor-skin with PyBoard pin names. |
| | | |
| [[Fichier:MOTOR-SKIN-BOARD-v1.1-PIN-USED.jpg|320px]] | | [[Fichier:MOTOR-SKIN-BOARD-v1.1-PIN-USED.jpg|320px]] |
| | | |
− | '''Les broches utilisées par le motor-skin sont indiquées entre parenthèses'''. | + | '''The pins used by the motor-skin are surrounded with parenthesis'''. |
| | | |
| {| class="wikitable" border="1" | | {| class="wikitable" border="1" |
| |- | | |- |
− | | align="center" | Broche PyBoard | + | | align="center" | PyBoard pin |
− | | align="center" | Mode | + | | align="center" | Pin Mode |
− | | align="center" | Utilisation | + | | align="center" | Usage |
− | | align="center" | Description | + | | align="center" | Details |
| |- style="font-size: 90%" | | |- style="font-size: 90%" |
| | align="left" | X17 | | | align="left" | X17 |
| | align="left" | INPUT<br />''Internal PullUp'' | | | align="left" | INPUT<br />''Internal PullUp'' |
| | align="left" | SW1 | | | align="left" | SW1 |
− | | align="left" | Bouton utilisateur 1 (broche à la masse lorsque le bouton est enfoncé) | + | | align="left" | User button 1 (pin shorted to the ground when the pressing the button) |
| |- style="font-size: 90%" | | |- style="font-size: 90%" |
| | align="left" | X18 | | | align="left" | X18 |
| | align="left" | INPUT<br />''Internal PullUp'' | | | align="left" | INPUT<br />''Internal PullUp'' |
| | align="left" | SW2 | | | align="left" | SW2 |
− | | align="left" | Bouton utilisateur 2 (broche à la masse lorsque le bouton est enfoncé) | + | | align="left" | User button 2 (pin shorted to the ground when the pressing the button) |
| |- style="font-size: 90%" | | |- style="font-size: 90%" |
| | align="left" | X19 | | | align="left" | X19 |
| | align="left" | INPUT<br />''Internal PullUp'' | | | align="left" | INPUT<br />''Internal PullUp'' |
| | align="left" | SW3 | | | align="left" | SW3 |
− | | align="left" | Bouton utilisateur 3 (broche à la masse lorsque le bouton est enfoncé) | + | | align="left" | User button 3 (pin shorted to the ground when the pressing the button) |
| |- style="font-size: 90%" | | |- style="font-size: 90%" |
| | align="left" | X20 | | | align="left" | X20 |
| | align="left" | INPUT<br />''Internal PullUp'' | | | align="left" | INPUT<br />''Internal PullUp'' |
| | align="left" | SW4 | | | align="left" | SW4 |
− | | align="left" | Bouton utilisateur 4 (broche à la masse lorsque le bouton est enfoncé) | + | | align="left" | User button 4 (pin shorted to the ground when the pressing the button) |
| |- style="font-size: 90%" | | |- style="font-size: 90%" |
| | align="left" | Y5 | | | align="left" | Y5 |
| | align="left" | OUTPUT | | | align="left" | OUTPUT |
| | align="left" | HC-SR04 Trigger | | | align="left" | HC-SR04 Trigger |
− | | align="left" | Déclenche l'envoi d'une mesure de distance sur le senseur ultrason | + | | align="left" | Trigger the ultrasonic sound to measure the distance |
| |- style="font-size: 90%" | | |- style="font-size: 90%" |
| | align="left" | Y6 | | | align="left" | Y6 |
| | align="left" | INPUT | | | align="left" | INPUT |
| | align="left" | HC-SR04 Echo | | | align="left" | HC-SR04 Echo |
− | | align="left" | Réception du signal d'echo du senseur ultrason | + | | align="left" | Activated when the ultrasonic echo is received by the sensor |
| |- style="font-size: 90%" | | |- style="font-size: 90%" |
| | align="left" | X6 | | | align="left" | X6 |
| | align="left" | OUTPUT | | | align="left" | OUTPUT |
− | | align="left" | Moteur 1 contrôle | + | | align="left" | Motor 1 control |
− | | align="left" | Broche 1 pour contrôle du pont-H moteur 1 | + | | align="left" | First pin to control the H-Bridge of motor 1 |
| |- style="font-size: 90%" | | |- style="font-size: 90%" |
| | align="left" | X5 | | | align="left" | X5 |
| | align="left" | OUTPUT | | | align="left" | OUTPUT |
− | | align="left" | Moteur 1 contrôle | + | | align="left" | Motor 1 control |
− | | align="left" | Broche 2 pour contrôle du pont-H moteur 1 | + | | align="left" | Second pin to control the H-Bridge of motor 1 |
| |- style="font-size: 90%" | | |- style="font-size: 90%" |
| | align="left" | X3 | | | align="left" | X3 |
| | align="left" | OUTPUT PWM<br />''Timer 5, Channel 3'' | | | align="left" | OUTPUT PWM<br />''Timer 5, Channel 3'' |
− | | align="left" | Moteur 1 contrôle vitesse | + | | align="left" | Motor 1 speed control |
− | | align="left" | Broche Enable du pont-H moteur 1. | + | | align="left" | Enable pin of the motor 1 H-Bridge. |
| |- style="font-size: 90%" | | |- style="font-size: 90%" |
| | align="left" | X7 | | | align="left" | X7 |
| | align="left" | OUTPUT | | | align="left" | OUTPUT |
− | | align="left" | Moteur 2 contrôle | + | | align="left" | Motor 2 control |
− | | align="left" | Broche 1 pour contrôle du pont-H moteur 2 | + | | align="left" | First pin to control the H-Bridge of motor 2 |
| |- style="font-size: 90%" | | |- style="font-size: 90%" |
| | align="left" | X8 | | | align="left" | X8 |
| | align="left" | OUTPUT | | | align="left" | OUTPUT |
− | | align="left" | Moteur 2 contrôle | + | | align="left" | Motor 2 control |
− | | align="left" | Broche 2 pour contrôle du pont-H moteur 2 | + | | align="left" | Second pin to control the H-Bridge of motor 2 |
| |- style="font-size: 90%" | | |- style="font-size: 90%" |
| | align="left" | X4 | | | align="left" | X4 |
| | align="left" | OUTPUT PWM<br />''Timer 5, Channel 4'' | | | align="left" | OUTPUT PWM<br />''Timer 5, Channel 4'' |
− | | align="left" | Moteur 2 contrôle vitesse | + | | align="left" | Motor 1 speed control |
− | | align="left" | Broche Enable du pont-H moteur 2. | + | | align="left" | Enable pin of the motor 2 H-Bridge. |
| |} | | |} |
| | | |