Author Topic: Sidewinder X1 with BLTouch Marling 2.0.5.1 upgrade  (Read 991 times)

tanery

  • Newbie
  • *
  • Posts: 2
    • View Profile
Sidewinder X1 with BLTouch Marling 2.0.5.1 upgrade
« on: April 11, 2020, 04:34:10 PM »
I downloaded the source for the sidewinder 2.0.5.1 from githit and did a merge from the config and confi_advanced files, but when I tried to run the compiled version I get an BLTouch error, requesting I run M999.  I suspect I haven't yet updated the correct file where the old LED lines were used to communicate to the BLTouch.

What files need to be upgraded to allow the Waggster BLTouch pins to correctly communicate with Marlin?

If I get this completed and testing, I'll be glad to share it with others.

Tom

marcomomsen

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: Sidewinder X1 with BLTouch Marling 2.0.5.1 upgrade
« Reply #1 on: April 12, 2020, 04:53:14 AM »
That'd be good to know as I had the same issues.

tanery

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Sidewinder X1 with BLTouch Marling 2.0.5.1 upgrade
« Reply #2 on: April 12, 2020, 03:11:21 PM »
Found the pins file, it is at: Marlin\src\pins\ramps\pins_RAMPS.h.  Now I need to confirm that the Z end stop is disabled.  I was having trouble baby stepping while printing and suspect that the end stop may still be enabled.

nicedevil

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: Sidewinder X1 with BLTouch Marling 2.0.5.1 upgrade
« Reply #3 on: April 15, 2020, 03:56:45 AM »
I'm on the coding project right now ;)

Just remember that Steve used the pins from the RGB light => look at those settings as well.

Maybe steve will tell us anytime what he changed in which file that we can recompile it with newer marlin versions in the future!
Would realy be nice.

EDIT: Oh and take a look at the original marlin 2.0.2 files and throw them into WinMerge to compare them side by side. This would be a possible solution to find any changes steve made by himself. Takes a bit of time because that is a huge amount of files. Here is an example of winmerge comparison => left stock, right waggster => pins_RAMPS.h
« Last Edit: April 15, 2020, 04:01:00 AM by nicedevil »

CdRsKuLL

  • Administrator
  • Full Member
  • *****
  • Posts: 146
    • View Profile
Re: Sidewinder X1 with BLTouch Marling 2.0.5.1 upgrade
« Reply #4 on: April 17, 2020, 05:28:47 AM »
Hi, sorry for the late reply, I've been so busy printing PPE stuff off..

Yes, you need to swap the Z min and z max pins over in the Pins_Ramps (Pin 18 to 19 from memory).  This is both the same on the Genius and the X-1 for it to work correctly.  Don't forget to check both Z axis motors are also enabled in the adv config... I missed this on my initial release.

marcomomsen

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: Sidewinder X1 with BLTouch Marling 2.0.5.1 upgrade
« Reply #5 on: April 17, 2020, 06:36:35 AM »
Have changes on the servos as well ?
//
#ifndef SERVO0_PIN
  #ifdef IS_RAMPS_13
    - #define SERVO0_PIN      7
    + #define SERVO0_PIN      11
  #else
    #define SERVO0_PIN     11
  #endif
@ -102,10 +102,10 @@
#endif
#ifndef Z_STOP_PIN
  #ifndef Z_MIN_PIN
    #define Z_MIN_PIN      18
    #define Z_MIN_PIN      19
  #endif
  #ifndef Z_MAX_PIN
    #define Z_MAX_PIN      19
    #define Z_MAX_PIN      18
  #endif
#endif

CdRsKuLL

  • Administrator
  • Full Member
  • *****
  • Posts: 146
    • View Profile
Re: Sidewinder X1 with BLTouch Marling 2.0.5.1 upgrade
« Reply #6 on: April 17, 2020, 01:30:02 PM »
Hi, no I've not changed the servo, standard marlin pin for the BLTouch is 11 so that's what I've used.  I think they go 4/5/6/11 and 4/5/6 are being used as the RGB pins (on the Genius) even after the BLTouch upgrade.

Keo

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Sidewinder X1 with BLTouch Marling 2.0.5.1 upgrade
« Reply #7 on: April 18, 2020, 11:45:12 AM »
I am running into the same issue with the SKR1.4 and the latest MArlin bugfix.  When I home Z the probe deploys and retracts multiple times and then shuts down with a BLTOUCH error.

I am using the Dedicated BLTOUCH port on the SKR1.4

Any advice on how to fix this?

CdRsKuLL

  • Administrator
  • Full Member
  • *****
  • Posts: 146
    • View Profile
Re: Sidewinder X1 with BLTouch Marling 2.0.5.1 upgrade
« Reply #8 on: April 18, 2020, 02:43:21 PM »
Just double check your signal pin from the bltouch. Are you using the z min or z max pins? Try running a M119 command to see if its triggered or not.

Steve

Woz86

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Sidewinder X1 with BLTouch Marling 2.0.5.1 upgrade
« Reply #9 on: April 30, 2020, 06:17:40 AM »
Hi Steve,

Great work you're doing, thank you.  I've been 3d printing for a couple of years, but only just started doing any firmware upgrades.  Can you tell me if I was to alter your latest Marlin FW for Z stepper auto align, G34 command, would this work / is the last line the coordinates that the probe would measure? 


#define Z_STEPPER_AUTO_ALIGN
#if ENABLED(Z_STEPPER_AUTO_ALIGN)
  // Define probe X and Y positions for Z1, Z2 [, Z3]
  #define Z_STEPPER_ALIGN_XY { {  10, 190 }, { 100,  10 }, { 190, 190 } }



CdRsKuLL

  • Administrator
  • Full Member
  • *****
  • Posts: 146
    • View Profile
Re: Sidewinder X1 with BLTouch Marling 2.0.5.1 upgrade
« Reply #10 on: April 30, 2020, 06:37:28 AM »
Hi Steve,

Great work you're doing, thank you.  I've been 3d printing for a couple of years, but only just started doing any firmware upgrades.  Can you tell me if I was to alter your latest Marlin FW for Z stepper auto align, G34 command, would this work / is the last line the coordinates that the probe would measure? 


#define Z_STEPPER_AUTO_ALIGN
#if ENABLED(Z_STEPPER_AUTO_ALIGN)
  // Define probe X and Y positions for Z1, Z2 [, Z3]
  #define Z_STEPPER_ALIGN_XY { {  10, 190 }, { 100,  10 }, { 190, 190 } }

Hey Woz86,

If you want to use this function then you will need to remove the belt that ties both the Z axis together as it wont work in the current state.  I would use something like 30,150 and 270,150 maybe.   I would make sure your bed is level to start with as you could end up with a skewed x axis.  Interested in your results :-) 

Steve

Woz86

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Sidewinder X1 with BLTouch Marling 2.0.5.1 upgrade
« Reply #11 on: April 30, 2020, 08:01:55 AM »
Therefore:

#define Z_STEPPER_AUTO_ALIGN
#if ENABLED(Z_STEPPER_AUTO_ALIGN)
  // Define probe X and Y positions for Z1, Z2 [, Z3]
  #define Z_STEPPER_ALIGN_XY { {  30, 150 }, { 270,  150 }, { 190, 190 } }

??

Do you know what the third set of values might be, or is it a matter of trial and error?

CdRsKuLL

  • Administrator
  • Full Member
  • *****
  • Posts: 146
    • View Profile
Re: Sidewinder X1 with BLTouch Marling 2.0.5.1 upgrade
« Reply #12 on: April 30, 2020, 08:04:24 AM »
Hi, not sure to be honest. Maybe if you have three Z motors.

It would be something like the below I would have thought.

#define Z_STEPPER_ALIGN_XY { {  30, 150 }, { 270,  150 }}

Steve