#Sensorless homing with TMC 2240 on octopus pro v1.1.
205 messages · Page 1 of 1 (latest)
I think people generally recommend homing to the rear right on these printers. Looks like you have endstop set at 0, which would be left on x, but the printer appeared to move to the right - might have to invert the dir pin. Can you post pictures of stepper cable plugs in the board and tell what model steppers (e.g. 2504; stepper online model, etc.) you're using? And y stepper config
I tried homing y axis only and its going to the back but never stop.
Do you want it to home to the front left (0,0) or the rear right (Max, Max)?
Currently you're instructing it to home to the front left (0,0) and it appears to be going towards the rear right, so you should try inverting the dir pins on both x and y by putting a! '!' before the pin e.g. !PG1 on y. This should have the toolhead moving in the correct direction, then you move onto choosing endstop position and homing
Be ready with the power switch in case something goes wrong
But I mean for now, my y axis is going the right way (back right) but it won't stop if loosing step
it keeps going
The point is, that is isn't going the right way. With your settings it should be moving to the front left. If you don't rectify that it will cause a lot of issues later. It's not stopping because sensorless homing isn't tuned yet.
I'll be home shortly, and continue to help
-64 should be the most sensitive setting for 2240 sensorless by my reckoning, (i.e. it should immediatley trigger), so something else afoot
Your homing far too slow, but also either need to run kalico or use homing override macros to lower the homing current
Sensorless likes to home at around 100mm/s
Endstop switches are still recommended for most add they just work though.
Oh yeah if you havent done that yet the Voron guide you linked covers it near the top
That's as much help as I can provide, just starting work
I did add the homing.cfg
even at -64 it doesn't stop
Did you modify the macro to suit your drivers etc.?
Every time people on this discord recommended to go not too fast with sensorless homing
Yes ?
But I might have missed something
Looks ok, did you include a reference to it in printer.cfg? include [homing.cfg] not sure if needed
yup
try changing driver_SGT to driver_sgt - i dont expect it to be captial sensitive but lets rule it out. if that doesnt work try setting the value to (positive) 1 and/or 64 and see what happends (be ready on power switch)
nop doesn't work
Oof, don’t do 64, it will slam for sure. The voron docs show you to set homing_speed to 80. Set position_endstop to the same as position_max. Most TMC2240s will fall in the sensitivity range of -1 to 1
I've tried 63 (64 send a error message) blocking it with my hand and doesn't stop
The X and Y Axis Klipper needs to know from its printer.cfg settings how far the X and Y axes can safely move without hitting the printer’s frame. It also needs to know where the origin (X=0 / Y=0) is. This origin is the beginning of the usable printer bed. In the following, we assume a Cartesian printer that follows the conventions of a Car...
This ?
Doesn't change the fact that the printer doesn't stop 😅
What is your sensitivity set to right now?
did you try -1/1?
-63
Set it to 0 on both and try again
Ok did Y move at all?
yes it moves
Ok, set Y to 1 and try again
x didn't move a lot
Oh, so X didn’t home all the way?
Did Y at least move towards home some?
that means the homing current macro is working correctly, which is good - looks like the values you need will be somewhere between 1 and -1 as bsleep said. You need to trial and error to find the value that consistently homes correctly
which would be the most sensitive ?
I mean 1 for y is doing the same than 63 and -64
So Y moved towards home and then kept moving until to emergency stopped
exactly
-64 is most sensitive, 64 is least
so try 0 on y
So you want to go down from -64
That's what I tried but -64 is giving the exact same result as 63
=> loosing steps
until emergency stop
So when you set Y to -64 it homes and then keeps moving?
yes
I don't let it go to the end of the rail I stop it with my hand but yes the motor keep loosing steps until I hit Emergency stop
This is what you can see here
how are you changing SGT? Are you updating config and restarting every time?
yup
if so, don't do it that way. Let's use the command from the voron docs to set SGT
Result is the same
I first tried this way
I did not, it does by itself define the hold current I don't know how to remove it
you'll edit the homing.cfg
That's Voron value, what should I put ?
This ?
you should be able to comment these lines out under the gcode macros for X and Y
{% set HOME_CURRENT = 0.49 %}
SET_TMC_CURRENT STEPPER=stepper_x CURRENT={HOME_CURRENT}
SET_TMC_CURRENT STEPPER=stepper_y CURRENT={HOME_CURRENT}
wait no that's wrong
the 3 lines ?
don't do that. Let me look over it a little more
okay xD
Do you think it is worth it going for kalico ? I absolutly don't know how kalico works and what it is
If you insist on using senseless instead of endstops I do
{% set HOME_CURRENT = 0.49 %}
SET_TMC_CURRENT STEPPER=stepper_x CURRENT={HOME_CURRENT} HOLDCURRENT=0
SET_TMC_CURRENT STEPPER=stepper_y CURRENT={HOME_CURRENT} HOLDCURRENT=0
I cannot for 9 hours or so, I'm at work
that would be the only way to change the holdcurrent with that command
so in the homing.cfg where you see those lines, add HOLDCURRENT=0 to the end
Sad cause in 9 hours it will be very late in France 😅
I'll try with klipper and the macros
you can also change the current where it says 0.49. Maybe bump it up to 0.6
I'm about to have to go to work myself
I don't understand why it's not doing the same on x axis and y axis
so instead of only letting Y move a little bit, have you tried just letting it go all the way back?
because in that video you're not letting it move very far
or at least let it go back further than that. Let it get closer to home
no difference
0 now let me try with -63
ideally -63 won't move hardly at all
what model is this TMC2240? Are the BTT TMC2240s?
So yes BTT drivers
what is X set to right now?
I set both at -63
not on the y axis
let me retry
same result
yup
and you're sure you have the jumper on the right pins
hmmm yes should be
can you send me a picture of the jumper pins you have set on the board
yep, I'm at a loss here
😅
X is moving 2 times before stopping, either with -63 or 0
set X to 5 and try
X working
nice
it came back a little bit
it's supposed to do that
Don't know why
that's part of the macro
for Y, I have no idea
it seems to be ignoring what you're setting the sensitivity to
with -63, it shouldn't move at all, or if it it does, it will be just barely
you can probably set it to anything, the driver will most likely ignore it though
Can you show me your tmc_2240 stepper_x and stepper_y config sections
@prisma burrow
Yep
but why did I put 2 jumpers if I only use diag0 ?
Remember I told you yesterday in your other support ticket to watch out for that
Different motors
yeah but did not fully understood what you meant
Each motors diag pin is referenced as diag0
okay okay
Now set sensitivity to 0 and home Y
Thanks for your time and this journey through building a mercury 😂
lol
By any chance do you know where I can find the mercury one.1 profile for orca slicer ?
I'm too lazy to configure the whole profile by myself
#1081001088037163088 message
You are my saver
don't know if this is correct english but...
yeah
It's working !!!!!!!!!
Damn