Welcome! Log In Create A New Profile

Advanced

Marlin Autoprobe checklist

Posted by disneytoy 
Marlin Autoprobe checklist
July 07, 2014 02:23AM
I don't think my RichieC Marlin's Auto calibration is set up correctly. Can someone running me through the process.

I'm running RAMPS 1.4. I have a micro switch connected to Z-Min (pin 18) Not sure if it is NO or NC. How can I reverse it in the firmware?

Do I need to comment or uncomment anything in Configuration.h or pin.h? Or am I ready to go with my basic motherboard 33 set?

I know I have to set the probe offsets etc. but not sure if anything else inpin.h needs alterations.

Thanks
Re: Marlin Autoprobe checklist
July 08, 2014 01:26AM
Quote
disneytoy
I don't think my RichieC Marlin's Auto calibration is set up correctly. Can someone running me through the process.

I'm running RAMPS 1.4. I have a micro switch connected to Z-Min (pin 18) Not sure if it is NO or NC. How can I reverse it in the firmware?

Do I need to comment or uncomment anything in Configuration.h or pin.h? Or am I ready to go with my basic motherboard 33 set?

I know I have to set the probe offsets etc. but not sure if anything else inpin.h needs alterations.

Thanks

Hi Disneytoy

Use M119 to determine the state of your Z probe microswitch. It should be 'open' when the probe is deployed but not touching the bed and change to 'triggered' when the probe touches the bed. If you need to change it look for this line in your configuration.h :-

const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop

Change the 'false' to 'true' or vice versa to alter the endstop logic. In order for the probe software to work you also need to disable the X and Y min endstops. Do this by editing pins.h. You need to find the pin definition section for your motherboard and make the definition for both these endstop pins -1

Good luck

Andy
Re: Marlin Autoprobe checklist
July 08, 2014 02:19AM
Thank you!
Re: Marlin Autoprobe checklist
July 12, 2014 12:54AM
Hi Gang!

I'm trying to test my autocalibration switch. I have a simple microswitch wired to my Ramps 1.4 I'm connected to Pin 18. I've tested my wiring with a multimeter to it does work.

I use M119 to test my switch, But I only get:

01:23:32.110 : Reporting endstop status
01:23:32.110 : x_max: TRIGGERED
01:23:32.110 : y_max: TRIGGERED
01:23:32.110 : z_max: TRIGGERED

Not reporting Z_min?

I checked my Pin.h and it looks good. Do I have anything mis-configured for my probe?

Thanks

------------------------------------------------------------------




#if MOTHERBOARD == 33 || MOTHERBOARD == 34 || MOTHERBOARD == 35 || MOTHERBOARD == 77

#define LARGE_FLASH true

#if MOTHERBOARD == 77
#define X_STEP_PIN 54
#define X_DIR_PIN 55
#define X_ENABLE_PIN 38
#define X_MIN_PIN 3
#define X_MAX_PIN -1 //2 //Max endstops default to disabled "-1", set to commented value to enable.

#define Y_STEP_PIN 60
#define Y_DIR_PIN 61
#define Y_ENABLE_PIN 56
#define Y_MIN_PIN 14
#define Y_MAX_PIN -1 //15

#define Z_STEP_PIN 46
#define Z_DIR_PIN 48
#define Z_ENABLE_PIN 63
#define Z_MIN_PIN 18
#define Z_MAX_PIN -1

#define Z2_STEP_PIN 36
#define Z2_DIR_PIN 34
#define Z2_ENABLE_PIN 30

#define E0_STEP_PIN 26
#define E0_DIR_PIN 28
#define E0_ENABLE_PIN 24

#define E1_STEP_PIN 36
#define E1_DIR_PIN 34
#define E1_ENABLE_PIN 30

#define SDPOWER -1
#define SDSS 25//53
#define LED_PIN 13

#define BEEPER 33

#else

#define X_STEP_PIN 54
#define X_DIR_PIN 55
#define X_ENABLE_PIN 38
#define X_MIN_PIN -1 // unused for deltabot, was 3
#define X_MAX_PIN 2

#define Y_STEP_PIN 60
#define Y_DIR_PIN 61
#define Y_ENABLE_PIN 56
#define Y_MIN_PIN -1 // unused for deltabot, was 14
#define Y_MAX_PIN 15

#define Z_STEP_PIN 46
#define Z_DIR_PIN 48
#define Z_ENABLE_PIN 62
#define Z_MIN_PIN 18 // autolevel probe for deltabot
#define Z_MAX_PIN 19

#define Z2_STEP_PIN 36
#define Z2_DIR_PIN 34
#define Z2_ENABLE_PIN 30

#define E0_STEP_PIN 26
#define E0_DIR_PIN 28
#define E0_ENABLE_PIN 24

#define E1_STEP_PIN 36
#define E1_DIR_PIN 34
#define E1_ENABLE_PIN 30

#define SDPOWER -1
#define SDSS 53
#define LED_PIN 13
#endif

#if MOTHERBOARD == 33 || MOTHERBOARD == 35
#define FAN_PIN 9 // (Sprinter config)
#else
#define FAN_PIN 4 // IO pin. Buffer needed
#endif

#if MOTHERBOARD == 77
#define FAN_PIN 8
#endif
Re: Marlin Autoprobe checklist
July 12, 2014 09:21AM
My old Marlin configuration.h file has this little gem hidden inside it:

// Deltas never have min endstops
#define DISABLE_MIN_ENDSTOPS

Since M119 isn't showing the MIN endstops, I'm guessing that yours has the same setting not commented out. Put a double slash in front of it (to comment it out) and see if M119 shows all six endstops.....
Re: Marlin Autoprobe checklist
July 12, 2014 10:29AM
Thank you. You were correct sir!!!
Re: Marlin Autoprobe checklist
April 15, 2015 09:49AM
Thanks vreihen, I was trying for 2 days now to get autolevel to compile correctly. This should be disabled by default for the delta examples.
Sorry, only registered users may post in this forum.

Click here to login