Servo SG90: zvese zvaunoda kuziva nezve iyi diki mota yemagetsi

Servo SG90

Kune mhando dzinoverengeka dze magetsi emota, se steppers, kana stepper motorsand the servomotors. Mukati mekupedzisira mune mamwe mamodheru anonakidza, akadai nyaya yeServo SG90. Servo inogona kuve yakanakira mapurojekiti ekutanga, maitiro nerudzi urwu rwechishandiso, kudzidza, nyore marobhoti kutonga, nezvimwe. Zvakare, simba rayo rinodiwa zvakaderera, rinogona kutopihwa simba kubva kune adrien plate kana kubva paPC USB port kuenda ku5v.

Chii chinonzi Micro Servo SG90?

servomotor

Iyo SG90 servo idiki servo, ine zvimwe zvakanyanya compact dimensions kukwanisa kubatanidza mumapurojekiti umo nzvimbo yakakosha. Pamusoro pezvo, ine hupfumi uye iri nyore kushandisa, ine yakaderera simba kudiwa, saka zvinogoneka zvakare kuishandisa yakamisikidzwa, IoT kana imwe yakaderera yekushandisa application.

Kana iri Servo SG90, iyi servo mota inosanganisira a universal type S connector iyo inozokwanisa kukwana mune mazhinji ezvigadzirwa zvekutengesa. Inoumbwa newaya nhatu dzine mavara anoratidza kuti imwe neimwe inoshandiswa sei:

  • Red: ndiyo yakanaka tambo yemagetsi kana Vcc (+)
  • bhurawuni: ndiyo tambo yemagetsi yakaipa (-) kana GND (pasi)
  • Orange: ndiyo tambo inotakura iyo PPM (Pulse Position Modulation) chiratidzo chekudzora servomotor.

Mamwe mamodheru anogonawo kuve nerunyoro rwekuumbwa Mutema-Mutsvuku-Muchena, mune iyo kesi chirongwa mune iyi kesi chingave GND-Vcc-PPM Chiratidzo zvichiteerana.

SG90 Servo Zvimiro

Kana zvakadaro hwokugadzira hunhu yeiyi servomotor, iyo Servo SG90 inomira kunze kwe:

Aya maitiro ane fungidziro, nekuti anogona kusiyana zvishoma zvichienderana nekuti ndeapi mamodheru uye mhando dzeSG90 servo. Naizvozvo, zvakanakisa kurodha dhetabheti inoenderana nemuenzaniso wawakatenga. Semuenzaniso, pachinzvimbo chekushivirira tembiricha dziri pakati -30 kusvika 60ºC, vamwe vanongodaro kubva -10 kusvika 50ºC, vamwe vanogona kugamuchira voltages kubva pa3 kusvika 6V, nezvimwe.
  • inotsigirwa uremu: pakati pe1.2 ne1.6 Kg (inokwana nehukuru hwayo hudiki)
  • Motokari torque pa 4.8v: 1.2kg/cm
  • Kushanda voltage: 4 – 7.2v
  • Spin kumhanya pa4.8v: 0.12s/60º
  • kutenderera angle:120º
  • Kushanda tembiricha range: -30ºC uye +60ºC
  • Vipimo: 22 × 11.5 × 27 mm
  • Weight: 9 g kana 10.6 g kusanganisira tambo uye chinongedzo
  • Arduino-inoenderana: Ehe
  • universal connector: inoenderana nevazhinji vanogamuchira redhiyo (Futaba, JR, GWS, Cirrus, Hitec,…)

Iwe zvakare uchawana mamwe akasiyana eServo SG90, sei:

  • MG90S: Zvakafanana neSG90, asi ine magiya esimbi uye zvinongedzo, saka inogona kutsigira kusvika 1.8kg.
  • MG996R: Iine saizi yakati kurei, asi inogona kutsigira kusvika ku15 Kg kana ichidyiwa pa6V, kana 13 Kg kana ichidyiwa pa4.8v.

Mamwe mashoko - Dhawunirodha datasheet

Kwaunotenga servo mota modhi yakadai nemutengo wakaderera

Kana iwe uchida kutenga Servo SG90 servomotor yerudzi urwu, unogona kuvawana mune zvimwe zvitoro zvemagetsi zvehunyanzvi kana papuratifomu yeAmazon. Semuyenzaniso, izvi zvinokurudzirwa zvigadzirwa:

Sezvauri kuona, Ivo zvakachipa kwazvo, uye iwe unogona kuzvitenga zvakasununguka kana mumapakiti emarobhoti uye mamwe mapurojekiti kwaunoda anopfuura rimwe chete. Uye zvakare, mamwe mapaketi anosanganisira zvimwe zvekuwedzera, senge blades, screws, nezvimwe.

Kana zvakadaro akasiyana zvakanyorwa pamusoro, une izvi:

Zvino, kana zvauri kutsvaga zviri imwe yakasimba uye yakasimba servo mota, inokwanisa kukwanisa kumira mitoro yakakura uye ine torque yakakura, saka iwe zvakare une mamwe ari compact asi ane mashandiro epamusoro:

Maitiro ekuishandisa neArduino

Arduino IDE, mhando dzedata, kuronga

Kupa muenzaniso weiyo sketch yeArduino IDE kuitira kuti utange kunzwisisa mashandiro anoita SG90 Servos, heino nyaya inoshanda. Asi kutanga, ngationei kuti unofanira sei batanidza servo kune yako Arduino board:

  • VDC: Inofanirwa kuve yakabatana kune ekunze magetsi ekupa kana kune 5V yekubatanidza yeArduino. Kana iwe uchizoshandisa akati wandei magetsi, rangarira kugara uchiisa pasi kana GND zvakafanana kudzivirira matambudziko.
  • GND: Unogona kuibatanidza neGND yeArduino board.
  • PPM chiratidzo: inogona kuenda kune chero yePWM pini paArduino. Semuenzaniso, kune D11 mune yedu sketch.

Kuti uone muenzaniso source code, iyo yaunogona kuedza nekugadzirisa sezvaunoda, une yako yese mienzaniso yaunogona kuona muIDE nayo. iyo Servo.h raibhurari, semumwe uyu:

#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);                       
   }
}

Mamwe mashoko - Dhawunirodha Arduino programming manual


Izvo zviri muchinyorwa zvinoomerera pamisimboti yedu ye tsika dzekunyora. Kuti utaure chikanganiso tinya pano.

Iva wekutanga kutaura

Siya yako yekutaura

Your kero e havazobvumirwi ichibudiswa.

*

*

  1. Inotarisira iyo data: Miguel Ángel Gatón
  2. Chinangwa cheiyo data: Kudzora SPAM, manejimendi manejimendi.
  3. Legitimation: Kubvuma kwako
  4. Kutaurirana kwedata
  5. Dhata yekuchengetedza: Dhatabhesi inobatwa neOccentus Networks (EU)
  6. Kodzero: Panguva ipi neipi iwe unogona kudzora, kupora uye kudzima ruzivo rwako

Chirungu bvunzoTest CatalanSpanish quiz