Servo SG90: nā mea āpau e pono ai ʻoe e ʻike e pili ana i kēia mīkini uila liʻiliʻi

Servo SG90

Aia kekahi mau ʻano o nā ʻaka uila, Pehea steppers, or stepper motors, a me ka mīkini kaʻa lawelawe. Aia i loko o ka hope kekahi mau hiʻohiʻona hoihoi, e like me ka hihia o Servo SG90. ʻO kahi servo hiki ke kūpono no nā papahana mua, nā hoʻomaʻamaʻa me kēia ʻano mea, ke aʻo ʻana, ka mana robot maʻalahi, etc. Eia kekahi, he haʻahaʻa loa kona mana mana, hiki ke hoʻohana ʻia mai kahi pā adrien aiʻole mai kahi port USB PC a i 5v.

He aha ka Micro Servo SG90?

lawelawe lawelawe

ʻO ka SG90 servo he miniature servo, me kekahi nā ana paʻa loa e hiki ke hoʻohui i nā papahana kahi mea nui. Eia kekahi, he mea waiwai a maʻalahi hoʻi e hoʻohana, me ka haʻahaʻa haʻahaʻa o ka ikehu koi, no laila hiki ke hoʻohana ʻia i loko o embedded, IoT a i ʻole nā ​​​​mea hoʻohana haʻahaʻa haʻahaʻa.

ʻO ka Servo SG90, aia kēia kaʻa servo a mea hoʻohui S type universal hiki ke kūpono i ka hapa nui o nā mea pāʻoihana. Hana ʻia ia me 3 mau uea me nā kala e ʻike ai i ka mea e hoʻohana ʻia ai kēlā me kēia:

  • Rojo: ʻo ia ke kaula mana maikaʻi a i ʻole Vcc (+)
  • Palaunu: ʻo ke kelepona mana ʻino (-) a i ʻole GND (kahi honua)
  • ʻAukala: ʻo ia ke kaula e lawe ana i ka hōʻailona PPM (Pulse Position Modulation) e hoʻomalu i ka servomotor.

Hiki i kekahi mau hi'ohi'ona ke 'ike i ka haku mele 'ana ʻEleʻele-ʻulaʻula-Keʻokeʻo, ma ia hihia, ʻo ia ka GND-Vcc-PPM Signal ka papahana ma kēia hihia.

Nā hiʻohiʻona SG90 Servo

Ma ke'ano o nā ʻano ʻenehana o kēia servomotor, kū ka Servo SG90 no:

ʻO kēia mau hiʻohiʻona kahi kokoke, no ka mea hiki ke ʻano liʻiliʻi ma muli o nā hiʻohiʻona a me nā hōʻailona o ka servo SG90. No laila, ʻoi aku ka maikaʻi o ka hoʻoiho ʻana i ka datasheet e pili ana i ke kumu hoʻohālike āu i kūʻai ai. No ka laʻana, ma kahi o ka ʻae ʻana i nā pae wela ma waena o -30 a me 60ºC, hana wale kekahi mai -10 a 50ºC, hiki i kekahi ke ʻae i nā volta mai 3 a 6V, etc.
  • kaumaha kākoʻo: ma waena o 1.2 a me 1.6 Kg ( lawa no kona nui liʻiliʻi)
  • ʻO ke kaʻa kaʻa ma 4.8v: 1.2kg/cm
  • Anakahi uila: 4 – 7.2v
  • ʻO ka māmā holo ma 4.8v: 0.12s/60º
  • huina hoololi: 120º
  • Laulā wela hana: -30ºC a me +60ºC
  • Nā Palena: 22 × 11.5 × 27 mm o
  • 'O ke kaumaha: 9 g a i ʻole 10.6 g me ke kaula a me ka mea hoʻohui
  • Arduino-kūpono: ae
  • mea hoʻohui honua: kūpono me ka hapa nui o nā mea hoʻokele lekiō (Futaba, JR, GWS, Cirrus, Hitec,…)

E ʻike pū ʻoe kekahi mau ʻano like ʻole o ka Servo SG90, e like me:

  • MG90S: E like me ka SG90, akā loaʻa nā mea metala a me nā loulou, no laila hiki iā ia ke kākoʻo i ka 1.8kg.
  • MG996R: He nui iki kona nui, akā hiki iā ia ke kākoʻo i ka 15 Kg ke hānai ʻia ma 6V, a i ʻole 13 Kg inā hānai ʻia ma 4.8v.

ʻIke hou aku - Hoʻoiho i ka ʻikepili

Ma hea e kūʻai aku ai i ke kumu hoʻohālike servo e like me kēia ma ke kumu kūʻai haʻahaʻa

Inā makemake ʻoe e kūʻai i Servo SG90 servomotor o kēia ʻano, hiki iā ʻoe ke loaʻa iā lākou ma kekahi mau hale kūʻai uila kūikawā a i ʻole ma ka kahua Amazon. ʻo kahi laʻana, kēia mau huahana i ʻōlelo ʻia:

E like me kāu e ʻike nei, Kūʻai nui lākou, a hiki iā ʻoe ke kūʻai iā lākou me ka wehe a i ʻole i loko o nā ʻeke no nā robots a me nā papahana ʻē aʻe kahi āu e makemake ai ma mua o hoʻokahi. Eia kekahi, aia kekahi mau ʻeke i kekahi mau mea ʻē aʻe, e like me nā blades, screws, etc.

Ma ke'ano o nā ʻano like ʻole i ʻōlelo ʻia ma luna, loaʻa iā ʻoe kēia:

I kēia manawa, inā ʻo ka mea āu e ʻimi nei ʻoi aku ka ikaika a me ka ikaika o ka mīkini servo, hiki iā ʻoe ke kū i nā ukana ʻoi aku ka nui a me ka torque ʻoi aku ka nui, a laila loaʻa iā ʻoe nā mea ʻē aʻe i paʻa pū akā me ka hana ʻoi aku ka kiʻekiʻe:

Pehea e hoʻohana ai me Arduino

Arduino IDE, ʻano ʻikepili, hoʻolālā

No ka hāʻawi ʻana i kahi laʻana o kahi kiʻi kiʻi no ka Arduino IDE i hiki iā ʻoe ke hoʻomaka e hoʻomaopopo i ka hana ʻana o ka SG90 Servos, eia kahi hihia kūpono. Akā ʻo ka mua, e ʻike kākou pehea ʻoe e pono ai hoʻohui i ka servo i kāu papa Arduino:

  • VDC: Pono e hoʻopili ʻia i kahi lako mana waho a i ʻole ka mea hoʻohui 5V o ka Arduino. Inā ʻoe e hoʻohana i nā lako mana, e hoʻomanaʻo e hoʻohui mau i ka lepo a i ʻole GND i mea maʻamau e pale aku i nā pilikia.
  • GND: Hiki iā ʻoe ke hoʻohui iā ia i ka GND o ka papa Arduino.
  • PPM hōʻailona: hiki ke hele i kekahi o na pine PWM ma ka Arduino. No ka laʻana, iā D11 i kā mākou sketch.

E ʻike ka laʻana kumu kumu, hiki iā ʻoe ke hoʻāʻo a hoʻololi e like me kou makemake, loaʻa iā ʻoe kāu mau hiʻohiʻona ponoʻī āu e ʻike ai ma ka IDE me ka hale waihona puke Servo.h, e like me kēia mea ʻē aʻe:

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

ʻIke hou aku - Hoʻoiho i ka manual programming Arduino


Hoʻopili ka ʻike o ka ʻatikala i kā mākou kumumanaʻo o ka hoʻoponopono hoʻoponopono. E hōʻike i kahi kaomi hemahema ʻaneʻi.

E lilo i mea mua e wehewehe

E waiho i kāu manaʻo

Kāu leka uila aae? E,ʻaʻole e paʻiʻia.

*

*

  1. He kuleana no ka ʻikepili: Miguel Ángel Gatón
  2. Ke kumu o ka ʻikepili: kaohi SPAM, hoʻokele ʻōlelo.
  3. Legitimation: Kou ʻae
  4. Ka kamaʻilio ʻana o ka ʻikepili: ʻaʻole e hōʻike ʻia ka ʻikepili i nā ʻaoʻao ʻekolu koe ka mana o ke kānāwai.
  5. Pūnaewele mālama: Pūnaewele i mālama ʻia e Occentus Networks (EU)
  6. Nā Kuleana: I kēlā me kēia manawa hiki iā ʻoe ke palena, hoʻōla a kāpae i kāu ʻike.

Hoʻāʻo PelekaniaE ho'āʻo iā Catalankuʻikahi Paniolo