Nema 17: duk game da motar stew mai jituwa ta Arduino

nema 17

Mun riga mun bincika komai game da stepper Motors cewa zaku iya amfani dashi tare da ayyukanku na Arduino, amma akwai ɗayan waɗancan motocin waɗanda suka yi fice a kan sauran samfuran kamar Nema 17, tunda yana da madaidaiciyar mota tare da aikace-aikace da yawa, gami da waɗanda ke maye gurbin motar da ta lalace wasu firintocin 3D.

Tare da wannan motar stepper zaka sami damar sarrafa juyawa daidai gwargwado zuwa yi daidai motsi kuma ta haka ne kake sarrafa motsin injin ka ko mutum-mutumi. Kuma a cikin wannan jagorar zaku iya samun duk bayanan da kuke buƙata don sanin shi kusa da fara aiki tare dashi.

Halayen fasaha na Nema 17

Motar stepper Nema 17 nau'ikan bipolar ne, tare da kusurwa mataki na 1,8º, ma'ana, yana iya raba kowane ɗayan juyi ko juya zuwa matakai 200. Kowace iska da take da shi tana tallafawa 1.2A na ƙarfi a 4v na tashin hankali, wanda da ita yake iya haɓaka forcearfin ƙarfi na 3.2 kg / cm.

Hakanan, wannan injin din Nema 17 suna da ƙarfiWannan shine dalilin da yasa ake amfani dashi a aikace-aikace kamar su ɗab'in 3D na gida da sauran mutun-mutumi waɗanda suke buƙatar samun daidaito mai girma. Misalin firintar da ke amfani da wannan injin a matsayin tushen motsin su shine Prusa. Hakanan ana amfani dashi a cikin masu yankan laser, injunan CNC, injin karba & wuri, da dai sauransu.

Koyaya, ba duka abubuwan al'ajabi bane da fa'ida a cikin wannan injin, tunda haka ne Powerfularin ƙarfi cewa abin dogara, sabili da haka, ba a daidaita shi ta wannan ma'anar ...

A takaice, halaye na fasaha Su ne:

  • Motar stepper.
  • NEMA samfurin 17
  • Nauyin gram 350
  • Girman 42.3x48mm ba tare da shaft ba
  • Girman diamita 5mm D.
  • Tsawon shaft 25mm
  • 200 matakai a kowane juyi (1,8º / mataki)
  • 1.2A na yau da kullun
  • Voltageara ƙarfin lantarki 4v
  • Juriya 3.3 Ohm ta kowane abu
  • 3.2 kg / cm karfin juyi na mota
  • Uunƙwasawa 2.8 mH ta kowane abu

Pinout da takaddun bayanai

Nema 17 mai kashewa

El pinout na wadannan stepper Motors Abu ne mai sauki, tunda basu da igiyoyi da yawa don haɗin, suma suna da mai haɗawa don ku iya aiwatar dasu cikin sauki. Game da NEMA 17 zaka sami pinout kamar wanda zaka iya gani a hoton da ke sama.

Amma idan kuna buƙatar sanin ƙarin kayan fasaha da lantarki na iyakoki da jeri wanda NEMA 17 zai iya aiki, zaku iya bincika bayanan bayanan na wannan matattarar motar kuma ta haka ne zaku sami cikakkun bayanan da kuke nema. Anan zaka iya saukar da PDF tare da misali.

Inda zan saya da farashi

Kuna iya samun a farashi mai sauki a cikin shagunan lantarki na musamman da na kan layi. Misali, kuna da shi akan Amazon. Akwai su daga masana'antun daban daban kuma a cikin sifofin talla daban-daban, kamar a cikin fakiti na 3 ko sama da raka'a idan kuna buƙatar da yawa don robot ta hannu, da dai sauransu. Anan ga wasu kyawawan ma'amaloli:

Misali na yadda ake farawa tare da Nema 17 da Arduino

Nema 17 da Arduino stepper motar makirci

Misali mai sauƙi don fara amfani da wannan stepper motar NEMA 17 Tare da Arduino wannan tsari ne mai sauki wanda zaku iya hadawa. Na yi amfani da direba don motocin DRV8825, amma zaka iya amfani da wani daban har ma da maɓallin stepper daban idan kana so ka bambanta aikin ka daidaita shi da bukatun ka. Hakanan yana faruwa tare da lambar zane, wanda zaku iya canzawa zuwa ƙaunarku ...

Dangane da direban da aka yi amfani da shi, yana tsayayya da ƙarfin 45v da 2A, saboda haka yana da kyau ga matattarar stepper ko ƙanana da matsakaitan matsakaitan matsakaici irin su NEMA 17 bipolar. Amma idan kuna buƙatar wani abu "mafi nauyi", babba mai girma kamar NEMA 23, to zaka iya amfani da direban TB6600.

Ka tuna cewa zaka iya amfani da laburaren AkamarinSarun don mafi kyawun kulawa. Laburaren da Mike McCauley ya rubuta wanda ke da matukar amfani ga ayyukanka, tare da tallafi don hanzartawa da raguwa, babbar fa'ida ga yawancin ayyuka.

da haɗi takaita su ne masu zuwa:

  • Motar NEMA 17 tana da haɗin GND da VMOT zuwa wutan lantarki. Wanne ne a cikin hoton ya bayyana tare da wani sashi tare da zane da aka zana da kuma ƙarfin lantarki. Dole ne asalin ya kasance yana da tsakanin 8 da 45v wadata, kuma ƙaramin ƙarfin da na ƙara zai iya zama 100µF.
  • Connectedyakun stepper ɗin suna haɗe da A1, A2, da B1, B2 bi da bi.
  • Pin na GND mai nutsewa an haɗa shi da GND na Arduino.
  • Fushin VDD na direba an haɗa shi da 5v na Arduino.
  • STP da DIR don mataki da shugabanci an haɗa su zuwa lambobin dijital 3 da 2 bi da bi. Idan kanaso ka zabi wasu layukan Arduino zaka iya, kawai zaka gyara lambar yadda ya dace.
  • RST da SLP don sake saitawa da barci na direba dole ne ku haɗa su zuwa 5v na jirgin Arduino.
  • EN ko kunna kunnawa na iya cire haɗin, tunda ta wannan hanyar direban zai kasance mai aiki. Idan an saita zuwa HIGH maimakon LOW direba yana aiki.
  • Sauran fil za a cire haɗin ...

Amma ga lambar zaneZai iya zama mai sauƙi kamar wannan don samun NEMA 17 aiki da farawa, ƙaddamar da nufin ...

#define dirPin 2
#define stepPin 3
#define stepsPerRevolution 200
void setup() {
  // Declare pins as output:
  pinMode(stepPin, OUTPUT);
  pinMode(dirPin, OUTPUT);
}
void loop() {
  // Set the spinning direction clockwise:
  digitalWrite(dirPin, HIGH);
  // Spin the stepper motor 1 revolution slowly:
  for (int i = 0; i < stepsPerRevolution; i++) {
    // These four lines result in 1 step:
    digitalWrite(stepPin, HIGH);
    delayMicroseconds(2000);
    digitalWrite(stepPin, LOW);
    delayMicroseconds(2000);
  }
  delay(1000);
  // Set the spinning direction counterclockwise:
  digitalWrite(dirPin, LOW);
  // Spin the stepper motor 1 revolution quickly:
  for (int i = 0; i < stepsPerRevolution; i++) {
    // These four lines result in 1 step:
    digitalWrite(stepPin, HIGH);
    delayMicroseconds(1000);
    digitalWrite(stepPin, LOW);
    delayMicroseconds(1000);
  }
  delay(1000);
  // Set the spinning direction clockwise:
  digitalWrite(dirPin, HIGH);
  // Spin the stepper motor 5 revolutions fast:
  for (int i = 0; i < 5 * stepsPerRevolution; i++) {
    // These four lines result in 1 step:
    digitalWrite(stepPin, HIGH);
    delayMicroseconds(500);
    digitalWrite(stepPin, LOW);
    delayMicroseconds(500);
  }
  delay(1000);
  // Set the spinning direction counterclockwise:
  digitalWrite(dirPin, LOW);
  //Spin the stepper motor 5 revolutions fast:
  for (int i = 0; i < 5 * stepsPerRevolution; i++) {
    // These four lines result in 1 step:
    digitalWrite(stepPin, HIGH);
    delayMicroseconds(500);
    digitalWrite(stepPin, LOW);
    delayMicroseconds(500);
  }
  delay(1000);
}

Karin bayani, zaku iya tuntubar karatun shirye-shirye tare da IDE na Arduino by Mazaje Trado


Abubuwan da ke cikin labarin suna bin ka'idodinmu na ka'idojin edita. Don yin rahoton kuskure danna a nan.

Kasance na farko don yin sharhi

Bar tsokaci

Your email address ba za a buga. Bukata filayen suna alama da *

*

*

  1. Mai alhakin bayanan: Miguel Ángel Gatón
  2. Dalilin bayanan: Gudanar da SPAM, gudanar da sharhi.
  3. Halacci: Yarda da yarda
  4. Sadarwar bayanan: Ba za a sanar da wasu bayanan ga wasu kamfanoni ba sai ta hanyar wajibcin doka.
  5. Ajiye bayanai: Bayanin yanar gizo wanda Occentus Networks (EU) suka dauki nauyi
  6. Hakkoki: A kowane lokaci zaka iyakance, dawo da share bayanan ka.