Cov txheej txheem:

Nema17 Stepper Motor Microstepping: 6 Cov Kauj Ruam
Nema17 Stepper Motor Microstepping: 6 Cov Kauj Ruam

Video: Nema17 Stepper Motor Microstepping: 6 Cov Kauj Ruam

Video: Nema17 Stepper Motor Microstepping: 6 Cov Kauj Ruam
Video: Control Position and Speed of Stepper motor with L298N module using Arduino 2024, Kaum ib hlis
Anonim
Nema17 Stepper Tsav Microstepping
Nema17 Stepper Tsav Microstepping

Yog li qhov no yuav yog thawj qhov kev qhia, thiab kuv paub tseeb tias kuv yuav tsum hloov kho yam khoom thaum kuv pom teeb meem nrog nws. Kuv yuav sim thiab kho txhua yam raws li lub sijhawm tso cai thiab nrog kev tawm tswv yim. Ua tsaug!

Txhua cov ntaub ntawv kuv pom tshawb nrhiav rau cov steppers thiab cov kauj ruam me me yog ib qho yooj yim heev, lossis nkag mus ntau yam kom pom kuv lub qhov muag ci tom qab ob peb nplooj ntawv. Nov yog qhov tshwm sim ntawm kuv tus kheej coj mus rau steppers thiab micro stepping.

Kuv tau muab tso ua ke yooj yim Nema17 Stepper Motor teeb tsa uas yuav ua kom pom cov kauj ruam me me thiab piav qhia me ntsis li cas cov khoom ua haujlwm thiab qee qhov qauv piv txwv kom pom nws hauv kev nqis tes ua.

Oddly txaus kuv qhov kev lom zem los ntawm kev tshawb nrhiav seb yam khoom ua haujlwm ntau dua li siv lawv los tsim qee yam:) ya Kuv paub, Nyiam! Xijpeem, ntawm no yog qee yam me me uas kuv tau los ua kom txaus siab kuv xav paub txog cov steppers thiab cov kauj ruam me me. Cov cai tau hais me ntsis dhau, tab sis kuv xav sim thiab teb cov lus nug uas yuav tshwm sim thaum saib nws dua. Muaj ntau ntau ntxiv los kawm tab sis qhov no yuav tsum pab koj pib ntawm koj txoj kev mus.

Cov cai tau sau rau Arduino Nano, DRV8825 tus tsav tsheb tsav tsav tsav thiab Nema17 tus tsav lub cev muaj zog (17HS4401S). Nws tseem tau suav sau thiab sim ntawm UNO R3 thiab MEGA2650 R3. Vam tias qhov no yuav pab ib tus neeg hauv txoj haujlwm lossis tej zaum tsuas yog xav paub yuav ua li cas koj lub tshuab luam ntawv 3D lossis tej zaum CNC yeej ua rau cov kev txav mus los tiag tiag. Pub dawb siv nyob rau hauv txhua qhov koj nyiam.

Cia peb pib!

Kauj Ruam 1: Qhov Yuav Tsum Tau

Qhov Yuav Tsum Tau
Qhov Yuav Tsum Tau
Qhov Yuav Tsum Tau
Qhov Yuav Tsum Tau
Qhov Yuav Tsum Tau
Qhov Yuav Tsum Tau

Yog tias koj saib cov lus qhia no tej zaum koj yuav muaj feem ntau, yog tias tsis yog txhua yam ntawm no, twb yog lawm. Rau cov uas tsis nyob ntawm no yog qhov koj yuav xav tau theej tawm yam.

1. Arduino Nano, Uno R3, lossis Mega2560

2. Nema 17 Stepper lub cev muaj zog. Koj tuaj yeem siv ib qho 4 hlau stepper hauv txhua qhov zoo li lub hood, tab sis qhov no yog qhov kuv muaj

3. 100uf 25v electrolytic capacitor. Peb xav tau qhov no los daws cov teeb meem hluav taws xob uas tuaj yeem tshwm sim thaum khiav peb cov stepper. 45v spikes tuaj yeem tshwm sim yog li cia muaj kev nyab xeeb!

4. DRV8825 stepper tsav tsav

5. Cov qhob cij

6. Creadboard xov hlau

7. Volt ntsuas.

8. Lub hwj chim. Koj tuaj yeem siv txhua yam los ntawm roj teeb mus rau lub zog muab khoom tshwj xeeb. Nws tsuas yog xav tau muab 12volts thiab tsawg kawg 1 amp. Qhov zoo tshaj 2 amps raws li tus tsav tsheb yuav tuav txog 1.5 ua ntej kaw.

Kauj Ruam 2: Txuas Cov Khoom

Txuas Cov Khoom!
Txuas Cov Khoom!
Txuas Cov Khoom!
Txuas Cov Khoom!
Txuas Cov Khoom!
Txuas Cov Khoom!
Txuas Cov Khoom!
Txuas Cov Khoom!

Nov yog peb cov txheej txheem peb yuav siv los xaim cov khoom. Koj tus stepper yuav los yog yuav tsis muaj tib xim xov hlau. Hauv qhov no koj yuav tsum txiav txim siab seb cov xov hlau twg yog cov hlua. Tej zaum koj yuav tsum tau txheeb xyuas koj cov ntawv txhawm rau txiav txim siab yuav txuas koj li cas.

Ib txoj hauv kev ua nws yuav yog ntsuas qhov tsis kam ntawm koj tus stepper. Tawm ntawm 4 cov xov hlau, 2 khub yuav nyeem qhov chaw nyob ib puag ncig ntawm 3ohms. 2 khub no yog koj li A thiab B windings. Yog li tsuas yog txuas txhua "khub" rau DRV8825. 1 khub rau A1 thiab A2, thiab lwm khub rau B1 thiab B2. Tsis txhob txhawj txog polarity ntau dhau. Yog tias koj muaj ib qho ntawm cov khub sib pauv, lub cev muaj zog tsuas yog tig rov qab. Kuv paub. Kuv sim nws! Tsuas yog xyuas kom txhua tus "khub" txuas nrog tib A lossis B ntawm tus tsav tsheb.

Kauj Ruam 3: Kho Vref

Tom qab koj muaj txhua yam txhua tus txuas thiab npaj mus, peb thawj zaug yuav tsum teeb tsa vref ntawm peb pawg DRV8825.

Nyem koj Arduino nrog Stepper_Board_Adjust code. Qhov no yuav yooj yim rau peb tua thiab ntawm tus tsav tsheb.

Disconnect tus stepper.

Qhib lub serial monitor thiab tig tus tsav tsheb. Cov cai yuav tsum tau qhia cov ntawv qhia yooj yim. Yog tias tsis yog, rov txheeb xyuas koj li kev sib txuas Arduino.

Lob koj lub ntsuas hluav taws xob thiab txuas hauv av mus rau Logic Ground ntawm lub khob cij. Siv koj cov ntsiab lus zoo coj mus txuas nws ib txwm maj mam mus rau cov hlau me me nyob ib sab ntawm lub hwj chim. Ceev faj koj txhais tes tuav tsis txhob txav nws mus qhov twg! Ua tib zoo saib cov duab kom pom qhov twg los kov cov hlau lead. Koj ua qhov kev xeem dhau ntawm koj lub rooj tsavxwm ze qhov kev hloov kho uas koj tuaj yeem siv tau. Muaj hmoo koj!

Maj mam kho lub hwj huam ntsuas nrog tus ntsia hlau me me (ceev faj dua! Tsis muaj kas fes kom txog thaum koj ua tiav!) Kom txog thaum koj nyob ib puag ncig.8 volts. Qhov no yuav yog qhov pib zoo.

Ua haujlwm zoo txog tam sim no!

Kauj Ruam 4: Nyem rau Txoj Cai Tseem Ceeb

Nov yog cov cai peb yuav siv los ua kom peb lom zem!

Tam sim no nws yog lub sijhawm los nyem qhov chaws tseem ceeb rau koj Arduino.

Kuv yuav tsis mus rau hauv cov lus piav qhia ntxaws ntawm kev txuas thiab teeb tsa koj Arduino. Yog tias koj nyob ntawm no nyeem qhov no koj paub yuav ua li cas tam sim no.: P

Ua nrawm nrawm ntawm cov cai. Muaj qee cov lus pom uas yuav pab piav qhia ob peb yam ntxiv.

Txawm li cas los xij, koj yuav tsum thauj lub tsev qiv ntawv. Qhov no tuaj yeem ua tiav hauv Arduino IDE hauv tus thawj tswj tsev qiv ntawv.

Tom qab koj muaj lub tsev qiv ntawv thauj khoom, mus tom ntej thiab nyem koj Arduino.

Qhib qhov chaw nres nkoj thiab yog tias txhua yam zoo koj yuav pom cov ntawv qhia zaub mov. Ua haujlwm zoo!

Tus so yog nyob ntawm koj!

Kuv vam tias qhov no muaj txiaj ntsig hauv koj qhov kev tshawb fawb kom paub thiab lom zem. Kuv paub tias kuv tau kawm ntau yam ua qhov no!

Ua tsaug!

Kauj ruam 5: Sau ntawv

Sau ntawv
Sau ntawv

Ob peb sau ntawv.

Nco ntsoov nco ntsoov tsis txhob cuam tshuam koj tus stepper nrog nws txhawb nqa. Ib txwm kaw lub hwj chim ua ntej.

Yog tias koj pom koj tus stepper tau hla cov kauj ruam ntawm kev nrawm dua thiab nrawm dua, sim nce vref me ntsis ntawm ib lub sijhawm.

Kauj Ruam 6: Microstepping

Qhov no tau coj ntawm 30 kev hloov pauv, 1/4 kauj ruam, 5000 nrawm, 3000 nrawm.

Pom zoo: