mot27
![]() |
TP n°21 : Les moteurs électriques en DC (Direct Current) |
![]() |
| Nom : | ||
| Centre d'intérêt : | CI | |
| Classe : | 1ère Sti2d Sin | |
| Id programme : | sin15, sin31 | |
| Conditions : | En binôme, durée 2 heures. | |
| Matériel : | - un ordinateur; - un servomoteur - un moteur pas à pas - un moteur DC |
|
| Logiciel : | - Arduino IDE; - Proteus; |
|
| Document : | ||
I. Objectifs
- Etudier les moteurs en continu.
II. Servomoteur (servo motor)
Télécharger le schéma ici
Le code à utiliser pour faire fonctionner le servomoteur :
//include the servo library
#include <Servo.h>
//create a servo object Servo servo1;
// declare the pins to which the servo and potentiometer is connected. const int servoPin = 3; const int pot = 0; int potValue;
void setup() {
//associate servo1 to pin 9 on the Arduino 101
servo1.attach(servoPin);
}
void loop() {
// put your main code here, to run repeatedly:
potValue = analogRead (pot);
// linearly scale the value of the sevo output from the 0 to 1023 range of the potentiometer
// to the angle limits by the servo which is 0 to 180 degrees
potValue = map(potValue, 0, 1023, 0, 180);
// record the now-adjusted value of the potentiometer to the servo motor
servo1.write(potValue);
}
Faire varier le potentiomètre RV1 et expliquer le rôle d'un servomoteur.
Réaliser le montage avec sur la table.
III. Moteur pas à pas ( motor stepper)
Faire de même avec le moteur pas à pas
IV. Moteur à courant continu (motor DC)
Télécharger ici le schéma ci-dessus.
Faire varier la tension U aux bornes du MCC et relever sa vitesse n.
Tracer la caractéristique n=f(U).
Conclure

