Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MKS SBASE - Lost steps in Y and random BLTouch deployment #12239

Closed
gauix4 opened this issue Oct 27, 2018 · 46 comments
Closed

MKS SBASE - Lost steps in Y and random BLTouch deployment #12239

gauix4 opened this issue Oct 27, 2018 · 46 comments

Comments

@gauix4
Copy link

gauix4 commented Oct 27, 2018

Hello
brand new still this problem Marlin no compilation problem stepper well settled no problem after a while there is offset in Y...
100% sure it's a Marlin problem with other map everything works fine
1 - the BLtouch tends to deploy itself
2- the Y always shifts after a while

I use atom as a compiler

@gauix4
Copy link
Author

gauix4 commented Oct 27, 2018

we see that there is a problem because the temperature varies by itself
capture d ecran 2018-10-27 a 16 37 07

@gauix4
Copy link
Author

gauix4 commented Oct 27, 2018

capture d ecran 2018-10-27 a 17 20 45

@gauix4 gauix4 changed the title Y offset / bltouch issues MKS Sbase v1.3 LPC1768 Y offset / bltouch issues MKS Sbase v1.3 LPC1768 impossible to find !! Oct 27, 2018
@p3p
Copy link
Member

p3p commented Oct 27, 2018

If you run pio update in the atom terminal what version of framework-arduino-lpc176x are you running,

Always supply the information requested in the issue template, such as full configs. additional information about your hardware setup may also help us rather than just specifying that things that don't work.

@gauix4
Copy link
Author

gauix4 commented Oct 27, 2018

capture d ecran 2018-10-27 a 17 31 52

@gauix4
Copy link
Author

gauix4 commented Oct 27, 2018

capture d ecran 2018-10-27 a 17 37 39

@p3p
Copy link
Member

p3p commented Oct 27, 2018

did framework-arduino-lpc176x update when you ran pio update or were you already on 0.0.5?

@gauix4
Copy link
Author

gauix4 commented Oct 27, 2018

@p3p this one was not showing at all this is the first screen shot I made by sending the command

@gauix4
Copy link
Author

gauix4 commented Oct 27, 2018

but I think that's it there were a lot of things that were not up to date that went on as
the best way to know is that i re test ^^

@p3p
Copy link
Member

p3p commented Oct 27, 2018

I know that's why I asked, it hadn't finished at the point you took the screenshot. If it did update it may have fixed your BLTouch issues as there was a known issue with it for a few days but if you are only trying this today it's unlikely platformio downloaded the old version.

Please supply your configuration files and hardware setup, including stepper drivers and temperature sensors.

@gauix4
Copy link
Author

gauix4 commented Oct 27, 2018

@p3p Driver ES-D508 Y "closed-loop"
X TMC 2208 no serie connect

I am not at all a beginner configuration.h and well configure the probes also there is really that with this card that I have problems all the others have no problem the card is new I have changed two times to be sure but still the same problems so no external problem just the marlin or update problems as you showed me

I am totally new to atom I did not know at all I always worked on IDE-Arduino
so I do not understand yet libraries and atom updates

I'm french sorry for my english who is extremely bad sorry again and again

@gloomyandy
Copy link
Contributor

gloomyandy commented Oct 27, 2018

To save you both some time, here is a previous post about this problem (see the following posts for some followup):
#7076 (comment)
@guanix it would still be very useful for you to post your configuration files.

@gauix4
Copy link
Author

gauix4 commented Oct 27, 2018

dossier sans titre.zip

@p3p
Copy link
Member

p3p commented Oct 27, 2018

Your stepper driver is not in general use so we do not have a default configuration for it, you need to set the values in configuration_adv.h to match the datasheet.

Looking at http://www.leadshine.com/UploadFile/Down/ES-D508d_V1.2.pdf (best guess on my behalf at your driver) it appears your driver needs extra long pulses compared to the usual divers (2.5us minimum), so you will need to set MINIMUM_STEPPER_PULSE to an appropriate value, remember 2.5us is the minimum so 3 or even 4 should guarantee you driver picks it up within a margin for error.

I assume whatever bus driver (logic level converter) you are using is suitable for the slew and frequency requirements.

@gauix4
Copy link
Author

gauix4 commented Oct 27, 2018

@p3p I did as I told you I'm not a beginner all is good
let's see that I already did everything in configuration advance that I joined you above your comment ^^

@p3p
Copy link
Member

p3p commented Oct 27, 2018

According to your config you did not, your setup for A4988 (the default drivers), that work down to a few 100 nano second pulse width.

@gauix4
Copy link
Author

gauix4 commented Oct 27, 2018

@p3p normally everything is good

capture d ecran 2018-10-27 a 18 21 07

@p3p
Copy link
Member

p3p commented Oct 27, 2018

sometimes hardware runs outside of the spec "most of the time" doesn't mean anything. MINIMUM_STEPPER_PULSE should be at least 3 possibly 4.

@gauix4
Copy link
Author

gauix4 commented Oct 27, 2018

@p3p if I activate the bed auto leveling does not work anymore

@p3p
Copy link
Member

p3p commented Oct 27, 2018

I can't help from "it doesn't work" describe the situation or post build log if its a build problem.

@gauix4
Copy link
Author

gauix4 commented Oct 27, 2018

@p3p I stay with the update I tell you that in 20 minutes the time that everything starts on the road

@gauix4
Copy link
Author

gauix4 commented Oct 27, 2018

@p3p nothing has changed always shift in Y always the bltouch that does anything

@gauix4
Copy link
Author

gauix4 commented Oct 27, 2018

@p3p I feel that because I have large dimensions
put small dimensions everything works properly 300X300X300

@gauix4
Copy link
Author

gauix4 commented Oct 27, 2018

@gauix4
Copy link
Author

gauix4 commented Oct 27, 2018

@p3p a compilation problem nothing but still the same problems even with a delay add

@gloomyandy
Copy link
Contributor

@guanix Have you used that driver successfully with any other board and/or firmware? If so which? Also have you used the level shifter that you built successfully with anything?

@gauix4
Copy link
Author

gauix4 commented Oct 27, 2018

@gloomyandy
yes
marlin 2xx no good
marlin 1.xx ok
MKS Gens 1.4 ok
lerdge S ok
lerde X ok
mks robin ok

@gauix4
Copy link
Author

gauix4 commented Oct 27, 2018

that's why from the beginning I say it's 100% sure it's the marlin I never had any other worries before except the passage of Marlin 2

@p3p
Copy link
Member

p3p commented Oct 27, 2018

What was fixed by reducing the dimensions?

We are talking about a lot of separate issues here, which is a bit confusing with your short responses, this is for the missing step on your Y axis, you are now running Marlin on a much more powerful Controller, signals that used to be slow enough for your driver because it was as fast as the AVR could produce them could now be too fast. Have you read the datasheet and made sure all the settings are correct? such as MINIMUM_STEPPER_DIR_DELAY that defaults to 50ns.. the datasheet specifies this needs to a much larger value of 5000ns,

I'm not saying there is nothing wrong with Marlins LPC176x platform, but there a numerous people running Marlin on the MKS Sbase so it being a general issue is unlikely we are just trying to narrow the problem down for you.

@gauix4
Copy link
Author

gauix4 commented Oct 27, 2018

@p3p
no problem I understand
MKS robin,lerdeX, lerdgeS are boards 32bits
I read the dates of my stepper there is no problem everything is well settled more I can program them

the manipulation that is going to fix all the problems was to decrease the lengths of my printer I had put 300X300 and everything was working properly

that I put the dimensions of my printer and that I print large parts much more works at least that's what I found I can perhaps be wrong

@gauix4
Copy link
Author

gauix4 commented Oct 27, 2018

I just reinstalled the gen 1.4 everything works properly...
last week I used the smoothieware software everything worked...

@gloomyandy
Copy link
Contributor

Are you running Marlin 2.0.x on the gen 1.4? If not perhaps you can try it. Does the BL touch work on the gen 1.4 with the full bed size defined?

Why are you trying to use Marlin rather then Smoothieware?

@gauix4
Copy link
Author

gauix4 commented Oct 27, 2018

@gloomyandy I'll have to try yes because I'm on MARLIN 1 and everything works perfectly
because we can do nothing at all with smoothie firmware
il me faut un auto bed leveling car mon imprimante est trop grosse impossible d'imprimer sans bed auto leveling smoothie has one but it is very poorly managed

@gauix4
Copy link
Author

gauix4 commented Oct 28, 2018

good marlin 1 on the gen 1.4 it does not work either it shifts Y but I've already tried it marchai good marlin 1 on the gen 1. ' it does not work either it shifts Y but I've already tried it walked
I do not understand anymore

@gauix4
Copy link
Author

gauix4 commented Oct 28, 2018

@gauix4
Copy link
Author

gauix4 commented Oct 28, 2018

person to an idea ?

@p3p
Copy link
Member

p3p commented Oct 28, 2018

Sorry Simon at this point without the hardware to debug with, or anyway to reproduce the problems you are having, it's difficult to help.

That stepper configuration should have more than sufficient delays for your Y stepper driver, the problem with levelling at large dimensions worries me but I have no way to test that and it's not really my area, you may have better luck with UBL rather than bilinear.

The temperature fluctuations shouldn't be possible without huge amounts of noise as there is a lot of software filtering, but that at least I can test.

@gauix4
Copy link
Author

gauix4 commented Oct 29, 2018

@p3p I can still try anyway I am open to all at this stage I do not know what to do other than change its driver and engine I never liked them

@gauix4 gauix4 closed this as completed Oct 29, 2018
@gauix4 gauix4 reopened this Oct 29, 2018
@gauix4
Copy link
Author

gauix4 commented Oct 29, 2018

63cac8a7-a821-4970-b32f-8d95f7922646
465bc64d-cdea-491e-ad01-e0bc83e2c672
Uploading 862D7A83-5591-4E30-A0D4-3930FB32CC3D.jpeg…

@gauix4
Copy link
Author

gauix4 commented Oct 29, 2018

@p3p we can see that the shift is not random

@gauix4
Copy link
Author

gauix4 commented Oct 29, 2018

@p3p this is on the last 1xx Marlin it does the same thing on the 2xx marlin
last time i tried with a former sailor one that worked fine so i think there is an update made that generates this problem when do you think?

@gloomyandy
Copy link
Contributor

If you think that is the case, work your way back through versions to see if you can pinpoint which change is causing the problem. Have you made any changes to your configuration since you had a working system? What about the hardware any changes to that? Are you using the same speeds wtc. as before?

@gauix4
Copy link
Author

gauix4 commented Nov 1, 2018

it works according to the parts there are parts it prints across there are non parts

@gauix4
Copy link
Author

gauix4 commented Nov 1, 2018

and therefore order real brushless motor (clearPath ref: CPM-SDSK-2310S-EQN) even though I think the problem will still be there
at least I will have a good brushless motor with all that goes well

@thinkyhead thinkyhead changed the title Y offset / bltouch issues MKS Sbase v1.3 LPC1768 impossible to find !! MKS SBASE - Lost steps in Y and random BLTouch deployment Nov 7, 2018
@gauix4
Copy link
Author

gauix4 commented Nov 22, 2018

@p3p
I received my new clearPath engine
and nothing function so I started my research
and I realized that the problem was coming from ENABLE
the signal is not clear at all when I plug on 3.3V everything works

IMG_2037.JPG.zip

@gauix4 gauix4 closed this as completed Nov 26, 2018
@emretrk
Copy link

emretrk commented Dec 4, 2018

Hi everyone,

I am a student in Turkey and ı also see like that problem. My drivers are also leadshine es-d508 and es-d808. I couldn't solve this problem. Are there anyone to solve this problem ?

actually ı solved, but my speed really low which is 20-25 mm/s. And surface quality is really bad in like sphere parts. I increased the pulses/resolution to the 5000. Thats mean, 4 mm pitch / 5000 pulse = 0.0008 mm. But surface quality in sphere parts and velocity are really bad.

3D printer is mu capstone project. ı must solve this...

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked and limited conversation to collaborators Jul 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants