28BYJ-48: zvese zvaunoda kuti uzive nezve ino gwara mota

28BYJ-48 and injini

Imwe yei Inonyanya kufarirwa stepper mota ndeye 28BYJ-48. Mushure mechinyorwa chakaburitswa mune ino blog, iwe unofanirwa kunge uchitoziva zvese zvaunoda nezverudzi urwu rweinjini yechokwadi mukati mawo iwe yaunogona kudzora kutendeuka kuitira kuti ifambire mberi zvishoma kana kuramba yakamira panzvimbo iwe yaunoda. Izvo zvinovatendera kuti vave nehuwandu hwekushandisa, kubva kumaindasitiri, kuenda kumarobhoti, kuburikidza nezvimwe zvakawanda zvaunogona kufunga nezvazvo.

Iyo 28BYJ-48 idiki unipolar mhando inonamira mota, uye zviri nyore kusanganisa neArduino, sezvo iine mutyairi / mutungamiriri module modhi ULN2003A iyo inowanzo kuverengerwa pamwe chete nayo. Zvese zvemutengo wakachipa uye saizi yakaenzana. Izvo maficha zvinoitawo kuti zvive zvakanaka kutanga kudzidzira neano madhiraivha

28BYJ-48 Zvimiro

28BYJ-48

Iyo mota 28BYJ-498 Iyo inofambisa mota ine zvinotevera hunhu:

  • Tipo: inotsika mota kana unipolar inotsika
  • Phases: 4 (yakazara nhanho), sezvo paine mana mairi mukati.
  • Kurwisana: 50 Ω.
  • Motor torque: 34 N / m, ndiko kuti, kana maNewtons pamamita akapfuudzwa kuenda kuKg, ingave iri simba rakaenzana nekuisa anenge 0.34 Kg pa cm paakabatana. Zvakwana kusimudza ne pulley inopfuura kota yekirogiramu.
  • Kushandiswa: 55mA
  • Matanho pamakumbo: 8 hafu nhanho mhando (45º imwe neimwe)
  • Yakabatanidzwa gearbox: hongu, 1/64, saka inopatsanura nhanho imwe kuita zvidiki makumi matanhatu nenhanhatu kuti inyatsoita chokwadi, saka inosvika makumi mashanu negumi nenomwe matanho e64º imwe neimwe. Kana iyo inogona zvakare kuonekwa se512 yakazara nhanho pamakumbo (yakazara nhanho).

Yakazara kana hafu nhanho, kana yakazara nehafu nhanho, ndiwo mamodhi maunogona kushanda. Kana iwe uchirangarira, mune chinyorwa cheanotsika mota ini ndakati iyo kodhi muenzaniso weArduino IDE yakashanda yakazara torque.

Kuti uwane rumwe ruzivo, unogona dhawunirodha rako datasheet, se semuenzaniso izvi. Kana iri pinout, haufanire kunetseka zvakanyanya, kunyangwe iwe uchigona zvakare kuona ruzivo mune dhatasheet remhando iwe yawakatenga. Asi kongiri iyi ine chinongedzo chinokutendera iwe kuti ubatanidze tambo dzese panguva imwe chete, usinganetseke nezvekuparadzaniswa kana kwainoenda imwe neimwe, ingoisa mukati memutongi uye voila ...

ULN2003 module mutyairi

Kana iri mota controller kana mutyairi akaisirwa mune ino 28BYJ-48 mota, unayo iyo ULN2003A, Imwe yeanonyanya kuzivikanwa uye ayo aunogona kushandisa neArduino nyore kwazvo. Iine rondedzero yeDarlington transistors inotsigira inosvika mazana mashanu emamirimita uye ine mapini ekubatanidza kubatanidza iwo mairi mana nemapini eArduino board akaverengerwa kubva IN500 kusvika IN4, sekuona kwawakaita mune yekutsika mota chinyorwa chandakambotaura kare. Kubva kuArduino, unogona kuwana tambo kubva pa1v uye GND pini kuenda kumapini maviri pane mutyairi module bhodhi yakamisikidzwa - + (4-5v) kusimbisa bhodhi uye inotsika mota.

ULN2003A chip pinout uye dunhu

Nenzira, ne Darlington vatapuri inobvumidzwa kushandisa vaviri bipolar transistors vakaiswa pamwechete uye vachiita seyakafanana transistor. Izvi zvinowedzera zvakanyanya kuwanikwa kwechiratidzo mune inokonzeresa imwe 'transistor', uye zvakare inobvumira yakakwira mafungu uye ma voltages kutakurwa.

El Darlington vaviri, se "transistor" imwe chete inoumbwa nekubatanidzwa kwemaviri bipolar transistors inozivikanwa. Iyo yakatanga kuBell Labs muna 1952, naSidney Darlington, ndosaka iri zita rayo. Aya ma transistor akabatana nenzira yekuti imwe NPN ine muteresi wayo yakabatana nemuteresi wechipiri NPN transistor. Nepo mupi wekutanga achienda kuzasi kwechipiri. Ndokunge, iyo inoguma transistor kana vaviri vane matatu mahukama seyechete transistor. Hwaro hweyekutanga transistor uye muunganidzi / emitter wechipiri transistor ...

Kwokutenga mota

28BYJ-48 injini package

ari iwe unogona kuwana muzvitoro zvakawanda nyanzvi mune zvemagetsi, uye zvakare online seAmazon. Semuenzaniso, unogona kuzvitenga pa:

  • Kweinenge € 6 unogona kuva ne 28BYJ-48 injini ine mutyairi module.
  • Hapana zvigadzirwa zvakawanikwa. uye tambo dzekubatana kwayo, kana iwe uchizoda inodarika imwe mota yerobhoti kana chirongwa chauri kuita ...

Kugadzira iyo 28BYJ-48 ine Arduino

Arduino ine inotsika mota uye controller

Chekutanga pane zvese, iwe unofanirwa iva akajeka nezve pfungwa dzeinotsika mota, saka ndinokukurudzira verenga chinyorwa chaHwlibre pazvinhu izvi. Idzi mota hadzina kugadzirirwa kupihwa chikafu chichienderera mberi, asi kudziyananisa muzvikamu zvavo zvakasiyana kuti vafambire mberi chete madhigiri isu atinoda. Kuti ufadze zvikamu uye kudzora kutenderera kweiyo shaft, iwe uchafanirwa kufudza yega yega kubatana zvakanaka.

Mugadziri anokurudzira kutyaira mairi maviri panguva.

  • Kuti zvishande panguva yepamusoro torque, nekumhanya nekukurumidza uye nekushandisa zvakanyanya, unogona kushandisa tafura iyi:
Paso Coil A Coil B Coil C Coil D
1 HIGH HIGH LOW LOW
2 LOW HIGH HIGH LOW
3 LOW LOW HIGH HIGH
4 HIGH LOW LOW HIGH
  • Kufadza coil imwe chete panguva, uye ita kuti ishande mu wave drive modhi (kunyangwe hafu, asi yakaderera kushandisa), unogona kushandisa inotevera tafura:
Paso Coil A Coil B Coil C Coil D
1 HIGH LOW LOW LOW
2 LOW HIGH LOW LOW
3 LOW LOW HIGH LOW
4 LOW LOW LOW HIGH
  • Kana kufambira mberi hafu nhanho, unogona kushandisa izvi kuti uwane zvakanyanya kutendeuka nenzira nhanho pfupi:
Paso Coil A Coil B Coil C Coil D
1 HIGH LOW LOW LOW
2 HIGH HIGH LOW LOW
3 LOW HIGH LOW LOW
4 LOW HIGH HIGH LOW
5 LOW LOW HIGH LOW
6 LOW LOW HIGH HIGH
7 LOW LOW LOW HIGH
8 LOW LOW LOW HIGH

Uye iwe unogona kufunga ... izvi zvinei nechekuita neArduino chirongwa? Zvakanaka chokwadi ndechekuti zvakawanda, kubvira iwe unogona kugadzira matrix kana kurongeka nemitengo muArduino IDE kuitira kuti mota ifambe sezvaunoda, wobva washandisa zvakarongedzwa muchiuno kana paunenge uchizvida ... Uchifunga kuti LOW = 0 uye HIGH = 1, ndiko kuti, kusavapo kwemhepo kana yakakwira voltage, unogona kugadzira iwo masaini ayo Arduino aunofanira kutumira kune mutyairi kutyaira mota. Semuenzaniso, kutora matanho epakati iwe unogona kushandisa kodhi yematrikisi:

int Paso [ 8 ][ 4 ] = 
     {  {1, 0, 0, 0}, 
        {1, 1, 0, 0}, 
        {0, 1, 0, 0}, 
        {0, 1, 1, 0}, 
        {0, 0, 1, 0}, 
        {0, 0, 1, 1}, 
        {0, 0, 0, 1}, 
        {1, 0, 0, 1} };

Ndizvozvo, zve iyo yakazara kodhi yemufananidzo Kubva kuArduino IDE, unogona kushandisa uyu muenzaniso wekutanga kuyedza mashandiro anoita mota 28BYJ-48 yekutsika. Nayo, unogona kutenderedza iyo shaft yemota kana iwe uchinge waine dhayagiramu rese rakabatana zvakanaka. Edza kushandura iwo maratidziro kana kushandura kodhi yekushandisa iwe yaunoda iwewe:

// Definir pines conectados a las bobinas del driver
#define IN1  8
#define IN2  9
#define IN3  10
#define IN4  11

// Secuencia de pasos a par máximo del motor. Realmente es una matriz que representa la tabla del unipolar que he mostrado antes
int paso [4][4] =
{
  {1, 1, 0, 0},
  {0, 1, 1, 0},
  {0, 0, 1, 1},
  {1, 0, 0, 1}
};

void setup()
{
  // Todos los pines se configuran como salida, ya que el motor no enviará señal a Arduino
  pinMode(IN1, OUTPUT);
  pinMode(IN2, OUTPUT);
  pinMode(IN3, OUTPUT);
  pinMode(IN4, OUTPUT);
}

// Bucle para hacerlo girar
void loop()
{ 
    for (int i = 0; i < 4; i++)
    {
      digitalWrite(IN1, paso[i][0]);
      digitalWrite(IN2, paso[i][1]);
      digitalWrite(IN3, paso[i][2]);
      digitalWrite(IN4, paso[i][3]);
      delay(10);
    }
}

Sezvauri kuona, mune ino kesi yaizoshanda neinonyanya torque kumisikidza iwo mairi maviri neaviri ...


Iva wekutanga kutaura

Siya yako yekutaura

Your kero e havazobvumirwi ichibudiswa. Raida minda anozivikanwa ne *

*

*

  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