Welcome! Log In Create A New Profile

Advanced

Bed Auto Leveling.. check this out

Posted by AlexBorro 
Re: Bed Auto Leveling.. check this out
October 12, 2014 04:03PM
This is my G code

G28
G28 X0 Y0 ; home all axes
G1 X5;
G28 Z0; Home Z
G29 ; auto bed leveling
G90 ; set absolute coordinates
G1 X0 Y0 F3000

When i print, i see the Z motor working. they move the extruder up when it goes on the right side of the bed.
Re: Bed Auto Leveling.. check this out
October 12, 2014 04:23PM
Quote
ti-luc
This is my G code

G28
G28 X0 Y0 ; home all axes
G1 X5;
G28 Z0; Home Z
G29 ; auto bed leveling
G90 ; set absolute coordinates
G1 X0 Y0 F3000

When i print, i see the Z motor working. they move the extruder up when it goes on the right side of the bed.

It looks lice it is a Cure start code or it looks very similar to it.
Cura has some problems with bed leveling if you add anything after G28 (at least this is my experience)

Try this start code:
G21 ;metric values
G90 ; set absolute coordinates
M82 ;set extruder to absolute mode
G28 ;home all aexes
;G28 X0 Y0 ; home all axes
G1 X5;
;G28 Z0; Home Z
G29 ; auto bed leveling
G1 X0 Y0 F3000
Re: Bed Auto Leveling.. check this out
October 12, 2014 05:31PM
b

Edited 1 time(s). Last edit at 10/12/2014 05:32PM by ti-luc.
Re: Bed Auto Leveling.. check this out
October 12, 2014 05:33PM
I use Slic3r and i print from a SD card.

I will try your start code asap.
I will give you an update soon.

Thank
Re: Bed Auto Leveling.. check this out
October 12, 2014 11:13PM
Quote
szabi
Quote
ti-luc
This is my G code

G28
G28 X0 Y0 ; home all axes
G1 X5;
G28 Z0; Home Z
G29 ; auto bed leveling
G90 ; set absolute coordinates
G1 X0 Y0 F3000

When i print, i see the Z motor working. they move the extruder up when it goes on the right side of the bed.

It looks lice it is a Cure start code or it looks very similar to it.
Cura has some problems with bed leveling if you add anything after G28 (at least this is my experience)

Try this start code:
G21 ;metric values
G90 ; set absolute coordinates
M82 ;set extruder to absolute mode
G28 ;home all aexes
;G28 X0 Y0 ; home all axes
G1 X5;
;G28 Z0; Home Z
G29 ; auto bed leveling
G1 X0 Y0 F3000

I try your code and it didn't improve. I added 3 pictures. If you look at the picture 3, you will see that the print is a lot thicker compare to picture 2.
Attachments:
open | download - 1.jpg (594.8 KB)
open | download - 2.jpg (584 KB)
open | download - 3.jpg (591.1 KB)
Re: Bed Auto Leveling.. check this out
October 12, 2014 11:50PM
This is my start and end codes for Cura. 14.09
I am having no problems with mine, it is working perfectly.
My start code puts down a small line of filament to prime the nozzle before printing.

;Start code
;Print time: {print_time}
;Filament used: {filament_amount}m {filament_weight}g
;Filament cost: {filament_cost}
;M190 S{print_bed_temperature} ;Uncomment to add your own bed temperature line
;M109 S{print_temperature} ;Uncomment to add your own temperature line
G21 ;metric values
G90 ;absolute positioning
M107 ;start with the fan off
G92 ;zero all axis
G1 Z20.0 F{travel_speed} ;move the platform down 15mm
G28 ;home all axis
G29 ;auto bed leveling probes
G92 E0 ;reset extruder
M82 ;set extruder mode
G1 Z5 ;move nozzle up 5mm to clear bed while traveling.
G1 X5 Y5 ;almost home X and Y axis
G1 Z0.5 ;move nozzle to print height
G1 E40 X90 F700 ;extrude some filament in a short line to prime the nozzle.
G92 E0 ;zero the extruded length again
G1 F{travel_speed}
M117 Printing...;Put printing message on LCD screen

;End code:
M104 S0
M140 S0 ;heated bed heater off (if you have it)
G91 ;relative positioning
G1 E-5 F300 ;retract the filament a bit before lifting the nozzle, to release some of the pressure
G1 Z+0.5 E-10 ;move Z up a bit and retract filament even more
M117 finished... ;message on LCD screen
G28 X5 Y5 ;move X/Y to min endstops, so the head is out of the way
G1 Y245 F2000 ;move to front
;M300 S300 P1000 ;sound when finished
;M300 S200 P1000 ;sound when finished
;M300 S400 P1000 ;sound when finished
M84 ;all steppers off
G90 ;absolute positioning


[regpye.com.au]
"Experience is the mother of all knowledge." --Leonardo da Vinci
Re: Bed Auto Leveling.. check this out
October 13, 2014 03:10AM
Quote
ti-luc
Quote
szabi
Quote
ti-luc
This is my G code

G28
G28 X0 Y0 ; home all axes
G1 X5;
G28 Z0; Home Z
G29 ; auto bed leveling
G90 ; set absolute coordinates
G1 X0 Y0 F3000

When i print, i see the Z motor working. they move the extruder up when it goes on the right side of the bed.

It looks lice it is a Cure start code or it looks very similar to it.
Cura has some problems with bed leveling if you add anything after G28 (at least this is my experience)

Try this start code:
G21 ;metric values
G90 ; set absolute coordinates
M82 ;set extruder to absolute mode
G28 ;home all aexes
;G28 X0 Y0 ; home all axes
G1 X5;
;G28 Z0; Home Z
G29 ; auto bed leveling
G1 X0 Y0 F3000

I try your code and it didn't improve. I added 3 pictures. If you look at the picture 3, you will see that the print is a lot thicker compare to picture 2.

Execute G28 manually then execute G29 manually and post the output, so we can check the amount of compensation.
Have you ever got your printer working properly with manual bed leveling?
Re: Bed Auto Leveling.. check this out
October 13, 2014 09:58AM
Quote
szabi
Quote
ti-luc
Quote
szabi
Quote
ti-luc
This is my G code

G28
G28 X0 Y0 ; home all axes
G1 X5;
G28 Z0; Home Z
G29 ; auto bed leveling
G90 ; set absolute coordinates
G1 X0 Y0 F3000

When i print, i see the Z motor working. they move the extruder up when it goes on the right side of the bed.

It looks lice it is a Cure start code or it looks very similar to it.
Cura has some problems with bed leveling if you add anything after G28 (at least this is my experience)

Try this start code:
G21 ;metric values
G90 ; set absolute coordinates
M82 ;set extruder to absolute mode
G28 ;home all aexes
;G28 X0 Y0 ; home all axes
G1 X5;
;G28 Z0; Home Z
G29 ; auto bed leveling
G1 X0 Y0 F3000

I try your code and it didn't improve. I added 3 pictures. If you look at the picture 3, you will see that the print is a lot thicker compare to picture 2.

Execute G28 manually then execute G29 manually and post the output, so we can check the amount of compensation.
Have you ever got your printer working properly with manual bed leveling?

I print many parts without the bed levelling but never a big part like this. So it's possible that the problem is there since the beginning.
I manually run the G28 and the G29. I have attached the result in the next picture.
Attachments:
open | download - G28-G29.jpg (126.6 KB)
Re: Bed Auto Leveling.. check this out
October 13, 2014 10:38AM
Quote
ti-luc
Quote
szabi
Quote
ti-luc
Quote
szabi
Quote
ti-luc
This is my G code

G28
G28 X0 Y0 ; home all axes
G1 X5;
G28 Z0; Home Z
G29 ; auto bed leveling
G90 ; set absolute coordinates
G1 X0 Y0 F3000

When i print, i see the Z motor working. they move the extruder up when it goes on the right side of the bed.

It looks lice it is a Cure start code or it looks very similar to it.
Cura has some problems with bed leveling if you add anything after G28 (at least this is my experience)

Try this start code:
G21 ;metric values
G90 ; set absolute coordinates
M82 ;set extruder to absolute mode
G28 ;home all aexes
;G28 X0 Y0 ; home all axes
G1 X5;
;G28 Z0; Home Z
G29 ; auto bed leveling
G1 X0 Y0 F3000

I try your code and it didn't improve. I added 3 pictures. If you look at the picture 3, you will see that the print is a lot thicker compare to picture 2.

Execute G28 manually then execute G29 manually and post the output, so we can check the amount of compensation.
Have you ever got your printer working properly with manual bed leveling?

I print many parts without the bed levelling but never a big part like this. So it's possible that the problem is there since the beginning.
I manually run the G28 and the G29. I have attached the result in the next picture.

As you can see from the results you have around 0.2mm compensation (difference) between left and right side. Assuming a layer height of .2 we are talking about one later difference.
I would suggest to check your z motors and axes. You may have a misaligned z mech as well. Another tought, have you tuned your z motor current? If your driving current is low you may have step loss on any of your motors hence you will get uneven prints, however this should not only happen on one side, so better first you should check your mechanism and make sure it is perfectly aligned which means you should measure the same vertical distance (hight) on left and right side between any of your x rods and a fixed point of the mech, but not the bed!
Re: Bed Auto Leveling.. check this out
October 13, 2014 11:30AM
I would suggest installing the enhanced G29 code from here: [3dprintboard.com] then running G29 n5 T to generate a topographical map of your print surface. It may not be flat.


MakerFarm 8" Prusa i3v
RAMPS 1.4
0.4mm E3D v6 for 1.75mm
Re: Bed Auto Leveling.. check this out
October 18, 2014 12:08PM
Quote
szabi
Quote
ti-luc
Quote
szabi
Quote
ti-luc
Quote
szabi
Quote
ti-luc
This is my G code

G28
G28 X0 Y0 ; home all axes
G1 X5;
G28 Z0; Home Z
G29 ; auto bed leveling
G90 ; set absolute coordinates
G1 X0 Y0 F3000

When i print, i see the Z motor working. they move the extruder up when it goes on the right side of the bed.

It looks lice it is a Cure start code or it looks very similar to it.
Cura has some problems with bed leveling if you add anything after G28 (at least this is my experience)

Try this start code:
G21 ;metric values
G90 ; set absolute coordinates
M82 ;set extruder to absolute mode
G28 ;home all aexes
;G28 X0 Y0 ; home all axes
G1 X5;
;G28 Z0; Home Z
G29 ; auto bed leveling
G1 X0 Y0 F3000

I try your code and it didn't improve. I added 3 pictures. If you look at the picture 3, you will see that the print is a lot thicker compare to picture 2.

Execute G28 manually then execute G29 manually and post the output, so we can check the amount of compensation.
Have you ever got your printer working properly with manual bed leveling?

I print many parts without the bed levelling but never a big part like this. So it's possible that the problem is there since the beginning.
I manually run the G28 and the G29. I have attached the result in the next picture.

As you can see from the results you have around 0.2mm compensation (difference) between left and right side. Assuming a layer height of .2 we are talking about one later difference.
I would suggest to check your z motors and axes. You may have a misaligned z mech as well. Another tought, have you tuned your z motor current? If your driving current is low you may have step loss on any of your motors hence you will get uneven prints, however this should not only happen on one side, so better first you should check your mechanism and make sure it is perfectly aligned which means you should measure the same vertical distance (hight) on left and right side between any of your x rods and a fixed point of the mech, but not the bed!

Problem found, AbuMaia have the right answer. The glass i was printing on it was very thin and not flat. I change it for a thicker one and the problem is solve.

Now the other issue is I have a poor adhesion between layers i'm printing. I'm printing with 1.75mm PLA (real size 1.69) at 195 degree. The distance between the extruder and the bed is 0.1mm. I'm using SLIC3R and the setup is the fallowing you can see in the picture. The extruder nozzle is a 0.3MM

Thanks for your great support.
Attachments:
open | download - Picture 1.jpg (212.1 KB)
open | download - Picture 2.jpg (237.3 KB)
open | download - Picture 3.jpg (263.7 KB)
open | download - Picture 4.jpg (49.7 KB)
open | download - Picture 5.jpg (189.3 KB)
Re: Bed Auto Leveling.. check this out
October 29, 2014 06:24PM
Quote
stephenrc
While the G29 is running, are either the X or Y endstops hit? If they are, then the home position for that axis is changed. You'll need to adjust the probe bed positions.

For example, if X_PROBE_OFFSET_FROM_EXTRUDER is 52, then LEFT_PROBE_BED_POSITION needs to be greater than 52. If it's less, the x home position will be changed.

I am having the same issue same issue as derletztename, but I do think my endstops are being hit, you have saved me a lot of frustration.
Re: Bed Auto Leveling.. check this out
November 01, 2014 06:00PM
After probing with my Hal Sensor I also hit the X MIN not taking note and boy was I wondering why after auto bed my X0Y0 is totally off....So BE CAREFUL smiling smiley
Re: Bed Auto Leveling.. check this out
November 04, 2014 03:00AM
Very nice work
Thank's a lot




----------------------------------------------
room rental singapore: room rental singapore
math tuition: math tuition
singapore mrt map: singapore mrt map
Re: Bed Auto Leveling.. check this out
November 13, 2014 01:20PM
So some interesting issues cropped up last night that I cannot find a fix for.

When bed leveling was working the printer would do its G29 but then not move down to the bed to print, it would lower a few mm then print in mid air.
Now after I do the G28 and it homes all 3 axes and the Z probe servo works, it does not want to start G29, it just lowers the z axis without ever engaging the z probe or moving to the first z probe spot.

Attached is my start gcode

G21
M190 S95
M104 S250
G28
G29
M109 S250
G90
M83


Edit: Figured that out, it was the lift before probing, I forgot to update it to a number higher then my z probe offset.

Edited 1 time(s). Last edit at 11/14/2014 01:41PM by zerodameaon.
Re: Bed Auto Leveling.. check this out
February 09, 2015 11:55AM
Quote
yotiro
For those trying to use a RUMBA board like me.
I've managed to operate a hobby servo connected on ext3. Pins 2 / 4 / 6 has +5v / gnd / pwm2 signals.

I've added on pins.h file the following text in red:

------------------------------------------------------------------------------------------------------------------------------------------
#define LCD_PINS_D6 41
#define LCD_PINS_D7 40
#define BTN_EN1 11
#define BTN_EN2 12
#define BTN_ENC 43

#ifdef NUM_SERVOS
#define SERVO0_PIN 5

#if NUM_SERVOS > 1
#define SERVO1_PIN 4
#endif

#endif


#endif //MOTHERBOARD==80
------------------------------------------------------------------------------------------------------------------------------------------

Be careful about polarity for the servo. Servo's plug normally has +Vcc in the middle, I switched possitive and negative servo wires position and connected as in the attached photo and works ok. Pay lots of attention to polarity of possitive and negative wires or you'll burn the servo and/or damage the board.

The servo I'm using for tests it's a hextronik mg14, no problems, min/max position for me are 0 / 90.

Hi Yotiro.

I found this from you, I know this is from a few years ago but I think you're the one who could help me. I want to use three servo motors in my RUMBA, so I was looking for the schematics of the board, sadly for me the one that I found (http://reprap.org/mediawiki/images/2/24/RRD-RUMBA_SCHEMATICS.png) did not work for me, the PINs don't match with mine when I added in Pins.h configuration.

You already have 2 pins (5 and 4) for servo motors (working perfectly), I wonder if you know what pin number could I use for a third one? Or you know the number of any I/O pin in EXP3 or EXP4/JTAG that I could use, since as I mentioned before, the schematic I used did not match with my board.

Hope you can help me. I appreciate your help here in the forum.
Re: Bed Auto Leveling.. check this out
February 13, 2015 02:24AM
Hello!
I have some problems on this bed autolevelling.
I'm able to make a 4 points autolevelling , it works well but when I lauch the printing process, it seems that the system had not memorized the Z positions and the hotend goes very deep on the glass bed.... I have to power off my printer before the break process confused smiley
I red that we have to activate these lines :

#define EEPROM_SETTINGS
#define EEPROM_CHITCHAT

to store the setings in memory....
Is it correct ?
What do you think about this problem?
Thanks
Re: Bed Auto Leveling.. check this out
February 13, 2015 02:28AM
Quote
touchthebitum
Hello!
I have some problems on this bed autolevelling.
I'm able to make a 4 points autolevelling , it works well but when I lauch the printing process, it seems that the system had not memorized the Z positions and the hotend goes very deep on the glass bed.... I have to power off my printer before the break process confused smiley
I red that we have to activate these lines :

#define EEPROM_SETTINGS
#define EEPROM_CHITCHAT


to store the setings in memory....
Is it correct ?
What do you think about this problem?
Thanks

Have you set your Z offset correctly? If that is not set the nozzle could be up or down depending on what you have set or otherwise.


[regpye.com.au]
"Experience is the mother of all knowledge." --Leonardo da Vinci
Re: Bed Auto Leveling.. check this out
February 13, 2015 02:32AM
Yes, I followed all the steps on the guide....G92 and the two calibrations (hotend and Probe) ....
I don't understand when I have to star the autolevelling. Do I have to implement it on the Gcode ?
thanks
Re: Bed Auto Leveling.. check this out
February 13, 2015 02:40AM
I have a big distance between the hotend and probe.
In this picture I hadn't setup the microswitch.
Attachments:
open | download - IMG_1706.JPG (229.4 KB)
Re: Bed Auto Leveling.. check this out
February 13, 2015 02:46AM
Quote
touchthebitum
Yes, I followed all the steps on the guide....G92 and the two calibrations (hotend and Probe) ....
I don't understand when I have to star the autolevelling. Do I have to implement it on the Gcode ?
thanks

Yes, important.
After the G28 that does the homing routine, you need to call up the auto bed levelling routine with a G29.
Put the G29 after the G28 in your start code.
What program are you using for the slicing?


[regpye.com.au]
"Experience is the mother of all knowledge." --Leonardo da Vinci
Re: Bed Auto Leveling.. check this out
February 13, 2015 02:48AM
Ok
I tested G28 and G29 and it worked well , I see the various Z values on my LCD screen
I use Cura

Edited 1 time(s). Last edit at 02/13/2015 02:48AM by touchthebitum.
Re: Bed Auto Leveling.. check this out
February 13, 2015 03:02AM
Quote
touchthebitum
Ok
I tested G28 and G29 and it worked well , I see the various Z values on my LCD screen
I use Cura

Hi!

Cura is a little bit tricky
if you use the original code
G28 X0 Y0 ;move X/Y to min endstops
G28 Z0 ;move Z to min endstops
it will reset your offset (don't ask me why)


Use this start code and it will work

G21 ;metric values
G90 ;absolute positioning
M82 ;set extruder to absolute mode
M107 ;start with the fan off
G28
G29 ;bed leveling
G1 Z0.7
G92 Z0
G1 Z5.0 F{travel_speed} ;move the platform down 15mm
G92 E0 ;zero the extruded length
G1 F200 E10 ;extrude 3mm of feed stock
G92 E0 ;zero the extruded length again
G1 F{travel_speed}
;Put printing message on LCD screen
M117 Printing...

Edited 1 time(s). Last edit at 02/13/2015 03:03AM by szabi.
Re: Bed Auto Leveling.. check this out
February 13, 2015 03:03AM
Ok, I'll try it this evening winking smiley
Thanks
Re: Bed Auto Leveling.. check this out
February 13, 2015 03:12AM
Quote
touchthebitum
Ok
I tested G28 and G29 and it worked well , I see the various Z values on my LCD screen
I use Cura

OK, this is what I am using in the start code for Cura.
You will need to make a few changes of course, but the basics are what you need.

;Print time: {print_time}
;Filament used: {filament_amount}m {filament_weight}g
;Filament cost: {filament_cost}
;M190 S{print_bed_temperature} ;Uncomment to add your own bed temperature line
;M109 S{print_temperature} ;Uncomment to add your own temperature line
G21 ;metric values
G90 ;absolute positioning
M107 ;start with the fan off
G92 ;zero all axis
G1 Z20.0 F{travel_speed} ;move the platform down 15mm
M117 Homing...
G28 ;home all axis
M117 Levelling...
G29 ;auto bed leveling probes
G92 E0 ;reset extruder
M82 ;set extruder mode
;M117 Cleaning....
;G1 Z15 X225 Y-15 F500 ;wipe the nozzle routine (experimental)
;Gi X190 Y25 F900
;G1 X225 Y-15 F900
;Gi X180 Y0 F2000
M117 Purging....
G1 Z0.5 ;move nozzle to print height
G1 E40 X90 F700 ;extrude some filament in a short line to prime the nozzle.
G92 E0 ;zero the extruded length again
G1 F{travel_speed}
;Put printing message on LCD screen
M117 Printing...
Re: Bed Auto Leveling.. check this out
February 13, 2015 04:06AM
Excellent , let's see ....
Thanks
Re: Bed Auto Leveling.. check this out
February 13, 2015 03:14PM
Hello!
I tried both Gcodes and the best for the moment is from Szabi. I have yet a problem : it prints in the air .....
when I put M114 I have two x,y,z , the second is with count x .... and only z value is different. Which z do I have to write on the firmware?
I don't understand why it prints on air because I made 10 times the calibration with the hotend and the probe..... I'm not shure it is stored in the memory and I don't see any code for that in the AlexBorro process.
Re: Bed Auto Leveling.. check this out
February 13, 2015 03:24PM
to be sure I write my calibration process :
1 write to bed a point
2 move the axes carriage with my jog on the lcd to point on the mark on the bed
3 move down and I put a A4 paper to setup space between bed and hotend
4 G92
5 move probe on the mark on the bed
6 move down until I hear "click"
7 M119 to confirm touching dowm
8 M114 to read values
9 Write values on the firmware and multiply by -1 all the values
10 upload the firmware
11 Write Gcode on Cura and export my model on the sdcard
12 Run the print
Re: Bed Auto Leveling.. check this out
February 13, 2015 03:24PM
Hi!

This is most probably because you haven't stored your Z offset in the EEPROM.
Please make sure EEPROM feature is enabled in your settings
#define EEPROM_SETTINGS
#define EEPROM_CHITCHAT

then use the following commands:
M503; reads current settings from Memory (not EEPROM) what you have defined in the code
M500; stores the reader actual parameters into the EEPROM


then you can try to print
Re: Bed Auto Leveling.. check this out
February 13, 2015 03:26PM
but when I have to do M500 ?
Sorry, only registered users may post in this forum.

Click here to login