I-Servo SG90: konke odinga ukukwazi mayelana nale motor encane kagesi

I-Servo SG90

Kunezinhlobo eziningi motors kagesi, njenge ama-stepper, noma ama-stepper motors, futhi ama-servomotor. Ngaphakathi kokugcina kunamamodeli athakazelisa ngempela, anjengokuthi Icala le-Servo SG90. I-servo engase ilungele amaphrojekthi okuqala, imikhuba nalolu hlobo lwedivayisi, ukufunda, ukulawula amarobhothi okulula, njll. Futhi, izidingo zayo zamandla ziphansi kakhulu, zinganikwa amandla kusuka ku-a ipuleti le-adrien noma kusuka embobeni ye-USB ye-PC kuye ku-5v.

Iyini i-Micro Servo SG90?

bhekimushu

I-servo ye-SG90 iyi-servo encane, nabanye izilinganiso ezihlangene kakhulu ukukwazi ukuhlanganisa kumaphrojekthi lapho indawo ibalulekile. Ngaphezu kwalokho, iyonga futhi kulula ukuyisebenzisa, enesidingo esiphansi kakhulu samandla, ngakho-ke kungenzeka futhi ukuyisebenzisela ku-embedded, i-IoT noma ezinye izinhlelo zokusebenza ezisetshenziswa kancane.

Ngokuqondene ne-Servo SG90, le moto ye-servo ihlanganisa a isixhumi sohlobo lwendawo yonke S ezokwazi ukungena kumishini eminingi yokuhweba. Yakhiwe ngezintambo ezi-3 ezinemibala ekhomba ukuthi ngayinye isetshenziselwa ini:

  • I-Rojo: intambo yamandla ephozithivu noma i-Vcc (+)
  • UBrown: ingabe ikhebuli yamandla inegethivu (-) noma i-GND (ephansi)
  • I-Naranja: yikhebula eliphethe isignali ye-PPM (Pulse Position Modulation) ukuze ulawule i-servomotor

Amanye amamodeli angase futhi abe nokwakheka kombala Okumnyama-Obomvu-Mhlophe, lapho isikimu kuleli cala kuzoba Isiginali ye-GND-Vcc-PPM ngokulandelanayo.

Izici ze-SG90 Servo

Kepha izici zobuchwepheshe kule servomotor, i-Servo SG90 igqama kulokhu:

Lezi zici ziyahlawumbisela, njengoba zingahluka kancane kuye ngokuthi yimaphi amamodeli nemikhiqizo ye-SG90 servo. Ngakho-ke, kungcono ukulanda idatha yedatha ehambisana nemodeli oyithengile. Isibonelo, esikhundleni sokubekezelela amazinga okushisa aphakathi kuka--30 no-60ºC, abanye benza kanjalo kuphela ukusuka ku--10 ukuya ku-50ºC, abanye bangamukela ama-voltages ukusuka ku-3 kuya ku-6V, njll.
  • isisindo esisekelwe: phakathi kuka-1.2 no-1.6 Kg (eyanele ngosayizi wayo omncane)
  • I-torque ye-motor ku-4.8vIsisindo: 1.2kg/cm
  • I-voltage yokusebenza: 4 – 7.2v
  • Isivinini se-spin ku-4.8v: 0.12s/60º
  • i-engeli yokujikelezaawu :120
  • I-Rango de temperatura de funcionamientoUkushisa: -30ºC kanye +60ºC
  • Ubukhulu: 22 × 11.5 × 27 mm
  • Isisindo: 9 g noma 10.6 g kufaka phakathi ikhebuli nesixhumi
  • I-Arduino-iyahambisana: yebo
  • isixhumi sendawo yonke: iyahambisana nezamukeli eziningi zokulawula umsakazo (Futaba, JR, GWS, Cirrus, Hitec,…)

Uzothola futhi ezinye izinhlobo ze-Servo SG90, njengo:

  • I-MG90S: Ifana ne-SG90, kodwa inamagiya ensimbi nokuxhumanisa, ngakho ingakwazi ukusekela kufika ku-1.8kg.
  • I-MG996R: Inosayizi omkhudlwana, kodwa ingakwazi ukusekela kufika ku-15 Kg uma idliwe ku-6V, noma i-13 Kg uma idliwe ku-4.8v.

Imininingwane engaphezulu - Landa i-datasheet

Ungathenga kuphi imodeli ye-servo motor efana nalena ngentengo ephansi

Uma ufuna ukuthenga i-servomotor ye-Servo SG90 yalolu hlobo, ungayithola ezitolo ezikhethekile ze-electronics noma endaweni yesikhulumi se-Amazon. Ngokwesibonelo, le mikhiqizo enconyiwe:

Njengoba ubona, Zishibhile kakhulu, futhi ungawathenga ekhululekile noma emaphaketheni amarobhothi namanye amaphrojekthi lapho udinga khona okungaphezu kweyodwa. Ngaphezu kwalokho, amanye amaphakethe afaka izesekeli ezithile ezengeziwe, njengama-blades, izikulufu, njll.

Kepha okuhlukile okushiwo ngenhla, unalezi:

Manje, uma okufunayo kuyilokhu i-servo motor enamandla kakhulu futhi eqinile, ekwazi ukukwazi ukumelana nemithwalo emikhulu kanye netorque enkulu, khona-ke uzoba neminye futhi eminyene kodwa enokusebenza okuphezulu:

Ungayisebenzisa kanjani nge-Arduino

I-Arduino IDE, izinhlobo zedatha, ukuhlela

Ukunikeza isibonelo somdwebo we-Arduino IDE ukuze uqale ukuqonda ukuthi i-SG90 Servos isebenza kanjani, nali icala elingokoqobo. Kodwa okokuqala, ake sibone ukuthi kufanele xhuma i-servo ebhodini lakho le-Arduino:

  • I-VDC: Kufanele ixhunywe kugesi wangaphandle noma kusixhumi esingu-5V se-Arduino. Uma uzosebenzisa izinsiza zikagesi ezimbalwa, khumbula njalo ukubeka phansi noma i-GND ngokufanayo ukuze ugweme izinkinga.
  • I-GND: Ungakwazi ukuyixhuma ku-GND yebhodi le-Arduino.
  • Isignali ye-PPM: ingaya kunoma yimaphi amaphinikhodi e-PWM ku-Arduino. Isibonelo, ukuya ku-D11 kumdwebo wethu.

Ukubona isibonelo sekhodi yomthombo, ongazama futhi ulungise ngokuthanda kwakho, unezibonelo zakho zombili ongazibona ku-IDE ngazo umtapo wezincwadi we-Servo.h, njengalena enye:

#include <Servo.h>

Servo myservo;  //Crear el objeto servo

int pos = 0;    //Posición inicial del servo SG90

void setup() {
   myservo.attach(11);  //Vincular el pin 11 de Arduino al control del Servo SG90
}

void loop() {
   //Cambia la posición de 0º a 180º, en intervalos de 25ms
   for (pos = 0; pos <= 180; pos += 1) 
   {
      myservo.write(pos);              
      delay(25);                       
   }

   //Vuelve desde 180º a 0º, con esperas de 25ms
   for (pos = 180; pos >= 0; pos -= 1) 
   {
      myservo.write(pos);              
      delay(25);                       
   }
}

Imininingwane engaphezulu - Landa imanuwali yokuhlela ye-Arduino


Okuqukethwe yi-athikili kunamathela ezimisweni zethu ze izimiso zokuhlelela. Ukubika iphutha chofoza lapha.

Yiba ngowokuqala ukuphawula

Shiya umbono wakho

Ikheli lakho le ngeke ishicilelwe.

*

*

  1. Ubhekele imininingwane: Miguel Ángel Gatón
  2. Inhloso yedatha: Lawula Ugaxekile, ukuphathwa kwamazwana.
  3. Ukusemthethweni: Imvume yakho
  4. Ukuxhumana kwemininingwane: Imininingwane ngeke idluliselwe kubantu besithathu ngaphandle kwesibopho esisemthethweni.
  5. Isitoreji sedatha: Idatabase ebanjwe yi-Occentus Networks (EU)
  6. Amalungelo: Nganoma yisiphi isikhathi ungakhawulela, uthole futhi ususe imininingwane yakho.

Isivivinyo sesiNgisiHlola isiCatalanimibuzo yeSpanishi