Sele sihlalutye yonke into malunga Iimoto ezihamba ngaphandle onokuyisebenzisa kunye neeprojekthi zakho zeArduino, kodwa kukho enye yeemotor ezigqame kuzo zonke iimodeli, ezinje ngeNema 17, kuba iyimoto echanekileyo enezicelo ezininzi, kubandakanya nokutshintsha imoto eyonakalisiweyo. zabanye abashicileli 3D.
Ngale motor inyathela uya kuba nakho ukulawula ngokuchanekileyo ukujikeleza kwe-axis yayo ukuya yenza iintshukumo ezichanekileyo kwaye ke ulawule ukuhamba komatshini wakho okanye irobhothi. Kwaye kwesi sikhokelo unokufumana lonke ulwazi oludingayo ukuze umazi ngokusondeleyo kwaye uqale ukusebenza naye.
- Konke malunga nemoto yokuhamba
- I-Stepper motor 28BYJ-48
- I-Stepper motor driver DRV8825
- Imodyuli ye-L298N yee-motors
Iimpawu zobugcisa zeNema 17
Isithuthi se-Stepper UNema 17 luhlobo lwebipolar, nge-engela yenyathelo ye-1,8º, oko kukuthi, inokwahlulahlula nganye kwinguquko okanye ijike ibe ngamanyathelo angama-200. Ukujija ngakunye okukuyo ngaphakathi kuxhasa amandla okuqina kwe-1.2A kwi-4v yempixano, apho inakho khona ukuphuhlisa amandla amakhulu e-3.2 kg / cm.
Kwakhona, le injini UNema 17 womeleleKungenxa yoko le nto isetyenziswa kwizicelo ezinje ngeeprinta ze3D zasekhaya kunye nezinye iirobhothi ezifuna ukungqinelana. Umzekelo wabashicileli abasebenzisa le njini njengesiseko seentshukumo zabo yiPrusa. Isetyenziswa nakwabasiki be-laser, oomatshini be-CNC, oomatshini bokukhetha kunye nendawo, njl.
Nangona kunjalo, ayizizo zonke izinto ezimangalisayo kunye nezibonelelo kule injini, kuba kunjalo Ngamandla ngakumbi ethembekileyo, ke ngoko, ayilingani ngolu hlobo ...
Kufuphi, Iimpawu zobugcisa Zizo:
- Isithuthi se-Stepper.
- Imodeli yeNEMA 17
- Ubunzima be-350 gram
- Ubungakanani 42.3x48mm ngaphandle kweshafti
- Shaft ubukhulu 5mm D
- Shaft ubude 25mm
- Amanyathelo angama-200 kwicala ngalinye (1,8º / inyathelo)
- I-1.2A yangoku ngokubhijela
- Umbane wokubonelela 4v
- Ukuxhathisa 3.3 Ohm ngekhoyili
- I-3.2 kg / cm i-torque yemoto
- Ukuqhuba i-2.8 mH ngekhoyili nganye
Ukuphuma kunye nedatha
El I-pinout yezi motors zihamba Ilula, kuba azinazintambo zininzi kakhulu zonxibelelwano, zikwanaso nesinxibelelanisi ukuze ukwazi ukuzenza ngokulula. Kwimeko ye-NEMA 17 uya kufumana i-pinout efana naleyo unokuyibona kumfanekiso ongentla.
Kodwa ukuba ufuna ukwazi ngakumbi ezobuchwephesha kunye neenkcukacha zombane zemida kunye nobubanzi apho i-NEMA 17 inokusebenza khona, unako khangela i-datasheet yale motor stepper kwaye ke ufumane lonke ulwazi olongezelelekileyo olufunayo. Apha unako khuphela iPDF ngomzekelo.
Kuphi ukuthenga kunye nexabiso
Ungafumana ngexabiso eliphantsi kwiivenkile ezikhethekileyo ze-elektroniki nakwiivenkile ezikwi-Intanethi. Umzekelo, unayo kwiAmazon. Kukho abavelisi abohlukeneyo kunye neefomathi zentengiso ezahlukeneyo, ezinje ngeepakethe zeeyunithi ezi-3 okanye nangaphezulu ukuba ufuna iirobhothi ezihambayo, njl. Nazi izinto ezintle:
- Imoto ye-NEMA 17 ene-bracket kunye nezikrufu
- Ipakethe yeeyunithi ezi-3 zeNema ezili-17
- Izixhobo:
- Gasket Anti-lokungcangcazela ufakelo
- Akukho mveliso ifunyenweyo
Umzekelo wendlela yokuqalisa ngeNema 17 kunye neArduino
Umzekelo olula wokuqala ukusebenzisa oku Inqwelo-mafutha yeenyawo i-NEMA 17 Ngo-Arduino yile ndlela elula yokuhlangana. Ndisebenzise umqhubi weemoto ze-DRV8825, kodwa ungasebenzisa eyahlukileyo kunye nakwisithuthi esinyukayo esahlukileyo ukuba ufuna ukuyitshintsha iprojekthi kwaye uyilungelelanise neemfuno zakho. Kuyafana nekhowudi yomzobo, onokuyiguqula ukuthanda kwakho ...
Kwimeko yomqhubi osetyenzisiweyo, ixhasa ubunzulu be-45v kunye ne-2A, ke ilungele i-stepper motors okanye i-stepper yesayizi encinci naphakathi njenge-NEMA 17 bipolar. Kodwa ukuba ufuna into "enzima", imoto enkulu efana ne- I-NEMA 23, emva koko ungasebenzisa umqhubi we-TB6600.
Las Unxibelelwano kushwankathelwe oku kulandelayo:
- Imoto ye-NEMA 17 ine-GND kunye ne-VMOT yokunxibelelana nombane. Yeyiphi emfanekisweni ebonakalayo inecandelo elinerayi etsaliweyo kunye ne-capacitor. Umthombo kufuneka ubenaphakathi kwe-8 kunye ne-45v yokubonelelwa, kwaye isixhobo esongeziweyo endisongeisileyo sinokuba yi-100µF
- Ikhoyili ezimbini ze-stepper zidityaniswe kwi-A1, A2, kunye ne-B1, B2 ngokwahlukeneyo.
- Iphini ye-GND ye-diver edityaniswe kwi-GND ye-Arduino.
- I-pin ye-VDD yomqhubi iqhagamshelwe kwi-5v yeArduino.
- I-STP kunye ne-DIR yenqanaba kunye nolwalathiso zidityaniswe kwizikhonkwane zedijithali 3 kunye 2 ngokulandelelana. Ukuba ufuna ukukhetha ezinye izikhonkwane zeArduino onako, kufuneka uguqule ikhowudi ngokufanelekileyo.
- I-RST kunye ne-SLP ukuseta kwakhona kunye nokulala komqhubi kufuneka uzidibanise ne-5v yebhodi yeArduino.
- I-EN okanye i-pin yokuvula inokucinywa, kuba ngale ndlela umqhubi uya kusebenza. Ukuba icwangciselwe ku-Phezulu endaweni ye-LOW umqhubi ukhubazekile.
- Ezinye izikhonkwane ziya kucinywa ...
Ngokuphathelele ikhowudi yomzoboKungaba lula njengale ukwenza ukuba i-NEMA 17 isebenze kwaye iqalise, ijolise ekujoliseni ...
#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); }
Olunye ulwazi, ungaqhagamshelana nesifundo senkqubo kunye I-Arduino IDE nguHwlibre.