Auto bed probing and compensation with G29 Development

Want to use the Open Source Hardware documentation to make your LulzBot 3D Printer do even more? Start here!
sqaure
Posts: 17
Joined: Thu Jan 30, 2014 8:23 pm

Re: Auto bed probing and compensation with G29 Development

Post by sqaure » Fri Feb 07, 2014 12:42 pm

Can someone reupload the firmware?
I'd really like to install this mod.


*edit after re-reading some of the posts in this topic*
Does the current firmware that ships out with the TAZ3 include firmware that supports auto bed leveling?

GraVix202
Posts: 2
Joined: Mon Feb 10, 2014 6:00 pm

Re: Auto bed probing and compensation with G29 Development

Post by GraVix202 » Fri Mar 28, 2014 11:05 am

Hi all. Sorry to post in such an old thread but I'd love to get some feedback on my issue.

Tshulthise has let me borrow his TAZ for a few months under the agreement that I would get auto bed probing and Z-axis improvements installed and working correctly. I have it all installed but for some reason I can't get the RAMBO board to recognize the G29 command (or G30-G32 for that matter). I have straight copied the gcode and configuration.h file from 1013's first post on this thread so I'm not sure where my difference is. The switch works, the probe works, and I can level the bed with the probe by hand but I would love to have it level by itself. It's a first generation TAZ if that helps.

Picture of the installation because everyone likes pictures =)
Image

and if the image doesn't work here's the url: http://imgur.com/XJzAwN3

bam
Posts: 117
Joined: Thu Sep 19, 2013 11:37 pm

Re: Auto bed probing and compensation with G29 Development

Post by bam » Mon Apr 07, 2014 1:46 pm

GraVix202 wrote:Hi all. Sorry to post in such an old thread but I'd love to get some feedback on my issue.
No worries :)

We're just diving back into autoleveling now for the EZ TAZ Mini, current development can be found here: http://devel.alephobjects.com/lulzbot/E ... i/autolev/

Here's what I'm working with for start g-code:

G21 ; set units to millimeters
M107
G28 ; home all axes
G1 Z5 F5000 ; lift nozzle <----
M203 X192 Y208 Z4 ; set max rapid rates mm per sec
G91; set to incremental motion
G1 Z5.0 F11520; raise Z
G90; set to absolute motion
G28 X0 Y0; home X and Y axes
G1 X276 F11520; go to probe deployment position
G1 X288 F350; deploy probe
G1 X250 F11520; go to safe place
G28 Z0; Home Z axes
G29; probe bed
G1 Z4.0 F11520; raise probe off bed
G1 X14 F11520; go to probe retract position
G1 X0.5 F350; retract probe
G1 X1 F350; move away from limit switch
M206 X0.0 Y0.0 Z-5; offset home position for fine tuning

bam
Posts: 117
Joined: Thu Sep 19, 2013 11:37 pm

Re: Auto bed probing and compensation with G29 Development

Post by bam » Mon Apr 07, 2014 1:55 pm

Also, We're currently working with force sensitive resistors embedded in the bed corners as an alternative to using a deployable probe. The advantage is that the 'probing' of the bed is actually done by the nozzle, so you don't have to worry about x, y, or z offset errors skewing the compensation.

If you check in the development files ( http://devel.alephobjects.com/lulzbot/E ... i/autolev/)you can find a video of the printer homing through nozzle-bed contact, rather than any Z-switch.
IMG_1366.JPG
IMG_1367.JPG
IMG_1368.JPG

User avatar
Orias
Aleph Objects | LulzBot
Posts: 1420
Joined: Wed Mar 27, 2013 1:24 pm
Location: US

Re: Auto bed probing and compensation with G29 Development

Post by Orias » Mon Apr 07, 2014 1:57 pm

That's rather clever!

geneb
Posts: 63
Joined: Thu May 02, 2013 7:59 am

Re: Auto bed probing and compensation with G29 Development

Post by geneb » Sun Apr 27, 2014 8:07 am

Apparently, some jerk decided to delete the firmware off their github repo. *glares*

Here's the firmware I'm currently running and is the same used in the video I did:
http://www.geneb.org/TAZ/taz-autolevel-marlin.zip

g.

jepmn
Posts: 48
Joined: Mon May 05, 2014 8:59 am

Re: Auto bed probing and compensation with G29 Development

Post by jepmn » Wed May 14, 2014 1:44 pm

bam wrote:Also, We're currently working with force sensitive resistors embedded in the bed corners as an alternative to using a deployable probe. The advantage is that the 'probing' of the bed is actually done by the nozzle, so you don't have to worry about x, y, or z offset errors skewing the compensation.
That's really cool. I just got a TAZ 4 and am very interested in this solution. Any update on the status?

jebba
Site Admin
Posts: 689
Joined: Mon Mar 25, 2013 4:11 pm

Re: Auto bed probing and compensation with G29 Development

Post by jebba » Wed May 14, 2014 6:06 pm

geneb wrote:Apparently, some jerk decided to delete the firmware off their github repo. *glares*

Here's the firmware I'm currently running and is the same used in the video I did:
http://www.geneb.org/TAZ/taz-autolevel-marlin.zip
On our server? What is the URL you were using?

-Jeff

Couby
Posts: 17
Joined: Sat Apr 13, 2013 1:27 am

Re: Auto bed probing and compensation with G29 Development

Post by Couby » Mon Jul 14, 2014 9:43 am

Hi, I'm on holiday and back working on my homemade TAZ :oops: .

I'm encountering some difficulties having this mod working.

All is well wired and working, motors, endstops... all checked manually via pronterface.

For the moment I'm trying to check the feature manually.
Executing this is working fine :

Code: Select all

G28 X0 Y0; home X and Y axes
G1 X276 F11520; go to probe deployment position
G1 X288 F350; deploy probe
G1 X250 F11520; go to safe place
G28 Z0; Home Z axes
But when I execute G29, it is not executing the process as expected.
Instead of leveling up in Z going to a point, leveling, and etc for each point, I have no Z move and no Y move.
The carriage is moving along X axis only, and the process ends giving 0 corrections as expected with auto-level (and I know there should be, the center is a bit "higher" than the side because of the way my plate is pinched).

Any idea where it could come from ? Could it be related to maximum speed (I think I haven't it well set for the moment these values :? ).
Any orientation welcome :).

Regards

TomsCables
Posts: 79
Joined: Mon Apr 14, 2014 8:45 am

Re: Auto bed probing and compensation with G29 Development

Post by TomsCables » Tue Jul 22, 2014 12:17 pm

Hey All,

I was able to get this thing printed and installed on my TAZ4. Following the instructions from here http://blog.yuliyruzin.com/2014/06/lulz ... eling.html

I did have to change the custom Gcode to
G1 X276 F11520; go to probe deployment position
G1 X279 F350; deploy probe
and
G1 X14 F11520; go to probe retract position
G1 X3 F350; retract probe
To keep from crashing the printer.
These changes may be because of the different actuator that I used. Downloaded from here http://forum.lulzbot.com/viewtopic.php?f=7&t=976


So after homing the Z axis with the new probe and taking a measurement to the nozzle opening to determine my offset. I calculated it being about 3.57mm in Z. So I edited the Z_Probe_Offset_From_extruder value in the calibration.h file to -3.57 saved the file and uploaded the changes to the printer.

Now when printing it measures the bed with the probe but stops at about 3mm from the glass and starts printing. Its acting like the Z_Probe_Offset is zero.

I tried editing the Z value in the, M206 X0.0 Y0.0 Z0.0; offset home position for fine tuning line of the custom code, but that didn't seem to make a difference. Can anyone help me?

Oh and I noticed my X motor making a clunking sound when printing now. Could this have something to do with the firmware?

Post Reply