Sesivele sihlaziye konke mayelana ama-stepper motors ongayisebenzisa namaphrojekthi akho e-Arduino, kepha kukhona enye yalezi zimoto ezigqame kuzo zonke ezinye izinhlobo ezinjengeNema 17, ngoba iyimoto eqondile enezicelo eziningi, kufaka phakathi lezo zokufaka esikhundleni semoto eyonakele amanye amaphrinta 3D.
Ngalesi sitebhisi sokuhamba uzokwazi ukulawula ngokunembile ukujikeleza kwe-eksisi yayo kuye yenza ukunyakaza ngokunemba futhi ngaleyo ndlela ulawule ukuhamba komshini wakho noma irobhothi. Futhi kulo mhlahlandlela ungathola lonke ulwazi oludingayo ukuze umazi eduze bese uqala ukusebenza naye.
- Konke mayelana ne-stepper motor
- I-Stepper motor 28BYJ-48
- I-Stepper motor driver DRV8825
- Imodyuli ye-L298N yama-motors
Izici zobuchwepheshe zeNema 17
I-Stepper motor I-Nema 17 uhlobo lwe-bipolar, nge-engeli yesinyathelo engu-1,8º, okungukuthi, ingahlukanisa ngamunye wezinguquko noma iphenduke izinyathelo ezingama-200. Ukugoqa ngakunye okukuyo ngaphakathi kusekela amandla we-1.2A ku-4v wempi, lapho ikwazi khona ukwakha amandla amakhulu ka-3.2 kg / cm.
Futhi, le njini UNema 17 unamandlaKungakho isetshenziswa ezinhlelweni ezifana namaphrinta we-3D yasekhaya namanye amarobhothi adinga ukuba nokuvumelana okukhulu. Isibonelo sabaphrinta abasebenzisa le njini njengesisekelo sokuhamba kwabo yiPrusa. Ibuye isetshenziswe kuma-laser cutters, imishini ye-CNC, imishini yokukhetha nokubeka indawo, njll.
Kodwa-ke, akuzona zonke izimangaliso nezinzuzo kule njini, ngoba kunjalo Inamandla amakhulu okunokwethenjelwa, ngakho-ke, akulinganiseli kangako kulo mqondo ...
Kafushane, izici zobuchwepheshe Yilezi:
- I-Stepper motor.
- Imodeli ye-NEMA 17
- Isisindo esingu-350 amagremu
- Usayizi 42.3x48mm ngaphandle kwe-shaft
- Shaft ububanzi 5mm D
- Shaft ubude 25mm
- Izinyathelo ezingama-200 ngejika ngalinye (1,8º / isinyathelo)
- I-1.2A yamanje ejikelezayo
- Amandla kagesi 4v
- Ukumelana 3.3 Ohm ngekhoyili ngayinye
- 3.2 kg / cm motor torque
- Inductance 2.8 mH ngekhoyili ngayinye
I-pinout ne-datasheet
El ukukhishwa kwalawa ma-stepper motors Kulula impela, ngoba abanazintambo eziningi kakhulu zokuxhuma, futhi banesixhumi ukuze ukwazi ukuzenza kalula. Endabeni ye-NEMA 17 uzothola i-pinout efana naleyo ongayibona esithombeni ngenhla.
Kepha uma udinga ukwazi imininingwane ethe xaxa yezobuchwepheshe neyegesi yemikhawulo nobubanzi lapho i-NEMA 17 ingasebenza khona, ungakwazi sesha i-datasheet yalesi sithuthi esihamba kancane bese uthole lonke ulwazi oluhambisanayo olufunayo. Lapha ungakwazi landa i-PDF ngesibonelo.
Ungathenga kuphi nentengo
Ungathola ngentengo ephansi ezitolo ezahlukahlukene ezikhethekile zobuchwepheshe kanye nasezitolo eziku-inthanethi. Isibonelo, unayo ku-Amazon. Kukhona ezivela kubakhiqizi abahlukene nangezindlela ezahlukahlukene zokuthengisa, njengamaphakethe wamayunithi ama-3 noma ngaphezulu uma udinga eziningana zerobhothi elihambayo, njll. Nawa amadili amahle:
- I-NEMA 17 motor enebakaki nezikulufi
- 3-iphakethe iNema 17
- Izinsiza:
- I-anti-vibration gasket yokufakwa
- Ayikho imikhiqizo etholakele.
Isibonelo sokuthi ungaqala kanjani ngeNema 17 ne-Arduino
Isibonelo esilula sokuqala ukusebenzisa lokhu istepper motor NEMA 17 Nge-Arduino yilolu hlelo olulula ongaluhlangana. Ngisebenzise umshayeli wezinjini ze-DRV8825, kepha ungasebenzisa enye ehlukile ngisho nemoto ehambayo uma ufuna ukushintsha iphrojekthi bese uyivumelanisa nezidingo zakho. Kwenzeka okufanayo nangekhodi yokudweba, ongayiguqula ngendlela oyithandayo ...
Endabeni yomshayeli osetshenzisiwe, imelana namandla we-45v no-2A, ngakho-ke ilungele ama-stepper motors noma ama-stepper amancane naphakathi naphakathi njenge-NEMA 17 bipolar. Kepha uma udinga okuthile "okusinda kakhulu", imoto enkulu efana ne- I-NEMA 23, lapho-ke ungasebenzisa umshayeli we-TB6600.
I-Las ukuxhumana okufingqiwe yilokhu okulandelayo:
- Imoto ye-NEMA 17 inokuxhumeka kwayo kwe-GND ne-VMOT ekunikezelweni kwamandla. Yikuphi esithombeni okuvela nengxenye ene-ray edwetshiwe kanye ne-capacitor. Umthombo kufanele ube nokuhlinzekwa okuphakathi kuka-8 no-45v, futhi i-capacitor eyengeziwe engiyengezile ingaba yi-100µF.
- Amakhoyili amabili esitshudeni axhunywe ku-A1, A2, naku-B1, B2 ngokulandelana.
- Iphini le-GND le-diver lixhunywe kwi-GND ye-Arduino.
- Iphini le-VDD lomshayeli lixhunywe ku-5v we-Arduino.
- I-STP ne-DIR yesinyathelo nesiqondiso zixhunywe kuzikhonkwane zedijithali 3 no-2 ngokulandelana. Uma ufuna ukukhetha ezinye izikhonkwane ze-Arduino ongazenza, kufanele uguqule ikhodi ngokufanele.
- I-RST ne-SLP ukusetha kabusha nokulala komshayeli kufanele uwaxhume ku-5v webhodi le-Arduino.
- I-EN noma i-pin yokuvula kungenzeka inqanyulwe, ngoba ngale ndlela umshayeli uzobe esebenza. Uma isethwe ku-HIGH esikhundleni se-LOW umshayeli ukhutshaziwe.
- Ezinye izikhonkwane zizonqanyulwa ...
Ngokuqondene ne ikhodi emfushaneKungaba lula njengalokhu ukwenza i-NEMA 17 isebenze futhi iqalise, i-pun ihloselwe ...
#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); }
Ulwazi oluningi, ungaxhumana nenkambo yokuhlela no I-Arduino IDE ngu-Hwlibre.