CR6Community / Marlin

This Marlin fork has the goal of cleaning-up the source code changes for the CR-6 so it can be merged upstream. We also want to extend the functionality to make it fully functional
GNU General Public License v3.0
470 stars 83 forks source link

[BUG] Bed leveling fails #41

Closed drbobbob closed 3 years ago

drbobbob commented 3 years ago

I just flashed the Community Release 4 version on my printer. I also updated the touch screen. When I go to bed level, the homing sequence runs, the temperature targets get set, and once the temperature is reached it heads for position 1, pauses a bit, and then returns to the center of the bed.

I have tried reflashing the firmware using different SD cards. I have tried running the leveling with and without an SD card. I have tried running the leveling from a "print" file. Nothing seems to make it want to properly level. I do not believe I have a hardware issue because prior to reprogramming the stock firmware worked and during the homing sequence the nozzle taps the bed as expected.

I have not tried any debugging with PC connected because I don't have any USB power isolators and I don't want to risk my laptop's USB port.

Will revert to community release 3 and see if that works for me.

drbobbob commented 3 years ago

Community Release 3 had the same issue. Reverting to Creality firmware 1.0.3.6 allowed bed leveling to proceed

Sebazzz commented 3 years ago

Sorry, without any information this becomes incredibly hard to debug and I must close this issue.

The commands stated in the release notes can be put in a gcode file as well and "printed".

Also remove all attachments from your bowden tube, turn off the led and lights in your room and observe (and record) the LED in your strain gauge as the leveling process happens.

drbobbob commented 3 years ago

I realize I was short on details, wasn't sure what would be valuable to collect. I wrote a gcode file to attempt manual leveling, had the same failure. I pulled it from the comments in issue #21. Looking at other closed issues, I might be hitting what was discussed in issue #32.

I noticed that the led in the strain gauge was on much longer during the homing with the creality firmware. I am currently printing with the creality firmware, when it is done I can record the strain gauge on the LED. What is the best way to send the video? youtube link?

I have the stock clips holding the bowden tube to the electrical cable. I noticed that they have slipped to be closer to the hotend now. I can try removing them and seeing if that affects things as well.

Sebazzz commented 3 years ago

Please also try adjusting the little potmeter in daughter board next to the hotend.

Met vriendelijke groet, Sebastiaan Dammann


Van: drbobbob notifications@github.com Verzonden: Sunday, November 8, 2020 12:32:19 AM Aan: CR6Community/Marlin Marlin@noreply.github.com CC: Sebastiaan Dammann sebastiaandammann@outlook.com; Comment comment@noreply.github.com Onderwerp: Re: [CR6Community/Marlin] [BUG] Bed leveling fails (#41)

I realize I was short on details, wasn't sure what would be valuable to collect. I wrote a gcode file to attempt manual leveling, had the same failure. I pulled it from the comments in issue 21. Looking at other closed issues, I might be hitting what was discussed in issue 32.

I noticed that the led in the strain gauge was on much longer during the homing with the creality firmware. I am currently printing with the creality firmware, when it is done I can record the strain gauge on the LED. What is the best way to send the video? youtube link?

I have the stock clips holding the bowden tube to the electrical cable. I noticed that they have slipped to be closer to the hotend now. I can try removing them and seeing if that affects things as well.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FCR6Community%2FMarlin%2Fissues%2F41%23issuecomment-723508553&data=04%7C01%7C%7C677b2017574749b8de6e08d883755ea8%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637403887404543522%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=eiW2bSlowaV68u2Vo0OHxLulNs%2Bdc4MKK50CCX1uGeQ%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAK4FMOSKWKRXODJGC4UHQLSOXKIHANCNFSM4TN5QSPA&data=04%7C01%7C%7C677b2017574749b8de6e08d883755ea8%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637403887404553517%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=vf7MvIxe614PIKIj8eqB3rNWGMppaP%2FKeO79zHopv0M%3D&reserved=0.

drbobbob commented 3 years ago

Which way should I adjust it?

It seems like you are suggesting this is an issue with faulty triggering of the strain gauge. Removing anything that could tug on it might help. I assume the pot on the daughter board adjusts sensitivity there.

Will be a bit before I can test these changes.

drbobbob commented 3 years ago

I unhooked everything from the Bowden tube and same result. When homing, the blue led on the daughter board came on while traveling and when the nozzle hit the bed. Then after warming up, it moved to above position 1, the blue light flashed, and it moved back to center. Will adjust the pot and try again

drbobbob commented 3 years ago

Was able to adjust the pot and get it to work.

For others facing this issue, it appears that the pot adjusts the sensitivity of the strain gauge. Turning it counterclockwise reduces the force needed. Turning it clockwise increases the force needed. It doesn't take much adjustment to make a change. I may dial mine in some more because right now there is some flex before the gauge registers. I had it set once too high and had to kill the printer because it seemed like it was pushing too hard. On the low side, you can get it to where the blue light is on even when the nozzle is in the air. Apparently there is a range that it will be good enough for homing but too sensitive for leveling.

drbobbob commented 3 years ago

This is a picture of my before setting, I probably turned it less than 10 degrees clockwise to fix the issue 20201107_175026_compress50

Sebazzz commented 3 years ago

I got an idea how to fix it. We need to pull COM_PIN low during X/Y moves.

Met vriendelijke groet, Sebastiaan Dammann


Van: drbobbob notifications@github.com Verzonden: Sunday, November 8, 2020 1:10:21 AM Aan: CR6Community/Marlin Marlin@noreply.github.com CC: Sebastiaan Dammann sebastiaandammann@outlook.com; Comment comment@noreply.github.com Onderwerp: Re: [CR6Community/Marlin] [BUG] Bed leveling fails (#41)

This is a picture of my before setting, I probably turned it less than 10 degrees clockwise to fix the issue [20201107_175026_compress50]https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F319549%2F98453952-762afc80-2124-11eb-94df-3a5b4a6a48b7.jpg&data=04%7C01%7C%7C252951c40bda494d535e08d8837aaf4f%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637403910226076087%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=tBd9%2BZWijSSmbZD0LZh6%2B7lnoiOkkKfhyCskN8EYfXY%3D&reserved=0

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FCR6Community%2FMarlin%2Fissues%2F41%23issuecomment-723512018&data=04%7C01%7C%7C252951c40bda494d535e08d8837aaf4f%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637403910226086082%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=MVXP8P81ElLM%2FrRjIQlYCZRH2AGq3CWYoYO6Hye8%2BKU%3D&reserved=0, or unsubscribehttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAK4FMM7IGPLBMNRHU7HAQ3SOXOW3ANCNFSM4TN5QSPA&data=04%7C01%7C%7C252951c40bda494d535e08d8837aaf4f%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637403910226096077%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=lf6Ycnnw%2BiSE4bN9i0tzGdHlq1WOFS33Kn9PKZmohC4%3D&reserved=0.

Sebazzz commented 3 years ago

firmware-20201108-112356-hotfix1.zip firmware-20201108-125953-hotfix2.zip

Please try either of these.

drbobbob commented 3 years ago

I tuned the pot back to where my original symptoms occurred (homing worked, probing didn't work) with the release 4 firmware.

I flashed hotfix 1 and without changing pot settings, was able to home and probe successfully. I flashed hotfix 2 and without changing pot settings, was able to home and probe successfully.

For reference, when I flash the new firmware, I put the bin file on the root of the SD, power cycle machine, navigate to reset to factory defaults, power cycle machine again, and test the leveling.

I'm going to keep using a hotfix firmware for now, I assume that the fix for this will come in the next release. Do you have any recommendation for 1 vs 2?

Thanks for the quick resolution. Sorry my initial report was vague.

Sebazzz commented 3 years ago

Hi @drbobbob

Hotfix2 should be fine. These are just attempts, because my motherboard is dead so I can't do anything regarding firmware development except trying something and hoping it works on someone else machine.

drbobbob commented 3 years ago

Sorry to hear about your motherboard. How did it die? I am tempted to do a survey of CR6 owners to see how they have used their printers and how they have died. I'm trying to figure out if it is random chance, failure after X hours of total runtime, failures after a single run > X hours.

Sebazzz commented 3 years ago

How did it die? I am tempted to do a survey of CR6 owners to see how they have used their printers and how they have died.

I had just finished two successful prints, and was about to start another one. The printer froze completely. I decided to power cycle it, and after that it did not want to boot anymore.

No response over serial. No sign of live. Though, with my ST-Link, I can still talk to the STM32 processor (but no one has tried that before, so that might not tell anything).

There is actually already a list of issues I've compiled here, might be useful to skim through it: https://gist.github.com/Sebazzz/ff4d716c8d2ad9bab1e87b3fc4238281

ShaneK commented 3 years ago

Hey! I was also having this issue where I couldn't level my bed. Flashing Hotfix 2 worked for me. Thanks! Are you going to contact Creality about your motherboard?

shinmai commented 3 years ago

It might be helpful to add the instructions on tuning the strain gauge sensitivity to the release notes. I don't know what causes the difference w/ Creality firmware, but I had to flash the hotfix firmware to get ABL to work, but afterwards the sensorboard LED is lit almost all the time, flickering off when the bowden tube flexes around slightly, and fully turning off only if applying (very) slight pressure on the bowden coupling with a finger. I for one took a minute to find this issue and figure out I'll probably need to tune the sensitivity down to stop this from happening. I'm not sure how ABL even succeeded with the gauge as senstivie as it seems.

In fact, as it is now, the release notes actually suggest turning the sensitivity UP, instead of down. If I've misunderstood how the code works, and the board triggering while not running bed levelling isn't an issue, that might also be worth mentioning together with the other info on the stress gauge and ABL.

Sebazzz commented 3 years ago

In fact, as it is now, the release notes actually suggest turning the sensitivity UP, instead of dow

Correct, because the potmeter isn't a sensitivity setting but rather appears to be threshold setting. Taring the probe is done from firmware, so you should be able to set it a bit higher.

shinmai commented 3 years ago

Ah, makes sense. So just to clarify: the LED lighting up when the nozzle isn't making contact with anything isn't an issue if ABL runs fine? Should I still be able to tune it to trigger more easily or is that for people who's gauges have the trimpot set absurdly low at the factory?

Sebazzz commented 3 years ago

In fact, with the community firmware I have been able to trim the threshold down. That allows the hotend to flex much less.

drbobbob commented 3 years ago

I found that I had to turn the threshold up slightly (but only slightly) with the community firmware. My current threshold setting has a slight amount of movement from the nozzle before triggering, but not much.