Page 1 of 1

Marlin 2.0 bugfix 11may20 i3 pro B with t8's/bltouch

Posted: Sun May 10, 2020 11:55 pm
by enhaxed
This is my "hot off the press" (from Github) Marlin 2.0 bugfix firmware version modified for a the i3 pro B with t8 leadscrews, GT 2560 A+ board and 3dtouch/bltouch sensor.

I used Wysocki's excellent 1.1.9 bugfixes file as a guide, thanks to them for their great work.

I don't know if it's just my wiring but - I am using a 3dtouch and it didn't work correctly unless i reversed the 2pin plug on the board so the white wire is high and black down. The other way it would just crash the extruder into the bed. Use your own discretion.

You may want to insert your own UUID (unique ID number for the printer) in the Configuration.h file before compiling get one here:

https://www.uuidgenerator.net/

Leveling

I have enabled Linear auto-leveling and the M48 probe repeatability test.

To run a bed leveling cycle enter:

(If you have a heated print bed you should have it on at the temperature you normally use when printing since it expands as it heats changing the bed level results.)

G29 X3 Y3 L30 R180 F30 B180 T V4
M500

The above gcode uses the probe to test the bed level in a 3x3 grid with the bottom left corner at 30,30 and top right at 180,180 then produce a detailed report and then saves it with M500.

This command has too many options to really go over here but this link will take you to the Marlin information for it https://marlinfw.org/docs/gcode/G029-abl.html .

PIDtemp

PID is enabled for the extruder - don't forget to do your own PID test and input those values in as well. One way is the following -

With a cold printer enter:

M303 E0 S200 C8
M500

This will perform 8 tests of the extruder temp values at 200C and then out put a report with recommended values. 200C is arbitrary, it's probably best to use the temperature you normally use to print as the results will be tuned for whatever the S temperature value is.

M500 should save the values but you can set also them manually with:

M304 Dx Ix Px
M500

Replace the x's with your values (No idea why they are in reverse order and it may not matter what order you put them)

Plug the Kp Ki and Kd into the relevant section of Configuration.h and compile.

PID can be disabled by commenting out the relevant section of Configuration.h

There is also an option for an Auto-PIDtemp menu to be enabled (which I haven't tried) which may be worth looking at in this section of Configuration.h - I will probably try it on the next version of the firmware.

********************************************************************************

Possible issues:

- the stepper values are the non-standard ones from Wysocki's firmware version; 81.5, 81.5, 400.69, 94 - you may want to set them to the standard with the gcode:

M92 X80 Y80 Z400 E94
M500

- x axis is reversed (easy to change in the firmware look for "#define INVERT_X_DIR true" and set it to false.)

I finally resolved my probe offset issues, it turns out that following the wiring diagram for the rev A when you have a rev A+ doesn't work so well. Autoleveling works fine now after tweaking the home offsets a little.

Edits: I forgot a bunch of stuff so I'm adding it as I think of it, apologies.

Re: Marlin 2.0 bugfix 11may20 i3 pro B with t8's/bltouch

Posted: Mon Nov 23, 2020 5:28 am
by magichappens
Hey, just came across and was wondering if you are still working on this? Maybe you could share your repo if you have one.
Thank you anyways for your work.