Author Topic: Implementation of xy homing and limit switches  (Read 325 times)

Troth530

  • Newbie
  • *
  • Posts: 14
    • View Profile
Implementation of xy homing and limit switches
« on: December 30, 2018, 08:39:52 AM »
Zax, on your builds did you implement separate x and y using both D9 for x and D10 for y?  I plan on using the 3 wire switches using NO with LEDs, with the NC pin of the switch disconnected.  I plan on using both limit switches in addition to homing switches as the machine can't count lost steps if you know what I mean.

I'd rather ask than experiment.
Thanks!

Zax

  • T2Laser
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6511
    • View Profile
    • T2Laser
Re: Implementation of xy homing and limit switches
« Reply #1 on: December 30, 2018, 10:18:09 AM »
I used D9 for both X & Y in my default, but D9 for X and D10 for Y in the XY Home Sw. firmware. The Z-XY firmware uses D9, 10 and 12 and as it's name suggests will home Z and then XY.
« Last Edit: December 30, 2018, 02:37:57 PM by Zax »

ggallant571

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2655
    • View Profile
Re: Implementation of xy homing and limit switches
« Reply #2 on: December 30, 2018, 01:22:20 PM »
I think you have a typo.  Should be Z then XY.
SARCASM - Just one more service we offer here.

Zax

  • T2Laser
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6511
    • View Profile
    • T2Laser
Re: Implementation of xy homing and limit switches
« Reply #3 on: December 30, 2018, 02:38:37 PM »
 ;D yes, as the name suggests.

Troth530

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: Implementation of xy homing and limit switches
« Reply #4 on: December 30, 2018, 09:59:35 PM »
Thanks for the clarification.  I know what I need to do now.  I've designed combo belt tensioners and limit switch holders that should make it a very clean setup and ensure that over-travel will not damage the switches.
Thanks.

ggallant571

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2655
    • View Profile
Re: Implementation of xy homing and limit switches
« Reply #5 on: December 31, 2018, 05:57:56 AM »
Please post a picture when working.
SARCASM - Just one more service we offer here.

Troth530

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: Implementation of xy homing and limit switches
« Reply #6 on: January 06, 2019, 01:30:26 PM »
https://www.thingiverse.com/thing:3338814

I've been tweaking it so the nuts are press fit in, but finding that there are a range of nuts sizes for M3.
I can provide the Solidworks files for someone wanting to tweak, but I'd like to roll back any changes to the "Thing"

Haven't wired it yet, but it definitely works as expected.  Say goodbye to damaged limit switches.

Tim

ggallant571

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2655
    • View Profile
Re: Implementation of xy homing and limit switches
« Reply #7 on: January 06, 2019, 04:50:11 PM »
Thanks for posting. I have had good success making the nut holder slightly tight and heating the nut with an hot air gun prior to inserting. The nut does not need to get very warm.
SARCASM - Just one more service we offer here.

Troth530

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: Implementation of xy homing and limit switches
« Reply #8 on: January 10, 2019, 02:05:53 PM »
I added some minor changes to the x-axis switches as the Eleksmakers designed the rollers to protrude further outside the acrylic on the x-axis compared to the y-axis.  Since I did not model the entire machine in CAD this subtlety was missed earlier.

The "Thing" is updated.