Skip to content

[1.1.x] Wait for bed heaters between probing#9890

Merged
thinkyhead merged 2 commits intoMarlinFirmware:bugfix-1.1.xfrom
Festivejelly:WaitForBedHeatersBetweenProbing
Apr 21, 2018
Merged

[1.1.x] Wait for bed heaters between probing#9890
thinkyhead merged 2 commits intoMarlinFirmware:bugfix-1.1.xfrom
Festivejelly:WaitForBedHeatersBetweenProbing

Conversation

@Festivejelly
Copy link

@Festivejelly Festivejelly commented Mar 2, 2018

This PR adds an option to wait for the bed to heat back up between each probe. This applies to bed leveling and probe-based homing.

The reasoning behind this is that when heaters are disabled the bed can cool slightly but doesn't have enough time to heat back up between probes.

This code checks to see if the bed is at target temp. If it's below target temp, it will poll every 200ms until it reaches the target.

After a lot of testing I've determined that it helps accuracy of the probe quite significantly on some beds (those that tend to cool faster).

Counterpart to #10472

@Festivejelly
Copy link
Author

Festivejelly commented Mar 3, 2018

Hrm this causes some communication errors. I believe the serial communication is causing it. What's the best way to notify the user?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See if SERIAL_ECHOLNPGM works better.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tabs are verboten. See if you can set your vim / notepad++ / etc. settings to use two spaces instead of tabs.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah will do.

@thinkyhead thinkyhead force-pushed the bugfix-1.1.x branch 5 times, most recently from 5a75a1b to b0abce5 Compare March 11, 2018 03:47
@thinkyhead thinkyhead force-pushed the bugfix-1.1.x branch 4 times, most recently from 53f0c75 to 29b0488 Compare March 30, 2018 20:55
@thinkyhead thinkyhead force-pushed the bugfix-1.1.x branch 7 times, most recently from b8b1a22 to fa3c14f Compare April 17, 2018 21:37
@thinkyhead thinkyhead force-pushed the bugfix-1.1.x branch 3 times, most recently from 0bebc14 to 0c1be96 Compare April 20, 2018 18:19
@thinkyhead thinkyhead force-pushed the WaitForBedHeatersBetweenProbing branch 4 times, most recently from 9e9b0bf to b9a1e3d Compare April 20, 2018 23:59
@thinkyhead thinkyhead force-pushed the WaitForBedHeatersBetweenProbing branch 5 times, most recently from 5d76c78 to 0a7b1b4 Compare April 21, 2018 01:20
@thinkyhead thinkyhead force-pushed the WaitForBedHeatersBetweenProbing branch from 0a7b1b4 to 0d5b948 Compare April 21, 2018 06:17
@thinkyhead thinkyhead force-pushed the WaitForBedHeatersBetweenProbing branch from a0a05eb to cb7a393 Compare April 21, 2018 06:38
Co-Authored-By: Festivejelly <festivejelly@users.noreply.github.com>
@thinkyhead thinkyhead force-pushed the WaitForBedHeatersBetweenProbing branch from cb7a393 to feb9596 Compare April 21, 2018 06:39
@thinkyhead thinkyhead merged commit 61f9e28 into MarlinFirmware:bugfix-1.1.x Apr 21, 2018
@Festivejelly
Copy link
Author

Thanks for doing this. Sorry i was unable to complete the work. Life hit me with some...obstacles.

@thinkyhead
Copy link
Member

No problem, @Festivejelly. Life will sometimes do that!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants