584,800 active members*
4,678 visitors online*
Register for free
Login
IndustryArena Forum > Machine Controllers Software and Solutions > LinuxCNC (formerly EMC2) > Breakout board input doesn't seem to switch when set to "Home"
Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2017
    Posts
    39

    Breakout board input doesn't seem to switch when set to "Home"

    Hi all,

    I'm just building my control panel for my CNC project. I'm a complete newbie to all this and I've come across a small problem.



    I'm using an Arduino Mega as the "brain" of the machine. I want to be able to manually set the machine to "home" via 3 buttons on the control panel (X home, Y home, Z home).



    I've got a generic Chinese Breakout Board.



    Within StepConf I configured pin 11 to be "Home X".



    When the Arduino detects the "X home" button pressed I send an output of 5V to the breakout board. But it doesn't seem to do anything?



    I tried clicking the "invert" box in StepConf but still nothing.



    I tried changing pin 11 to be "E Stop In" in StepConf and I can then see the Estop coming in and out on the LinuxCNC software when I press the "X home" button on my Control Panel.



    I have set a position for x home of 100.0 in StepConf (the motors aren't connected to the machine at the moment as I've not yet built the machine so they can just turn forever without a problem).



    If I go into the software and click "Home X" via the software then the X motor just keeps turning forever (i.e. way past the 100.0 setting). But putting either 5V or Gnd on Pin 11 doesn't mimic this behaviour?



    Anyone know where I'm going wrong with this?



    Thanks for any help you can give as I'm tearing my hair out (what's left of it). I realise it's hard to visualise my set up so if yoU want me to post pictures or more info then please ask.


    Thanks :-)

  2. #2
    Join Date
    Oct 2016
    Posts
    29

    Re: Breakout board input doesn't seem to switch when set to "Home"

    I think you are misunderstanding the home concept with the breakout board/linuxcnc.
    -linux cnc starts a home command move (from the main linuxcnc screen) -moves one of the axis and waits until the home switch on that axis closes(which is connected to pin 11 in your case) and then knows it is homed.
    setting the X home position to 100 means after the home move, linuxcnc will identify the current X position as 100 after homing
    I set my 0 X limit as my home and after i home the x then the x displays 0.00. and the table has moved to its right direction limit(it helps that i used the switch on the lefthand side of the table!!)

  3. #3
    Join Date
    Jan 2017
    Posts
    39

    Re: Breakout board input doesn't seem to switch when set to "Home"

    Quote Originally Posted by jimairth View Post
    I think you are misunderstanding the home concept with the breakout board/linuxcnc.
    Yep, that is exactly what was happening Jim. Thanks for the help. I managed to sort it last weekend with a bit of swearing, hair pulling and the help from another CNC forum.

    Thanks again mate :-)

Similar Threads

  1. "Breakout board & motor controllers" v "Stepper motor driver controller board"
    By atkinsonp in forum CNC Machine Related Electronics
    Replies: 1
    Last Post: 10-21-2013, 09:41 PM
  2. Replies: 2
    Last Post: 06-14-2013, 12:50 AM
  3. X Axis "Goes Off Pattern", "Awry", "Skewed", "Travels"
    By DaDaDaddio in forum Laser Engraving / Cutting Machine General Topics
    Replies: 1
    Last Post: 05-06-2013, 09:59 AM
  4. Replies: 12
    Last Post: 06-27-2012, 12:30 PM
  5. Stepper Driver, Controller, Breakout board, Home switch, ?????
    By perolalars in forum CNC Machine Related Electronics
    Replies: 4
    Last Post: 10-28-2007, 03:35 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •