28BYJ-48: chilichonse chomwe muyenera kudziwa za stepper motor iyi

28BYJ-48 stepper mota

Mmodzi wa Sitima yotchuka kwambiri ndi 28BYJ-48. Pambuyo pa nkhani yomwe idasindikizidwa mu blog iyi, muyenera kudziwa kale chilichonse chomwe mungafune pamtundu wa injini mwatsatanetsatane momwe mungayang'anire potembenukira kuti iziyenda pang'onopang'ono kapena kuti isasunthike pamalo omwe mukufuna. Izi zimawalola kukhala ndi mapulogalamu ambiri, kuchokera kumafakitale, kupita ku roboti, kudzera mwa ena ambiri omwe mungaganizire.

28BYJ-48 ndi yaying'ono Unipolar mtundu stepper mota, Ndipo ndizosavuta kuphatikizira ndi Arduino, popeza ili ndi driver driver / module module ULN2003A yomwe nthawi zambiri imaphatikizidwa nayo. Zonse pamtengo wotsika mtengo kwambiri komanso kukula kokwanira. Zinthu izi zimapangitsanso kukhala zabwino kuyamba kuyeseza ndi zida izi.

Makhalidwe a 28BYJ-48

Chitsamba

Njinga Chitsamba Ndi stepper mota yomwe ili ndi izi:

  • Lembani: stepper mota kapena unipolar stepper
  • Miyezi: 4 (sitepe yathunthu), popeza pali ma coils 4 mkati.
  • Kutsutsana: 50 Ω.
  • Makokedwe a Injini: 34 N / m, ndiye kuti, ngati ma Newtons pa mita atadutsidwira ku Kg, ikadakhala mphamvu yofanana ndi kuyika 0.34 Kg pa cm pamizere yake. Zokwanira kukweza ndi pulley zopitilira kotala la kilo.
  • Kumwa: 55 MA
  • Masitepe pamiyendo: 8 yamtundu wa theka (45º lililonse)
  • Bokosi lamagetsi lophatikizidwa: inde, 1/64, chifukwa chake imagawaniza sitepe iliyonse kukhala 64 ang'onoang'ono molondola kwambiri, chifukwa chake imafikira masitepe 512 a 0.7º lililonse. Kapena imawonekeranso ngati masitepe okwanira 256 pamiyendo (sitepe yathunthu).

Masitepe athunthu kapena theka, kapena masitepe athunthu ndi theka, ndi njira zomwe mungagwiritsire ntchito. Ngati mukukumbukira, m'nkhani yonena za ma stepper motors ndidati chitsanzo cha Arduino IDE chimagwira nthawi yonse.

Kuti mumve zambiri, mutha Tsitsani zolemba zanu, bwanji Mwachitsanzo izi. Ponena za pinout, simuyenera kuda nkhawa kwambiri, ngakhale mutha kuwona zambiri pazosanja pazomwe mudagula. Koma konkriti iyi ili ndi kulumikizana komwe kumakupatsani mwayi wolumikiza zingwe zonse nthawi imodzi, osadandaula za kugawanika kapena komwe kulikonse kumapita, ingoyikani mu wolamulira ndi voila ...

ULN2003 dalaivala gawo

Ponena za woyendetsa galimoto kapena woyendetsa omwe akuphatikizidwa ndi mota iyi ya 28BYJ-48, muli nayo ULN2003A, imodzi mwazotchuka kwambiri komanso zomwe mungagwiritse ntchito ndi Arduino mosavuta. Ili ndi ma transistors angapo a Darlington omwe amathandizira mpaka 500mA ndipo ali ndi zikhomo zolumikizira zolumikizira ma coil 4 ndi zikhomo za board ya Arduino yochokera ku IN1 mpaka IN4, monga momwe mwawonera munkhani yomwe ndidatchulapo kale. Kuchokera ku Arduino, mutha kukhala ndi mawaya kuchokera pa 5v ndi GND pini mpaka zikhomo ziwiri zomwe zili pagalimoto yoyendetsa - + (5-12v) kuti mupatse mphamvu bolodi ndi stepper motor.

ULN2003A chip pinout ndi dera

Mwa njira, ndi Opanga ma Darlington Amaloledwa kugwiritsa ntchito ma transipor awiri ochititsa kuti anthu azisinthasintha zochitika omwe amaikidwa pamodzi ndikukhala ngati transistor imodzi. Izi zimawonjezera phindu la chizindikirocho mu 'transistor' imodzi, ndipo zimathandizanso kuti mafunde azikwera kwambiri.

El Darlington awiri, monga "transistor" m'modzi wopangidwa ndi kuphatikiza ma transistor awiri osinthasintha zochitika amadziwika. Zinayambira ku Bell Labs mu 1952, wolemba Sidney Darlington, chifukwa chake limadziwika. Transistors awa amalumikizidwa mwanjira yoti NPN imodzi ilumikizane ndi wosonkhanitsa kwa wosonkhetsa transistor wachiwiri wa NPN. Pomwe wopereka woyamba amapita kumapeto kwa chachiwiri. Ndiye kuti, transistor kapena awiriwo omwe amakhala ndi zotsatirazi ali ndi zolumikizana zitatu ngati transistor imodzi. Pansi pa woyamba transistor ndi wokhometsa / wotulutsa wa transistor wachiwiri ...

Komwe mungagule mota

Phukusi la injini la 28BYJ-48

ndi mungapeze m'masitolo ambiri odziwika bwino pamagetsi, komanso pa intaneti ngati Amazon. Mwachitsanzo, mutha kuzigula pa:

Kukonzekera 28BYJ-48 ndi Arduino

Arduino yokhala ndi stepper mota komanso wowongolera

Choyamba, muyenera Dziwani bwino za malingaliro a stepper motor, kotero ndikukulangizani werengani nkhani ya Hwlibre pazinthu izi. Ma mota awa sanapangidwe kuti azidyetsedwa mosalekeza, koma kuwazaza m'magulu awo osiyanasiyana kuti azingopita madigiri omwe tikufuna. Kuti musangalatse magawo ndikuwongolera kuzungulira kwa shaft, muyenera kudyetsa kulumikizana kulikonse moyenera.

Wopanga amalimbikitsa kuyendetsa ma coil 2 nthawi imodzi.

  • Kuti ntchito pa makokedwe pazipita, mwachangu komanso mwachangu kwambiri, mutha kugwiritsa ntchito tebulo ili:
Paso Koyilo A. Makulidwe B Koyilo C Koyikira D.
1 HIGH HIGH ZOCHITA ZOCHITA
2 ZOCHITA HIGH HIGH ZOCHITA
3 ZOCHITA ZOCHITA HIGH HIGH
4 HIGH ZOCHITA ZOCHITA HIGH
  • Kusangalatsa koyilo imodzi yokha, ndikupangitsa kuti igwire ntchito mu mawonekedwe oyendetsa pagalimoto (ngakhale theka, koma osagwiritsa ntchito kwambiri), mutha kugwiritsa ntchito tebulo ili:
Paso Koyilo A. Makulidwe B Koyilo C Koyikira D.
1 HIGH ZOCHITA ZOCHITA ZOCHITA
2 ZOCHITA HIGH ZOCHITA ZOCHITA
3 ZOCHITA ZOCHITA HIGH ZOCHITA
4 ZOCHITA ZOCHITA ZOCHITA HIGH
  • Kapena kupita patsogolo masitepe theka, mutha kugwiritsa ntchito izi kuti mukwaniritse kusinthasintha kwakanthawi kochepa:
Paso Koyilo A. Makulidwe B Koyilo C Koyikira D.
1 HIGH ZOCHITA ZOCHITA ZOCHITA
2 HIGH HIGH ZOCHITA ZOCHITA
3 ZOCHITA HIGH ZOCHITA ZOCHITA
4 ZOCHITA HIGH HIGH ZOCHITA
5 ZOCHITA ZOCHITA HIGH ZOCHITA
6 ZOCHITA ZOCHITA HIGH HIGH
7 ZOCHITA ZOCHITA ZOCHITA HIGH
8 ZOCHITA ZOCHITA ZOCHITA HIGH

Ndipo mwina mungaganize ... kodi izi zikukhudzana bwanji ndi pulogalamu ya Arduino? Chowonadi ndichakuti, kuyambira Mutha kupanga matrix kapena gulu limodzi ndi zomwe zili mu Arduino IDE kuti galimoto iziyenda mwakufuna kwawo, kenako mugwiritse ntchito zotchinga kapena mukazifuna ... Poganizira kuti LOW = 0 ndi HIGH = 1, ndiye kuti, kusowa kwamagetsi kapena mphamvu yamagetsi, mutha kupanga zikwangwani zomwe Arduino muyenera kutumiza kwa woyang'anira kuyendetsa mota. Mwachitsanzo, kuti mutenge masitepe apakati mutha kugwiritsa ntchito nambala ya matrix:

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

Ndiye, chifukwa nambala yonse ya seweroli Kuchokera ku Arduino IDE, mutha kugwiritsa ntchito fanizoli poyesa momwe magalimoto a 28BYJ-48 amagwirira ntchito. Ndicho, mutha kusinthasintha shaft yamagalimoto mukangokhala ndi chithunzi chonse cholumikizidwa bwino. Yesetsani kusintha miyezo kapena kusintha nambala kuti mugwiritse ntchito zomwe mukufuna:

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

Monga mukuwonera, pakadali pano imagwira ntchito ndi torque yayikulu kuyambitsa ma coil awiri ndi awiri ...


Zomwe zili m'nkhaniyi zikutsatira mfundo zathu za malamulo okonzekera. Kuti mufotokoze cholakwika dinani Apa.

Khalani oyamba kuyankha

Siyani ndemanga yanu

Anu email sati lofalitsidwa. Amafuna minda amalembedwa ndi *

*

*

  1. Wotsogolera pazosankhazi: Miguel Ángel Gatón
  2. Cholinga cha deta: Control SPAM, kasamalidwe ka ndemanga.
  3. Kukhazikitsa: Kuvomereza kwanu
  4. Kulumikizana kwa zomwe zafotokozedwazo: Zomwezo siziziwululidwa kwa anthu ena kupatula pakukakamizidwa mwalamulo.
  5. Zosunga: Zosungidwa ndi Occentus Networks (EU)
  6. Ufulu: Nthawi iliyonse mutha kuchepetsa, kuchira ndikuchotsa zidziwitso zanu.