Home › Forums › DIY Sand Table › TMC 2130 Doesnt work Polulu does
- This topic has 3 replies, 2 voices, and was last updated 2 years, 8 months ago by erikcramerjr.
-
AuthorPosts
-
January 20, 2023 at 5:39 pm #1058erikcramerjrParticipant
Hi,
I have made the pcb with all the parts and got most of it working.
I just cant get the motors to run with a TMC2130, i have some 4988 chips they work fine, just a bit noisy.
But the TMC2130 doesnt spin or goes in hold mode.Does any one have any tips on how to get it to work ?
January 20, 2023 at 7:13 pm #1060erikcramerjrParticipantI got it working by soldering the enable pin in the tmcboard.
But When i turn on either motor from the url http://192.168.0.*/cncUI.html, it only runs one of the 2.
Motor 1 ST_drv1, if i disconnect the motor the other doesnt turn.
This happens with the Polulu and the TMC2130If i look in the config, there are 2 pins specified for the motor?
SO i dont understand the issue really, any tips on troubleshooting ?{“robotType”:”SandTableScaraMatt”,”cmdsAtStart”:””,”webui”:”SandUI”,”evaluators”:{“thrContinue”:0},”robotGeom”:{“model”:”SingleArmScara”,”homing”:{“homingSeq”:”FR3;A-10000N;B+10000;#;A-10000n;B+10000;#;A+460;B-460;#;B-10000N;#;B-10000n;#;B+850;#;A=h;B=h;$”,”maxHomingSecs”:120},”blockDistanceMM”:1,”allowOutOfBounds”:0,”stepEnablePin”:”12″,”stepEnLev”:0,”stepDisableSecs”:10,”axis0″:{“maxSpeed”:25,”maxAcc”:50,”maxRPM”:20,”stepsPerRot”:9600,”unitsPerRot”:628.318,”maxVal”:190,”stepPin”:”14″,”dirnPin”:”32″,”endStop0″:{“sensePin”:”36″,”actLvl”:1,”inputType”:”INPUT_PULLUP”}},”axis1″:{“maxSpeed”:25,”maxAcc”:50,”stepsPerRot”:9600,”unitsPerRot”:628.318,”maxRPM”:20,”maxVal”:190,”stepPin”:”33″,”dirnPin”:”15″,”endStop0″:{“sensePin”:”39″,”actLvl”:0,”inputType”:”INPUT_PULLUP”}}},”fileManager”:{“spiffsEnabled”:1,”spiffsFormatIfCorrupt”:1,”sdEnabled”:1,”sdMOSI”:”18″,”sdMISO”:”19″,”sdCLK”:”5″,”sdCS”:”21″},”wifiLed”:{“hwPin”:”14″,”onLevel”:1,”onMs”:200,”shortOffMs”:200,”longOffMs”:750},”ledStrip”:{“ledPin”:”4″,”sensorPin”:”34″}}
January 24, 2023 at 7:31 am #1061ChrnosParticipantHi,
Im currently using a TMC2208 and the homing sequence works fine but the second it tries to draw a pattern, it just seems to draw random lines. I was wondering if this is the same issue your havingFebruary 1, 2023 at 6:59 pm #1062erikcramerjrParticipantIm not sure but i think the 2208 and 2209 are a bit different then the 2130.
I dont have so much experience with getting it to work yet. im still waiting to get the right belt for the second axis.
And the second trigger doesnt trigger quickly enough yet.i got a new board, but see in my code that the Pins were incorrect thats why the second motor doesnt run properly
Should be :
“blockDistanceMM”:1,”allowOutOfBounds”:0,”stepEnablePin”:”12″,”stepEnLev”:0,”stepDisableSecs”:10,”axis0″:{“maxSpeed”:25,”maxAcc”:50,”maxRPM”:20,”stepsPerRot”:9600,”unitsPerRot”:628.318,”maxVal”:190,”stepPin”:”14″,”dirnPin”:”32″,”endStop0″:{“sensePin”:”36″,”actLvl”:0,”inputType”:”INPUT_PULLUP”}},”axis1″:{“maxSpeed”:25,”maxAcc”:50,”stepsPerRot”:9600,”unitsPerRot”:628.318,”maxRPM”:20,”maxVal”:190,”stepPin”:”27″,”dirnPin”:”15″,”endStop0″:{“sensePin”:”39″,”actLvl”:1,”inputType”:”INPUT_PULLUP”}}},
- This reply was modified 2 years, 8 months ago by erikcramerjr.
-
AuthorPosts
- You must be logged in to reply to this topic.