com
Stepoko:PoweredbygrblHookupGuide
CONTRIBUTORS: MTAYLOR
FAVORITE 0
Firmware:ConfiguringgrblandCalibrating
Thissectioncoverscalibrationoftheaxes.Thesettingstakeaparameterofstepsrequiredforeachmillimeterofmotion,butfactorssuchasmicrosteppingandmill
geometrycomeintoplay.
Calibrating
Whenworkingwithanewmotor,afewstepsneedtobetakentogetitmovingcorrectly
Getthenumberofstepsperrevolution
Decideonmicrosteppingvalue
Determineratioofmotorrevolutionstocarriagemotion
Calculatestepspermm
Drivethecarriageaknowndistance
Measureerrorandapplytosettings
TheInitialsteps/mmSetting
Ifusingamillwithknowngeometries,youreinluck!Punchinthesteps/mmasgiven.
Ifusingrecycledpartsorvariablematerials(likebelts),dosomebasicmathtogetanapproximatefirstsetting.
DoThisforEachAxis:
Whileturningthemotor,measurethedistancetraveledinmm.Then,calculatestepspermmbasedon
Forexample,witha200steps/revmotorthattravels42mmperrevolutionandmicrostepping,
Now,usingthemachinecontroltabinUniversalGcodeSender,instructthemilltomove1inch(orsomenumberofmillimeters).Isitclose?Resetthemill,markthe
locationandrepeat.Makeameasurementofthetruemovement.
https://learn.sparkfun.com/tutorials/stepokopoweredbygrblhookupguide/firmwareconfiguringgrblandcalibrating 1/2
2/3/2017 Stepoko:PoweredbygrblHookupGuidelearn.sparkfun.com
Now,modifytheoriginalsettingbyaratiooftheexpectedandmeasuredmovement.Anotherwaytothinkofitis,whatsthepercenterror?
Formyexample,Iintendedtodrive1inchbutactuallydrove1.3inches.Itaketheoriginalsettingof9.52,multiplyby1/1.3toget7.32.Afterprogrammingthenewsetting,
themovementisdeadon(orbangonifusingmm).
PREVIOUSPAGE NEXTPAGE
VIEWASASINGLEPAGE
FIRMWARE:GRBLFORTHESTEPOKO CUTTINGASQUARE
https://learn.sparkfun.com/tutorials/stepokopoweredbygrblhookupguide/firmwareconfiguringgrblandcalibrating 2/2