Description
Caractéristiques Techniques :
- Modèle : SG90
- Type : Servo moteur à rotation limitée (180°)
- Tension de fonctionnement : 4.8V à 6V
- Couple : environ 1.8 kg·cm à 5V
- Vitesse : environ 0.1 s/60° à 4.8V
- Engrenages : plastiques
- Dimensions : 23 x 12.2 x 29 mm
- Poids : environ 9 g
- Interface : 3 fils (Signal, VCC, GND)
Connexion avec Arduino :
Broche Servo SG90 |
Connexion Arduino |
Fil Rouge (VCC) |
+5V |
Fil Marron (GND) |
GND |
Fil Orange (Signal) |
Pin PWM (ex. D9) |
Exemple de Code Arduino (Contrôle position 0° à 180°) :
#include <Servo.h>
Servo myservo;
void setup() {
myservo.attach(9);
}
void loop() {
myservo.write(0); // position 0°
delay(1000);
myservo.write(90); // position 90°
delay(1000);
myservo.write(180); // position 180°
delay(1000);
}
There are no reviews yet.