Welcome! Log In Create A New Profile

Advanced

Bed Leveling marlin 2.1.2.x upgrade from marlin 1.0.0 to 2.1.2

Posted by uuys007 
Bed Leveling marlin 2.1.2.x upgrade from marlin 1.0.0 to 2.1.2
December 27, 2024 03:27AM
HI

know little bit on the marlin firmware.

i have a selfbuild machine based on the reprap - prusa

I have ramps 14 board on the mega 2560


i got he 2.1.2 firmware at a point where is does work on the servo and the auto home..

now on the bed leveling

it is working

on #define AUTO_BED_LEVELING_BILINEAR (recommended on the google searches done - if better on please suggest)

but with the above it tires to level right on the edge on the build plate.

i not shure how to add the off sets that it move say 10mm away from the edge of the build plate on the 9 z probe positions..

you help will be really appreciated

attached is both the config of the old version 1.0.0 nmarlin that does work on the bed leveling bit on the 2.1.2. vesion does on the edge

please help

see attached files
Attachments:
open | download - vrs1000_configuration_h.txt (36.4 KB)
open | download - vrs212_configuration_h.txt (130.8 KB)
open | download - bedlevel_firmware.JPG (85.4 KB)
Re: Bed Leveling marlin 2.1.2.x upgrade from marlin 1.0.0 to 2.1.2
December 27, 2024 03:27AM
your help in advance will be appreciated
Re: Bed Leveling marlin 2.1.2.x upgrade from marlin 1.0.0 to 2.1.2
December 27, 2024 05:11AM
check these are correct

#define X_MIN_POS 0
#define Y_MIN_POS 0

These are your home positions

Ie When you home X, the X endstop trigger point sets where X0 is for the hotend , if the hotend is actually left of the bed X_MIN_POS should be a negative number, so moving the positive of that value will nove to X0

When you home Y, the Y endstop position point sets where Y0 is for the hotend. if the hotend is two far forward then Y_MIN_POS should be a negative number, so moving the positive of that value will nove to Y0

You also need to set #define NOZZLE_TO_PROBE_OFFSET { 10, 10, 0 } correctly
Is you probe exactly 10mm to the right of the hotend and back 10mm from the hotend? The picture seems to show your probe in in front of the hotend,so that would be NOZZLE_TO_PROBE_OFFSET { 10, -10, 0 } but with correct measurements

Edited 1 time(s). Last edit at 12/27/2024 05:14AM by Dust.
Re: Bed Leveling marlin 2.1.2.x upgrade from marlin 1.0.0 to 2.1.2
December 27, 2024 04:11PM
#define X_MIN_POS 0
#define Y_MIN_POS 0

where do i finf this in version 2.1.2.x
Re: Bed Leveling marlin 2.1.2.x upgrade from marlin 1.0.0 to 2.1.2
December 28, 2024 03:30AM
Re: Bed Leveling marlin 2.1.2.x upgrade from marlin 1.0.0 to 2.1.2
December 28, 2024 05:29AM
Please try a little harder to help yourself.

Searching text files for a string is a very basic computer skill.

Edited 1 time(s). Last edit at 12/28/2024 05:31AM by Dust.
Re: Bed Leveling marlin 2.1.2.x upgrade from marlin 1.0.0 to 2.1.2
December 28, 2024 11:10AM
i have but is not in the configuration.h file where is this situated ?
Re: Bed Leveling marlin 2.1.2.x upgrade from marlin 1.0.0 to 2.1.2
December 28, 2024 11:10AM
check the files i have attached not in there when searching ..
Re: Bed Leveling marlin 2.1.2.x upgrade from marlin 1.0.0 to 2.1.2
December 28, 2024 11:30AM
would not ask Q if was ib thge config file
Re: Bed Leveling marlin 2.1.2.x upgrade from marlin 1.0.0 to 2.1.2
December 28, 2024 06:18PM
It is in the Configuration.h file on Lines 1731 and 1732


see [github.com]

Edited 3 time(s). Last edit at 12/28/2024 06:31PM by Dust.
Re: Bed Leveling marlin 2.1.2.x upgrade from marlin 1.0.0 to 2.1.2
December 28, 2024 08:33PM
Quote
Dust
It is in the Configuration.h file on Lines 1731 and 1732


see [github.com]

Wow! Dust!! I did not know you could do what you just did I will remember this...
Now can post the links like that. No reason to copy and past ever thing just a simple link.

Major Thanks


Computer Programmer / Electronics Technician
Re: Bed Leveling marlin 2.1.2.x upgrade from marlin 1.0.0 to 2.1.2
December 31, 2024 02:25AM
hi

i have check this yes is in my configuration.h , this is the absolute boundaries of the heat-bed and mine is 0 yes, but my question is how to setup the bed-leveling that the sensor does not read at the absolute limits but go say offset 15x15 inward on the heat-bed to do the measurements..

I need to know where to add the line of code in the configuration.h so that the sensor does not run out over the edge of the heat-bed.

hope this make sense

Edited 1 time(s). Last edit at 12/31/2024 02:31AM by uuys007.
Re: Bed Leveling marlin 2.1.2.x upgrade from marlin 1.0.0 to 2.1.2
December 31, 2024 02:33AM
The linked URL is the default Configuration, its only use was to show you where the two lines where



Quote
Dust
check these are correct

#define X_MIN_POS 0
#define Y_MIN_POS 0

These are your home positions

Ie When you home X, the X endstop trigger point sets where X0 is for the hotend , if the hotend is actually left of the bed X_MIN_POS should be a negative number, so moving the positive of that value will nove to X0

When you home Y, the Y endstop position point sets where Y0 is for the hotend. if the hotend is two far forward then Y_MIN_POS should be a negative number, so moving the positive of that value will nove to Y0

You also need to set #define NOZZLE_TO_PROBE_OFFSET { 10, 10, 0 } correctly
Is you probe exactly 10mm to the right of the hotend and back 10mm from the hotend? The picture seems to show your probe in in front of the hotend,so that would be NOZZLE_TO_PROBE_OFFSET { 10, -10, 0 } but with correct measurements

Please do as requested.

Edited 1 time(s). Last edit at 12/31/2024 02:33AM by Dust.
Re: Bed Leveling marlin 2.1.2.x upgrade from marlin 1.0.0 to 2.1.2
December 31, 2024 09:07AM
i have done the #define NOZZLE_TO_PROBE_OFFSET { 10, 10, 0 } correctly and the initial image i send where the head try to level on the edge..

with the correct measurement the offset..

hence why im asking Q on this forum, as with v1.0.0 al working but in need to upgrade sure it will give me better prints with all the advances..

hop you can shine more light on the subject..
Re: Bed Leveling marlin 2.1.2.x upgrade from marlin 1.0.0 to 2.1.2
January 03, 2025 05:23AM
any one ? idea how i can get this done
Re: Bed Leveling marlin 2.1.2.x upgrade from marlin 1.0.0 to 2.1.2
January 03, 2025 04:26PM
got the bed leveling now to offset by 25mm from the front of the bed

done this on the code changed from 10 to 25

#define PROBING_MARGIN 25



but the #define NOZZLE_TO_PROBE_OFFSET { 37, 2, 0 } as if this is not doing any offset

still keep the nozzle in the middle not on the offset so the bed level is to the right going off the bed when doing the bed leveling

you value input will be appreciated
Attachments:
open | download - bedlevel_firmware030125.JPG (87.5 KB)
Re: Bed Leveling marlin 2.1.2.x upgrade from marlin 1.0.0 to 2.1.2
January 03, 2025 04:27PM
it is as the nozzle still 0,0 and the offset does not kick in
Re: Bed Leveling marlin 2.1.2.x upgrade from marlin 1.0.0 to 2.1.2
January 03, 2025 05:45PM
when i do the manual on the lcd screen it does do the offset, but on the marlin under the configuration.h - NOZZLE_TO_PROBE_OFFSET { 37, 2, 0 }

not doing the offset ??

any ideas

see attached is manually entered via the LCD screen direct on the printer
Attachments:
open | download - bedlevel_firmware030125a.JPG (63.4 KB)
Re: Bed Leveling marlin 2.1.2.x upgrade from marlin 1.0.0 to 2.1.2
January 05, 2025 08:45AM
save setting to eeprom.
Re: Bed Leveling marlin 2.1.2.x upgrade from marlin 1.0.0 to 2.1.2
January 06, 2025 07:41AM
so mean will not be able to do via the firmware will have to do via the LCD panel ?

is this correct as i had it saved via the lcd panel and it stays there the changes
Re: Bed Leveling marlin 2.1.2.x upgrade from marlin 1.0.0 to 2.1.2
January 15, 2025 04:35AM
on this

i have most sorted, but 2 issues

1. on the heat bed i have 6mm glass on the bead and take really long to heat up the marlin times out on error, is there any setting on the is to set that the check on heat can be prolonged the time check ? when i heat the bed without the glass i do not ge the halt error... hope someone has some fix for this
2. on the z offset, i have done now manually on the LCD to do the z off set bit even saving it on a -8.1mm or -7.3 when printing the hight of the the offset seems to stay +1.7 constant above the bed so im unsure how to more twek this so the the offset is correct to do the fist layer correct

been really frustrating month and bit so long trying to get this fixed.. hope someone can help on this..

thx in advance
Sorry, only registered users may post in this forum.

Click here to login