Welcome! Log In Create A New Profile

Advanced

1.1.5 getting mesh bed leveling working

Posted by JustSumGuy 
1.1.5 getting mesh bed leveling working
September 06, 2017 12:52PM
I just rebuilt my printer and setup Marlin 1.1.5 from scratch.

I enabled #define MESH_BED_LEVELING
and now I see the bed leveling option in my LCD panel menus.

BUT!!!

All it does is home all axis....
Thats it, nothing else, the LCD acts like I did not activate it....

ideas?
Re: 1.1.5 getting mesh bed leveling working
September 06, 2017 04:49PM
* - MESH_BED_LEVELING
* Probe a grid manually
* The result is a mesh, suitable for large or uneven beds. (See BILINEAR.)
* For machines without a probe, Mesh Bed Leveling provides a method to perform
* leveling in steps so you can manually adjust the Z height at each grid-point.
* With an LCD controller the process is guided step-by-step.

[www.youtube.com]

I prefer
#define AUTO_BED_LEVELING_LINEAR

Edited 1 time(s). Last edit at 09/06/2017 04:52PM by Roberts_Clif.
Re: 1.1.5 getting mesh bed leveling working
September 06, 2017 05:33PM
ok.........how does any form of auto bed leveling work with no probe?

I think I have figured this one out tho.

Two options need to be enabled for manual bed leveling.

#define MESH_BED_LEVELING

and

#define PROBE_MANUALLY

When I get the chance to try this I will post back my findings.
Re: 1.1.5 getting mesh bed leveling working
September 06, 2017 08:08PM
You manually lower the nozzle to a piece of paper, click the menu button it goes to the next location. you lower the nozzle to the piece of paper ect...
Until you reach the end of the bed.

usually with this type of bed leveling you only use a few points three, four or five.

I included a video in the above post.

Edited 1 time(s). Last edit at 09/06/2017 08:12PM by Roberts_Clif.
Re: 1.1.5 getting mesh bed leveling working
September 07, 2017 11:13AM
yes Cliff, but that is manual leveling, a procedure I have done dozens upon dozens of times on this printer before I changed out the electronics.

My problem is the menu selection does not activate the procedure.

It only homes all axis then stops.

Its supposed to home all then move to point #1 and allow me to adjust that point, then move to point #2 etc etc until the settings are completed.

I tried my idea of activating #define PROBE_MANUALLY last night and it did not correct the problem.

tho I did dig thru the code a fair bit and found this:

* Use the LCD controller for bed leveling
* Requires MESH_BED_LEVELING or PROBE_MANUALLY
*/
//#define LCD_BED_LEVELING

I think that's the issue....

Edited 1 time(s). Last edit at 09/07/2017 11:17AM by JustSumGuy.
Re: 1.1.5 getting mesh bed leveling working
September 07, 2017 05:49PM
This is My Marlin 1.1.5 Code for Linear/Bilinear Bed Leveling

#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
#define FIX_MOUNTED_PROBE

#define X_PROBE_OFFSET_FROM_EXTRUDER 10 // X offset: -left +right [of the nozzle]
#define Y_PROBE_OFFSET_FROM_EXTRUDER 25 // Y offset: -front +behind [the nozzle]
#define Z_PROBE_OFFSET_FROM_EXTRUDER -0.5 // Z offset: -below +above [the nozzle]

// X and Y axis travel speed (mm/m) between probes
#define XY_PROBE_SPEED 8000

// Speed for the first approach when double-probing (with PROBE_DOUBLE_TOUCH)
#define Z_PROBE_SPEED_FAST HOMING_FEEDRATE_Z

// Speed for the "accurate" probe of each point
#define Z_PROBE_SPEED_SLOW (Z_PROBE_SPEED_FAST / 2)

#define Z_CLEARANCE_DEPLOY_PROBE 10 // Z Clearance for Deploy/Stow
#define Z_CLEARANCE_BETWEEN_PROBES 5 // Z Clearance between probe points

// For M851 give a range for adjusting the Z probe offset
#define Z_PROBE_OFFSET_RANGE_MIN -20
#define Z_PROBE_OFFSET_RANGE_MAX 20

#define AUTO_BED_LEVELING_LINEAR
//#define AUTO_BED_LEVELING_BILINEAR

#if ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_BILINEAR)

// Set the number of grid points per dimension.
#define GRID_MAX_POINTS_X 5
#define GRID_MAX_POINTS_Y 5

// Set the boundaries for probing (where the probe can reach).
#define LEFT_PROBE_BED_POSITION 10
#define RIGHT_PROBE_BED_POSITION 210
#define FRONT_PROBE_BED_POSITION 25
#define BACK_PROBE_BED_POSITION 245

// The Z probe minimum outer margin (to validate G29 parameters).
#define MIN_PROBE_EDGE 10
Re: 1.1.5 getting mesh bed leveling working
September 07, 2017 05:50PM
Upload your code I will take a look for you!

Edited 1 time(s). Last edit at 09/07/2017 05:50PM by Roberts_Clif.
Re: 1.1.5 getting mesh bed leveling working
September 08, 2017 11:47PM
Quote
Roberts_Clif
Upload your code I will take a look for you!

Thanx for the offer Clif, I got it tho. It was just the //#define LCD_BED_LEVELING needed to be enabled.

all good now.
Re: 1.1.5 getting mesh bed leveling working
September 14, 2017 11:05AM
Quote
Roberts_Clif

// The Z probe minimum outer margin (to validate G29 parameters).
#define MIN_PROBE_EDGE 10


I don't quite understand the comment. What does the MIN_PROBE_EDGE do?

Also, I thought a read somewhere here in the forums that there is a setting that defines how high the nozzle is raised when probing a point. From the looks of it in the discussion, it made sure you didn't start with the nozzle pressed into the bed and allowed you to just lower the nozzle to the right height. But I can't seem to find it in the code. I was wondering if MIN_PROBE_EDGE might have been the setting or did that setting get deprecated in a new version of Marlin?

gene

Edited 1 time(s). Last edit at 09/14/2017 11:11AM by gdahilig.
Re: 1.1.5 getting mesh bed leveling working
September 14, 2017 11:17AM
Quote
JustSumGuy
ok.........how does any form of auto bed leveling work with no probe?

You really should have a Z-Probe. But In UBL you can get perfect correction by doing a G29 P0 which sets the entire mesh to 0.00 mm. And then do a G26 to generate a test pattern. Then jump back to G29 and do a G29 P4 R to edit each mesh point.
After 3 or 4 iterations... You will have a perfectly tuned mesh even though you do not have a Z-Probe.
Re: 1.1.5 getting mesh bed leveling working
September 14, 2017 02:26PM
There is not enough room in the cube frame to install a probe that I can work out yet.

I would loose some build space if I put it beside the head (Either side), my fan is in front and built to actually go under the front of the frame and stick out of the cube.
I am looking at a way to put it in between the rails behind the head.... but that's looking to be a fairly major redesign....

Building a new 275x250mm printer in the coming months so I am fairly likely to leave this little 150x130mm cube as it is now, as a spare to pop smaller things out.
Re: 1.1.5 getting mesh bed leveling working
September 14, 2017 03:11PM
Quote
gdahilig
Quote
Roberts_Clif

// The Z probe minimum outer margin (to validate G29 parameters).
#define MIN_PROBE_EDGE 10


I don't quite understand the comment. What does the MIN_PROBE_EDGE do?

gene

Cut and pasted too many lines, sorry.
I have it enabled in my firmware thou don't know what is does exactly.

Edited 1 time(s). Last edit at 09/14/2017 03:29PM by Roberts_Clif.
Re: 1.1.5 getting mesh bed leveling working
September 14, 2017 03:21PM
Quote
JustSumGuy
There is not enough room in the cube frame to install a probe that I can work out yet.

I placed my Probe under the extruder frame with an adjustable bearing mount slide. With a low profile Proximity Sensor Omron TL-W3M it is within 25mm of the Nozzle.
Could have been 15mm closer thou could not see a purpose. Decided on a 3mm sensor and connect to 5Volt supply.
They to have from 1.5mm - 5mm sensors available. Way smaller than the SN04-N that came with the Printer.



Edited 2 time(s). Last edit at 09/14/2017 03:27PM by Roberts_Clif.
Re: 1.1.5 getting mesh bed leveling working
September 16, 2017 12:35PM
I wonder if the Omron TL-W3M could pick up my aluminum bed thru the 2mm PEI sheet thats glued to it......
Re: 1.1.5 getting mesh bed leveling working
September 16, 2017 12:41PM
Would think so I have a Hictop 220 X 270 Aluminum Bed covered with a BuildTac surface,
And I can do a Start G-Code " G29 " Bi-linear " 5 X 5 = 25 point " Auto Bed Level / 3D Print From the many Slicer Program's I have.

They also have 1.5 - 20 mm sensors, thou I would only suggest the 1.5 - 5mm sensors.
[industrial.omron.us]

About $30.00 each however I bought a 5 Box lot for $30.00
[www.ebay.com]

Edited 6 time(s). Last edit at 09/16/2017 01:18PM by Roberts_Clif.
Re: 1.1.5 getting mesh bed leveling working
September 17, 2017 05:04AM
Quote
JustSumGuy
There is not enough room in the cube frame to install a probe that I can work out yet.

I would loose some build space if I put it beside the head (Either side), my fan is in front and built to actually go under the front of the frame and stick out of the cube.
I am looking at a way to put it in between the rails behind the head.... but that's looking to be a fairly major redesign....
..........

If you must use a proximity sensor to do the z probing the only one worth considering is DC42s IR sensor which should be small and light enough for anybodies requirement. OTOH, unless you have philosophical prejudices against nozzle contact sensors you could consider Piezo sensors [forums.reprap.org]

Mike
Re: 1.1.5 getting mesh bed leveling working
September 19, 2017 04:39PM
Quote
leadinglights
Quote
JustSumGuy
There is not enough room in the cube frame to install a probe that I can work out yet.

I would loose some build space if I put it beside the head (Either side), my fan is in front and built to actually go under the front of the frame and stick out of the cube.
I am looking at a way to put it in between the rails behind the head.... but that's looking to be a fairly major redesign....
..........

If you must use a proximity sensor to do the z probing the only one worth considering is DC42s IR sensor which should be small and light enough for anybodies requirement. OTOH, unless you have philosophical prejudices against nozzle contact sensors you could consider Piezo sensors [forums.reprap.org]

Mike

I actually don't feel the need, manual mesh has done well for me for a long time. I plan to use a sensor on my next build but that's because I will be planning from it from the ground up so all aspects of design will take into account the needs of the sensor.
This GeeeTech ME Creator setup is tight, small... tiny really. Cool for a starter setup, and I got it for free so its been a great source of learning.
I redesigned parts added PEI (learned that 2mm is really thick for PEI) tested sensors, threw out the Sanguinolulo controller and built it back up with ramps 1.4 and TMC2100 steppers....

Next setup is going to be avoiding all the pitfalls of this setup.......

I am a master at the 9 point manual mesh now smiling smiley
Sorry, only registered users may post in this forum.

Click here to login