bigtreetech / BIGTREETECH-SKR-PRO-V1.1

Aiming at some problems existing in 3D printed motherboards in the market. Bigtree Technology Co., Ltd. launched a high performance 3D printer master board with STM32F407ZGT6 as the core controller, BIGTREETECH-SKR-PRO-V1.1.
274 stars 222 forks source link

Sensor-less homing/probing not working SKR_PRO_V1.1 with TMC2209 #103

Open fiveofds opened 4 years ago

fiveofds commented 4 years ago

Sensor-less homing/probing not working SKR_PRO_V1.1 with TMC2209 I am unable to get the sensorless homing or probing working. I have good movement on all steppers and heating. Please advise. I am using the MarlinBugFix 2,0,x dated 2/09/2020

I would post my Configuration.h and Configuration.adv.h but I don't see how to.

oldman4U commented 4 years ago

What happens exactly when you home the axis? "Not working" can mean many things.

GadgetAngel commented 4 years ago

@fiveofds To post your files, just post a LINK to them on your free google drive.

Easy way: go to your computer find the folder that you use for Marlin. Right-click on the folder and Zip the folder. This will place all files in the Marlin folder into one Zip file. Now go to your web browser search for “google drive” Select “Google Drive” link from your search results. That link should now take you to your free google drive. Open up a file explorer window (on Windows machines use Win-E keys). Drag your Zip file (of the Marlin folder) over to your google drive page that is opened in your browser. The zip file will now be uploaded to your google drive. Go back to your browser and find the zip file on the google drive, then Right click the zip-file’s filename. Select “Get shareable link “. Now, google drive will turn on a shareable link for your zip file and place that link onto your computer’s clip board. Open any editor and choose Paste and you will see the shareable link to your zip folder. Now, come back here and paste that link into a post. That’s how you POST your files.

fiveofds commented 4 years ago

If I send a M119 all the endstops report as open. When the end stop switches are pressed they still report as open. No matter what I do it stays open.When I home my printer it rises like I would expect it to do. When it reaches the top the steppers keep turning and make a grinding sound.I am using the latest Marlin-Bugfix-2.0.x Thank you MikeSent from my T-Mobile 4G LTE Device -------- Original message --------From: oldman4U notifications@github.com Date: 2/11/20 2:57 AM (GMT-05:00) To: "bigtreetech/BIGTREETECH-SKR-PRO-V1.1" BIGTREETECH-SKR-PRO-V1.1@noreply.github.com Cc: Mike Duncan nacnudskim@gmail.com, Author author@noreply.github.com Subject: Re: [bigtreetech/BIGTREETECH-SKR-PRO-V1.1] Sensor-less homing/probing   not working SKR_PRO_V1.1 with TMC2209  (#103) What happens exactly when you home the axis? "Not working" can mean many things.

—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe. [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/bigtreetech/BIGTREETECH-SKR-PRO-V1.1/issues/103?email_source=notifications\u0026email_token=AHSZKOYFZ73XIVC2HHCFYX3RCJK5TA5CNFSM4KSTNIGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELLP2VQ#issuecomment-584514902", "url": "https://github.com/bigtreetech/BIGTREETECH-SKR-PRO-V1.1/issues/103?email_source=notifications\u0026email_token=AHSZKOYFZ73XIVC2HHCFYX3RCJK5TA5CNFSM4KSTNIGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELLP2VQ#issuecomment-584514902", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

oldman4U commented 4 years ago

@fiveofds What do you mean with "When the end stop switches are pressed"?

GadgetAngel commented 4 years ago

@fiveofds The ENDSTOP will show OPEN or TRIGGERED since you are using Sensorless Homing. You need to tune the Sensorless homing so it works. Please watch this Video on YouTube done by Teaching Tech on TMC2209 https://youtu.be/dOJbSrWVu_Q

Here is his video section that address Sensorless homing on the TMC2209 https://youtube.com/watch?v=dOJbSrWVu_Q&t=816s

Even tho his video is about the SKR V1.3, all the setting for Sensorless homing are the same. You will see how he tests for the bump values and the sensitivity settings to get Sensorless homing working

fiveofds commented 4 years ago

The sensors for the end stops are triggered Sent from my T-Mobile 4G LTE Device -------- Original message --------From: oldman4U notifications@github.com Date: 2/11/20 8:08 AM (GMT-05:00) To: "bigtreetech/BIGTREETECH-SKR-PRO-V1.1" BIGTREETECH-SKR-PRO-V1.1@noreply.github.com Cc: Mike Duncan nacnudskim@gmail.com, Mention mention@noreply.github.com Subject: Re: [bigtreetech/BIGTREETECH-SKR-PRO-V1.1] Sensor-less homing/probing   not working SKR_PRO_V1.1 with TMC2209  (#103) @fiveofds What do you mean with "When the end stop switches are pressed"?

—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe. [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/bigtreetech/BIGTREETECH-SKR-PRO-V1.1/issues/103?email_source=notifications\u0026email_token=AHSZKOZT3JSKMFOMSWZEJFTRCKPMZA5CNFSM4KSTNIGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELMK75I#issuecomment-584626165", "url": "https://github.com/bigtreetech/BIGTREETECH-SKR-PRO-V1.1/issues/103?email_source=notifications\u0026email_token=AHSZKOZT3JSKMFOMSWZEJFTRCKPMZA5CNFSM4KSTNIGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELMK75I#issuecomment-584626165", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

GadgetAngel commented 4 years ago

@fiveofds The endstops MEAN nothing when using Sensorless homing! M119 will not show you the state of the endstops because you are NOT using ENDSTOPs. You are setup for Sensorless Homing which uses the stepper motor driver to detect when you hit the beginning and ending of your axis travel

fiveofds commented 4 years ago

Ok I get that, I set up sensorless homing in Marlin-Bugfix 2.0.x and it still does the same thing. Sent from my T-Mobile 4G LTE Device -------- Original message --------From: GadgetAngel notifications@github.com Date: 2/11/20 8:30 AM (GMT-05:00) To: "bigtreetech/BIGTREETECH-SKR-PRO-V1.1" BIGTREETECH-SKR-PRO-V1.1@noreply.github.com Cc: Mike Duncan nacnudskim@gmail.com, Mention mention@noreply.github.com Subject: Re: [bigtreetech/BIGTREETECH-SKR-PRO-V1.1] Sensor-less homing/probing   not working SKR_PRO_V1.1 with TMC2209  (#103) @fiveofds The endstops MEAN nothing when using Sensorless homing! M119 will not show you the state of the endstops because you are NOT using ENDSTOP. You are setup for Sensorless Homing which uses the stepper motor driver to detect when you hit the beginning and ending of your axis travel

—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe. [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/bigtreetech/BIGTREETECH-SKR-PRO-V1.1/issues/103?email_source=notifications\u0026email_token=AHSZKO43JDYRVXHBVN5GXBLRCKR6HA5CNFSM4KSTNIGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELMNBII#issuecomment-584634529", "url": "https://github.com/bigtreetech/BIGTREETECH-SKR-PRO-V1.1/issues/103?email_source=notifications\u0026email_token=AHSZKO43JDYRVXHBVN5GXBLRCKR6HA5CNFSM4KSTNIGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELMNBII#issuecomment-584634529", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

fiveofds commented 4 years ago

Ok I get that the sensors mean nothing. So then the problem is sensorless homing is not working. I have followed the instructions on YouTube and the sensorless homing is still not working. With the MKS PRO v1.1 do I need a jumper other than the one for UART mode? Sent from my T-Mobile 4G LTE Device -------- Original message --------From: GadgetAngel notifications@github.com Date: 2/11/20 8:30 AM (GMT-05:00) To: "bigtreetech/BIGTREETECH-SKR-PRO-V1.1" BIGTREETECH-SKR-PRO-V1.1@noreply.github.com Cc: Mike Duncan nacnudskim@gmail.com, Mention mention@noreply.github.com Subject: Re: [bigtreetech/BIGTREETECH-SKR-PRO-V1.1] Sensor-less homing/probing   not working SKR_PRO_V1.1 with TMC2209  (#103) @fiveofds The endstops MEAN nothing when using Sensorless homing! M119 will not show you the state of the endstops because you are NOT using ENDSTOP. You are setup for Sensorless Homing which uses the stepper motor driver to detect when you hit the beginning and ending of your axis travel

—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe. [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/bigtreetech/BIGTREETECH-SKR-PRO-V1.1/issues/103?email_source=notifications\u0026email_token=AHSZKO43JDYRVXHBVN5GXBLRCKR6HA5CNFSM4KSTNIGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELMNBII#issuecomment-584634529", "url": "https://github.com/bigtreetech/BIGTREETECH-SKR-PRO-V1.1/issues/103?email_source=notifications\u0026email_token=AHSZKO43JDYRVXHBVN5GXBLRCKR6HA5CNFSM4KSTNIGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELMNBII#issuecomment-584634529", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

GadgetAngel commented 4 years ago

@fiveofds The way you describe the motor behavior is EXACTLY as it should be. The motors will grind when they hit the end of travel for the axis. You have to set the adjustment sensitivities properly to get the motors NOT to grind. So I do not understand the problem. You have setup sensorless homing in Marlin but the same values for each printer will be unique.

I looked at your Configuration_adv.h as best I could. Not having the ability to download the file into my editor and search for key variables makes helping you VERY hard. Why do you have "#define X_HYBRID_THRESHOLD 0 // [mm/s]" set to 0? You have StealthChop on but with this setting it appears that Marlin will always be in SpreadCycle Mode. You problably want to adjust that up to at least to 100. See what that does. I might not have the expertise to help in your situation. What printer are you trying to get this working on? An HE3D is a delta printer is it not? I have zero experience on how to setup delta printers.

But from your description, the printer is doing as it's suppose to do. Why do you want to use sensorless homing? Why not just keep your endstops?

Do this with the TMC2209 and keep your endstops:

image

Your jumpers for configuring the TMC2209 in UART mode for the SKR Pro V1.1 should look like this:

image

Try NOT using Sensorless homing, just to make sure that the TMC2209 are working with your SKR PRO V1.1 board. If that setup works then we need to try and figure out your sensorless homing settings

fiveofds commented 4 years ago

Thank you, my jumpers are correct, yes the HE3D is a Delta printer. I understand that you are telling me that the sensorless settings are most likely the problem. I just changed the HYBRID_THRESHOLD to 200 and am compiling Marlin now.

Mike

On Tue, Feb 11, 2020, 9:44 AM GadgetAngel notifications@github.com wrote:

@fiveofds https://github.com/fiveofds The way you describe the motor behavior is EXACTLY as it should be. The motors will grind when they hit the end of travel for the axis. You have to set the adjustment sensitivities properly to get the motors NOT to grind. So I do not understand the problem. You have setup sensorless homing in Marlin but the same values for each printer will be unique.

I looked at your Configuration_adv.h as best I could. Not having the ability to download the file into my editor and search for key variables makes helping you VERY hard. Why do you have "#define X_HYBRID_THRESHOLD 0 // [mm/s]" set to 0? You have StealthChop on but with this setting it appears that Marlin will always be in SpreadCycle Mode. You problably want to adjust that up to at least to 100. See what that does. I might not have the expertise to help in your situation. What printer are you trying to get this working on? An HE3D is a delta printer is it not? I have zero experience on how to setup delta printers.

But from your description, the printer is doing as it's suppose to do. Why do you want to use sensorless homing? Why not just keep your endstops?

Do this with the TMC2209 and keep your endstops:

[image: image] https://user-images.githubusercontent.com/33468777/74246364-67590b80-4cb2-11ea-955a-bd3640578c1e.png

Your jumpers for configuring the TMC2209 in UART mode for the SKR Pro V1.1 should look like this:

[image: image] https://user-images.githubusercontent.com/33468777/74246498-9c655e00-4cb2-11ea-91df-955ea6a95f74.png

Try NOT using Sensorless homing, just to make sure that the TMC2209 are working with your SKR PRO V1.1 board. If that setup works then we need to try and figure out your sensorless homing settings

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/bigtreetech/BIGTREETECH-SKR-PRO-V1.1/issues/103?email_source=notifications&email_token=AHSZKO3T7RXTZFIQNSEXVV3RCK2VBA5CNFSM4KSTNIGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELMVPKI#issuecomment-584669097, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHSZKOZHLPRDJEXUFIT33H3RCK2VBANCNFSM4KSTNIGA .

oldman4U commented 4 years ago

GadgetAngel and oldman4U are the new support dream team,-)

@fiveofds I have a Marlin v2.0 firmware with sensor-less homing working fine in case you can not get it to work.

fiveofds commented 4 years ago

I can not get it to work so far, Can I send you a link to my configuration files to see if you can help me? Mike

On Tue, Feb 11, 2020, 10:16 AM oldman4U notifications@github.com wrote:

GadgetAngel and oldman4U are the new support dream team,-)

@fiveofds https://github.com/fiveofds I have a Marlin v2.0 firmware with sensor-less homing working fine in case you can not get it to work.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/bigtreetech/BIGTREETECH-SKR-PRO-V1.1/issues/103?email_source=notifications&email_token=AHSZKOY5RGRBI7FPNWFOOOLRCK6NPA5CNFSM4KSTNIGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELMZOJI#issuecomment-584685349, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHSZKO5BFBAJXD5BTLZ4VH3RCK6NPANCNFSM4KSTNIGA .

GadgetAngel commented 4 years ago

@fiveofds Yes, send the link, @oldman4U will look at it. I will also

fiveofds commented 4 years ago

https://drive.google.com/open?id=13CkPc5H97uPpQNddQdDU2EwGaLRzWRsu

On Tue, Feb 11, 2020 at 10:33 AM GadgetAngel notifications@github.com wrote:

@fiveofds https://github.com/fiveofds Yes, send the link, @oldman4U https://github.com/oldman4U will look at it. I will also

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/bigtreetech/BIGTREETECH-SKR-PRO-V1.1/issues/103?email_source=notifications&email_token=AHSZKOZDNM6WYX5NHIUPARTRCLALZA5CNFSM4KSTNIGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELM3REA#issuecomment-584693904, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHSZKO73AGVNG24ZQO7OOODRCLALZANCNFSM4KSTNIGA .

fiveofds commented 4 years ago

I am thinking that I must be missing a setting somewhere for the sensorless homing and probing. I so getting very frustrated

On Tue, Feb 11, 2020, 10:33 AM GadgetAngel notifications@github.com wrote:

@fiveofds https://github.com/fiveofds Yes, send the link, @oldman4U https://github.com/oldman4U will look at it. I will also

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/bigtreetech/BIGTREETECH-SKR-PRO-V1.1/issues/103?email_source=notifications&email_token=AHSZKOZDNM6WYX5NHIUPARTRCLALZA5CNFSM4KSTNIGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELM3REA#issuecomment-584693904, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHSZKO73AGVNG24ZQO7OOODRCLALZANCNFSM4KSTNIGA .

GadgetAngel commented 4 years ago

@fiveofds who makes that printer? Does this printer have a default configuration file under Marlin? Are you using HE3D K280 printer?

fiveofds commented 4 years ago

No there is no Marlin configuration I am it comes with a different controller board, I switched it to the SKR PRO V1.1 because I plaid to add the ability to use a second color later on.

Mike

On Tue, Feb 11, 2020 at 11:22 AM GadgetAngel notifications@github.com wrote:

@fiveofds https://github.com/fiveofds who makes that printer? Does this printer have a default configuration file under Marlin?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/bigtreetech/BIGTREETECH-SKR-PRO-V1.1/issues/103?email_source=notifications&email_token=AHSZKOYDTGMUVC2SMBL3L6LRCLGDTA5CNFSM4KSTNIGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELNBTHA#issuecomment-584718748, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHSZKO5BICZO5LLM2VWF7FTRCLGDTANCNFSM4KSTNIGA .

GadgetAngel commented 4 years ago

@fiveofds When you flashed your Marlin firmware, did you go into the menu and have it restore failsafe. That printer my not allow the changes you made to take effect until you do a restore failsafe.

fiveofds commented 4 years ago

Yes I didSent from my T-Mobile 4G LTE Device -------- Original message --------From: GadgetAngel notifications@github.com Date: 2/11/20 11:33 AM (GMT-05:00) To: "bigtreetech/BIGTREETECH-SKR-PRO-V1.1" BIGTREETECH-SKR-PRO-V1.1@noreply.github.com Cc: Mike Duncan nacnudskim@gmail.com, Mention mention@noreply.github.com Subject: Re: [bigtreetech/BIGTREETECH-SKR-PRO-V1.1] Sensor-less homing/probing   not working SKR_PRO_V1.1 with TMC2209  (#103) @fiveofds When you flashed your Marlin firmware, did you go into the menu and have it restore failsafe. That printer my not allow the changes you made to take effect until you do a restore failsafe.

—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe. [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/bigtreetech/BIGTREETECH-SKR-PRO-V1.1/issues/103?email_source=notifications\u0026email_token=AHSZKO2DWYRXZCG2OF2T2F3RCLHM5A5CNFSM4KSTNIGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELNDAJQ#issuecomment-584724518", "url": "https://github.com/bigtreetech/BIGTREETECH-SKR-PRO-V1.1/issues/103?email_source=notifications\u0026email_token=AHSZKO2DWYRXZCG2OF2T2F3RCLHM5A5CNFSM4KSTNIGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELNDAJQ#issuecomment-584724518", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

GadgetAngel commented 4 years ago

@fiveofds try this:

if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)

// TMC2209: 0...255. TMC2130: -64...63

define X_STALL_SENSITIVITY 50 // was set at 250 might be too high giving you a False positive

define X2_STALL_SENSITIVITY X_STALL_SENSITIVITY

define Y_STALL_SENSITIVITY 50 // was set at 250 might be too high giving you a False positive

define Z_STALL_SENSITIVITY 50 // was set at 250 might be too high giving you a False positive

//#define SPI_ENDSTOPS // TMC2130 only

define IMPROVE_HOMING_RELIABILITY

endif

fiveofds commented 4 years ago

Do I need to run a wire from the Diag pin on the 2209 to the SKR Pro v1.1 sensor pin for the end stop? Sent from my T-Mobile 4G LTE Device -------- Original message --------From: GadgetAngel notifications@github.com Date: 2/11/20 12:11 PM (GMT-05:00) To: "bigtreetech/BIGTREETECH-SKR-PRO-V1.1" BIGTREETECH-SKR-PRO-V1.1@noreply.github.com Cc: Mike Duncan nacnudskim@gmail.com, Mention mention@noreply.github.com Subject: Re: [bigtreetech/BIGTREETECH-SKR-PRO-V1.1] Sensor-less homing/probing   not working SKR_PRO_V1.1 with TMC2209  (#103) @fiveofds try this:

if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)

// TMC2209: 0...255. TMC2130: -64...63

define X_STALL_SENSITIVITY 50 // was set at 250 might be too high giving you a False positive

define X2_STALL_SENSITIVITY X_STALL_SENSITIVITY

define Y_STALL_SENSITIVITY 50 // was set at 250 might be too high giving you a False positive

define Z_STALL_SENSITIVITY 50 // was set at 250 might be too high giving you a False positive

//#define SPI_ENDSTOPS // TMC2130 only

define IMPROVE_HOMING_RELIABILITY

endif

—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe. [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/bigtreetech/BIGTREETECH-SKR-PRO-V1.1/issues/103?email_source=notifications\u0026email_token=AHSZKO3Z57WFMKQF3U4KAB3RCLL2XA5CNFSM4KSTNIGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELNHV3Y#issuecomment-584743663", "url": "https://github.com/bigtreetech/BIGTREETECH-SKR-PRO-V1.1/issues/103?email_source=notifications\u0026email_token=AHSZKO3Z57WFMKQF3U4KAB3RCLL2XA5CNFSM4KSTNIGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELNHV3Y#issuecomment-584743663", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

fiveofds commented 4 years ago

That did not work

On Tue, Feb 11, 2020 at 12:29 PM nacnudskim nacnudskim@gmail.com wrote:

Do I need to run a wire from the Diag pin on the 2209 to the SKR Pro v1.1 sensor pin for the end stop?

Sent from my T-Mobile 4G LTE Device

-------- Original message -------- From: GadgetAngel notifications@github.com Date: 2/11/20 12:11 PM (GMT-05:00) To: "bigtreetech/BIGTREETECH-SKR-PRO-V1.1" < BIGTREETECH-SKR-PRO-V1.1@noreply.github.com> Cc: Mike Duncan nacnudskim@gmail.com, Mention < mention@noreply.github.com> Subject: Re: [bigtreetech/BIGTREETECH-SKR-PRO-V1.1] Sensor-less homing/probing not working SKR_PRO_V1.1 with TMC2209 (#103)

@fiveofds https://github.com/fiveofds try this:

if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)

// TMC2209: 0...255. TMC2130: -64...63

define X_STALL_SENSITIVITY 50 // was set at 250 might be too high giving

you a False positive

define X2_STALL_SENSITIVITY X_STALL_SENSITIVITY

define Y_STALL_SENSITIVITY 50 // was set at 250 might be too high giving

you a False positive

define Z_STALL_SENSITIVITY 50 // was set at 250 might be too high giving

you a False positive //#define SPI_ENDSTOPS // TMC2130 only

define IMPROVE_HOMING_RELIABILITY

endif

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/bigtreetech/BIGTREETECH-SKR-PRO-V1.1/issues/103?email_source=notifications&email_token=AHSZKO3Z57WFMKQF3U4KAB3RCLL2XA5CNFSM4KSTNIGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELNHV3Y#issuecomment-584743663, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHSZKOYS54QG2POZQ2UZKGDRCLL2XANCNFSM4KSTNIGA .

GadgetAngel commented 4 years ago

@fiveofds Does you TMC2209 have a Diag pin going up or down on the driver board? if the Diag pin is going up, then yes you need to connect the Diag pin to the endstop. But if the Diag pin is going down then NO, the Diag pin is connected to the endstop for each Axis when the Diag pin is facing down. If you Diag pin is missing on the TMC2209 then you need to solder a pin in and place if facing down.

You may have to go to the HE3D facebook group to see if anyone else there has gotten this to work on your printer. I am running out of ideas except for one more:

Leave the other change in place for stall_sensitivity and change these: HE3d help

GadgetAngel commented 4 years ago

@oldman4U i am running out of ideas can you help?

oldman4U commented 4 years ago

Hello fiveofds

@GadgetAngel Help is on the way I hope!

@fiveofds First and maybe most important. In case you use this printer to make money - do not play around with it. If it is a hobby, don't let it frustrate you. See my long ticket related to A4988 motor drivers.... Its a hobby!;-))))

Using the SKR Pro with TMC 2209 v1.3 stepper drivers and Sensorless homing does not require any cabling on the motherboard. Everything is done internally like shown in all the YouTube videos.

Please find attached my configuration files and please let me know in case you have problems compiling them. There are also some settings related to BLTouch, but sensorless homing should work anyway.

Hope this helps SKR v1.1 Pro Marlin v2 Firmware.zip

oldman4U commented 4 years ago

Sorry I forgot to explain. Grindelwald is the code name of the printer I build based on the SKR Pro. Just in case you find the name in the firmware in some areas.

Everything is black with a few copper parts and some white elements on top.

fiveofds commented 4 years ago

Thank you, I will give it a try now

On Tue, Feb 11, 2020 at 1:58 PM oldman4U notifications@github.com wrote:

Sorry I forgot to explain. Grindelwald is the code name of the printer I build based on the SKR Pro. Just in case you find the name in the firmware in some areas.

Everything is black with a few copper parts and some white elements on top.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/bigtreetech/BIGTREETECH-SKR-PRO-V1.1/issues/103?email_source=notifications&email_token=AHSZKOZIOEIFAWYR4EOUOVLRCLYLTA5CNFSM4KSTNIGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELNUN2Y#issuecomment-584795883, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHSZKO7AXMU26H55NFCLG43RCLYLTANCNFSM4KSTNIGA .

fiveofds commented 4 years ago

Question Grizwald is not a Delta printer is it? But I think sensorless homing is working I believe the problem is in the latest Marlin-BugFix 2.0.x

On Tue, Feb 11, 2020, 2:22 PM Mike Duncan nacnudskim@gmail.com wrote:

Thank you, I will give it a try now

On Tue, Feb 11, 2020 at 1:58 PM oldman4U notifications@github.com wrote:

Sorry I forgot to explain. Grindelwald is the code name of the printer I build based on the SKR Pro. Just in case you find the name in the firmware in some areas.

Everything is black with a few copper parts and some white elements on top.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/bigtreetech/BIGTREETECH-SKR-PRO-V1.1/issues/103?email_source=notifications&email_token=AHSZKOZIOEIFAWYR4EOUOVLRCLYLTA5CNFSM4KSTNIGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELNUN2Y#issuecomment-584795883, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHSZKO7AXMU26H55NFCLG43RCLYLTANCNFSM4KSTNIGA .

oldman4U commented 4 years ago

No, Grindelwald is not a Delta but a Cartesian.

This is great news, thank you!

I would check now line by line what the difference is and to compile it every few lines you changed. Doing so you should be able to find the problem(s). If you want, I can compile the same setup without BLTouch but with the official v2.0.3 of Marlin. Please let me know if you would like to give it a try.

fiveofds commented 4 years ago

Sensor less homing is definitely working for me. I have adjusted it to my printer. I am using the most current version of Marlin not the bugfix version. There seems to be a problem with the bugfix version that was the issue. You can try to get the bugfix working if you want. Thank youMikeSent from my T-Mobile 4G LTE Device -------- Original message --------From: oldman4U notifications@github.com Date: 2/11/20 4:38 PM (GMT-05:00) To: "bigtreetech/BIGTREETECH-SKR-PRO-V1.1" BIGTREETECH-SKR-PRO-V1.1@noreply.github.com Cc: Mike Duncan nacnudskim@gmail.com, Mention mention@noreply.github.com Subject: Re: [bigtreetech/BIGTREETECH-SKR-PRO-V1.1] Sensor-less homing/probing   not working SKR_PRO_V1.1 with TMC2209  (#103) No, Grindelwald is not a Delta but a Cartesian. This is great news, thank you! I would check now line by line what the difference is and to compile it every few lines you changed. Doing so you should be able to find the problem(s). If you want, I can compile the same setup without BLTouch but with the official v2.0.3 of Marlin. Please let me know if you would like to give it a try.

—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe. [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/bigtreetech/BIGTREETECH-SKR-PRO-V1.1/issues/103?email_source=notifications\u0026email_token=AHSZKOZINTKAQT62UVR5Y7LRCMLFLA5CNFSM4KSTNIGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELOFP3I#issuecomment-584865773", "url": "https://github.com/bigtreetech/BIGTREETECH-SKR-PRO-V1.1/issues/103?email_source=notifications\u0026email_token=AHSZKOZINTKAQT62UVR5Y7LRCMLFLA5CNFSM4KSTNIGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELOFP3I#issuecomment-584865773", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

GadgetAngel commented 4 years ago

@fiveofds if you problem is solved you might want to close the ticket. I did not know bugfix had bugs, I think I will switch over to version 2.0.3 also. Thanks @fiveofds for that information and thank you @oldman4U for helping out

fiveofds commented 4 years ago

I found that when X_HOME_DIR, Y_HOME_DIR, or Z_HOME_DIR is changed from -1 to 1 sensorless homing stops working. For a delta printer, it has to be set to 1.

// Direction of endstops when homing; 1=MAX, -1=MIN // :[-1,1]

define X_HOME_DIR -1 //MPD

define Y_HOME_DIR -1 //MPD

define Z_HOME_DIR -1 //MPD

So my problem is still not solved.

oldman4U commented 4 years ago

Well, i am not a Delta expert, nor a Marlin scientist. But i would try to change a few homing related settings like the MIN_PLUG to MAX_PLUG to see if this solves the problem.

Also this setting could make a difference i guess: // Manually set the home position. Leave these undefined for automatic settings. // For DELTA this is the top-center of the Cartesian print volume. //#define MANUAL_X_HOME_POS 0 //#define MANUAL_Y_HOME_POS 0 //#define MANUAL_Z_HOME_POS 0

Please let us know and don't forget, it is a hobby;-)

fiveofds commented 4 years ago

I have been trying different settings, what I do know is that if I have Marlin configured as a non-delta printer sensorless homing works. But when I configure it at a delta printer sensorless homing does not work. I think this is an issue with Marlin, not the SKR_PRO V1.1 or the TMC2209. Maybe this issue should be moved to the Marlin track instead of the Bigtreetech forum. What do you think?

oldman4U commented 4 years ago

Hi fiveofds.

Hmmm, it almost sounds like a Marlin issue, so i an afraid at least i can not help further, sorry. Maybe there is someone else who has a Delta and can test this.

GadgetAngel commented 4 years ago

@fiveofds From the above you have the following settings: `#define X_MAX_ENDSTOP_INVERTING false

define Y_MAX_ENDSTOP_INVERTING false

define Z_MAX_ENDSTOP_INVERTING false `

For Sensorless homing to work, it’s my understanding that these signals need to be inverted, please try this:

define X_MAX_ENDSTOP_INVERTING true

define Y_MAX_ENDSTOP_INVERTING true

define Z_MAX_ENDSTOP_INVERTING true

Upload the firmware then go to Pronterface and do a M914 to check that your bump sensitivity are set like you had in the firmware. If not set, like in the uploaded firmware, set them manually with the M914 command. Also do an M913 to check to see if your Hybrid Threshold Speeds are what you set in Firmware. If they are not set like they are in your uploaded firmware, then set them up manually by doing a M913 command.

Sorry if I am too detailed, but that’s me, not you. Please, do not take me the wrong way. I am just trying to help. You might have already tried this, if so just tell me that my idea did not work. Good luck, please let us know how this problem gets solved. I would like to learn the solution.

fiveofds commented 4 years ago

When I try to compile it I am told that SENORLESS HOMEING requires X_MAX_ENDSTOP_INVERTING = false when homing TMC2209 to X_MAXMikeSent from my T-Mobile 4G LTE Device

fiveofds commented 4 years ago

I can get sensorless homing working IF it is configured as a cartesian printer but then configuring for my delta printer:

// Direction of endstops when homing; 1=MAX, -1=MIN // :[-1,1]

define X_HOME_DIR 1 //MPD

define Y_HOME_DIR 1 //MPD

define Z_HOME_DIR 1 //MPD

When this is switched from -1 to 1 sensorless homing stops working Any advice?

https://drive.google.com/file/d/1LUrxH_01t1XlZNFe2P4wqudVntanQp1f/view?usp=sharing

oldman4U commented 4 years ago

Hello Mike.

Could you please confirm that "stop working" means that the motor spins for a second or so, but stops after that and never homes correctly? Seems i can reproduce the issue after changing the way the motors are connected to my printer.

fiveofds commented 4 years ago

Yes, it isMikeSent from my T-Mobile 4G LTE Device -------- Original message --------From: oldman4U notifications@github.com Date: 3/10/20 9:07 AM (GMT-05:00) To: "bigtreetech/BIGTREETECH-SKR-PRO-V1.1" BIGTREETECH-SKR-PRO-V1.1@noreply.github.com Cc: Mike Duncan nacnudskim@gmail.com, State change state_change@noreply.github.com Subject: Re: [bigtreetech/BIGTREETECH-SKR-PRO-V1.1] Sensor-less homing/probing   not working SKR_PRO_V1.1 with TMC2209  (#103) Hello Mike. Could you please confirm that "stop working" means that the motor spins for a second or so, but stops after that and never homes correctly? Seems i can reproduce the issue after changing the way the motors are connected to my printer.

—You are receiving this because you modified the open/close state.Reply to this email directly, view it on GitHub, or unsubscribe. [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/bigtreetech/BIGTREETECH-SKR-PRO-V1.1/issues/103?email_source=notifications\u0026email_token=AHSZKO2HLJEBS5UZ4SE5PQ3RGY3PXA5CNFSM4KSTNIGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOLKK4Q#issuecomment-597075314", "url": "https://github.com/bigtreetech/BIGTREETECH-SKR-PRO-V1.1/issues/103?email_source=notifications\u0026email_token=AHSZKO2HLJEBS5UZ4SE5PQ3RGY3PXA5CNFSM4KSTNIGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOLKK4Q#issuecomment-597075314", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

oldman4U commented 4 years ago

OK, so i have to do more tests, but it seems that i can reproduce the issue on my machine. I will do some more tests and let you know.

Would you be so kind and reopen this ticket. Maybe someone else can help or this issue has to be escalated to the developers.

fiveofds commented 4 years ago

Ok, I will try to figure out how to do that.Sent from my T-Mobile 4G LTE Device -------- Original message --------From: oldman4U notifications@github.com Date: 3/10/20 9:22 AM (GMT-05:00) To: "bigtreetech/BIGTREETECH-SKR-PRO-V1.1" BIGTREETECH-SKR-PRO-V1.1@noreply.github.com Cc: Mike Duncan nacnudskim@gmail.com, State change state_change@noreply.github.com Subject: Re: [bigtreetech/BIGTREETECH-SKR-PRO-V1.1] Sensor-less homing/probing   not working SKR_PRO_V1.1 with TMC2209  (#103) OK, so i have to do more tests, but it seems that i can reproduce the issue on my machine. I will do some more tests and let you know. Would you be so kind and reopen this ticket. Maybe someone else can help or this issue has to be escalated to the developers.

—You are receiving this because you modified the open/close state.Reply to this email directly, view it on GitHub, or unsubscribe. [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/bigtreetech/BIGTREETECH-SKR-PRO-V1.1/issues/103?email_source=notifications\u0026email_token=AHSZKO5J4P6PES7F5FB6BXLRGY5IRA5CNFSM4KSTNIGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOLMBHI#issuecomment-597082269", "url": "https://github.com/bigtreetech/BIGTREETECH-SKR-PRO-V1.1/issues/103?email_source=notifications\u0026email_token=AHSZKO5J4P6PES7F5FB6BXLRGY5IRA5CNFSM4KSTNIGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOLMBHI#issuecomment-597082269", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

fiveofds commented 4 years ago

Issue still exists

oldman4U commented 4 years ago

Hi.

I can confirm that i can see the issue you described on my machine on all axis as soon as i change the homing direction from -1 to 1. Using the latest Marlin version 2.0.4-4 with my SKR Pro v1.1 with BTT 2209 v1.3 and a TFT28 display if this is important. Fortunately i have a working solution because my system is using -1 homing direction, but for me this looks like something which could probably be fixed in Marlin. I do not know how to escalate this to the developers, but please let me know in case i can help somehow.

guruathwal commented 4 years ago

I can get sensorless homing working IF it is configured as a cartesian printer but then configuring for my delta printer:

// Direction of endstops when homing; 1=MAX, -1=MIN // :[-1,1]

define X_HOME_DIR 1 //MPD

define Y_HOME_DIR 1 //MPD

define Z_HOME_DIR 1 //MPD

When this is switched from -1 to 1 sensorless homing stops working Any advice?

https://drive.google.com/file/d/1LUrxH_01t1XlZNFe2P4wqudVntanQp1f/view?usp=sharing

@fiveofds To Summarize your issues and findings: You are trying to enable sensorless homing on a Delta printer The sensorless homing is working perfectly if it is configured as a cartesian printer.

With this information, I can only think of one possible reason :

the Diag PINs of the TMC2209 drivers are connected to the MIN Endstops connectors on the board, which works with the printers with homing direction towards -1(MIN). But for the delta-printer, the homing direction is 1 (MAX). The Delta settings might be forcing the firmware to use the MAX Endstops rather than the MIN Endstops. So you need to check the PIN configuration for the Delta-printer settings for your board to check if this is the case.

If there is any other information/point I missed. please let me know because this is a very long page to scroll and had to read it backward from bottom to top.

fiveofds commented 4 years ago

With the SKR Pro v1.1 the diag pins are connected internally on the board. I don't know about the pins file for the SKR Pro v1.1. Sorry I am not a Marlin high speed guy. I am just trying to get my printer to work. But I believe that you have the right idea about what is happening Sent from my T-Mobile 4G LTE Device -------- Original message --------From: Gurmeet Athwal notifications@github.com Date: 3/14/20 9:26 AM (GMT-05:00) To: "bigtreetech/BIGTREETECH-SKR-PRO-V1.1" BIGTREETECH-SKR-PRO-V1.1@noreply.github.com Cc: Mike Duncan nacnudskim@gmail.com, Mention mention@noreply.github.com Subject: Re: [bigtreetech/BIGTREETECH-SKR-PRO-V1.1] Sensor-less homing/probing   not working SKR_PRO_V1.1 with TMC2209  (#103)

I can get sensorless homing working IF it is configured as a cartesian printer but then configuring for my delta printer: // Direction of endstops when homing; 1=MAX, -1=MIN // :[-1,1]

define X_HOME_DIR 1 //MPD

define Y_HOME_DIR 1 //MPD

define Z_HOME_DIR 1 //MPD

When this is switched from -1 to 1 sensorless homing stops working Any advice? https://drive.google.com/file/d/1LUrxH_01t1XlZNFe2P4wqudVntanQp1f/view?usp=sharing

@fiveofds To Summarize your issues and findings: You are trying to enable sensorless homing on a Delta printer The sensorless homing is working perfectly if it is configured as a cartesian printer. With this information, I can only think of one possible reason : the Diag PINs of the TMC2209 drivers are connected to the MIN Endstops connectors on the board, which works with the printers with homing direction towards -1(MIN). But for the delta-printer, the homing direction is 1 (MAX). The Delta settings might be forcing the firmware to use the MAX Endstops rather than the MIN Endstops. So you need to check the PIN configuration for the Delta-printer settings for your board to check if this is the case. If there is any other information/point I missed. please let me know because this is a very long page to scroll and had to read it backward from bottom to top.

—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe. [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/bigtreetech/BIGTREETECH-SKR-PRO-V1.1/issues/103#issuecomment-599060414", "url": "https://github.com/bigtreetech/BIGTREETECH-SKR-PRO-V1.1/issues/103#issuecomment-599060414", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

guruathwal commented 4 years ago

This information form the Marlin documentation page confirms my theory:

image

https://marlinfw.org/docs/configuration/configuration.html#endstop-plugs

guruathwal commented 4 years ago

@fiveofds according to SKR_PRO_V1.1 Pinout, the StallGuard pins are only connected to the PB10, PE12 & PG8 PINS

image

image

you have also used the Max End stops

You need try swapping the MIN & MAX pin in your board-specific file

Marlin\src\pins\stm32\pins_BTT_SKR_PRO_V1_1.h (Line No. 44 to 49)

From this:

#define X_MIN_PIN          PE10
#define X_MAX_PIN          PB15
#define Y_MIN_PIN          PE12
#define Y_MAX_PIN          PE10
#define Z_MIN_PIN          PG8
#define Z_MAX_PIN          PG5

To this:

#define X_MIN_PIN          PE15
#define X_MAX_PIN          PB10
#define Y_MIN_PIN          PE10
#define Y_MAX_PIN          PE12
#define Z_MIN_PIN          PG5
#define Z_MAX_PIN          PG8
guruathwal commented 4 years ago

@fiveofds. Can you please edit or remove your second and third comment? because Its very frustrating to scroll on phone.