. .

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    hbx's Avatar
    Lives in London, United Kingdom. Last Activity: 12-03-2013 Has been a member for 9-10 years. Has a total post count of 7.
    Thanks. Isolation the inputs sounds logical. I'm looking at some available breakout boards now, and some feature the charge pump as some form of safety. How to the breakout boards implement this? Is this meant to be detected by the software?

    Also, regarding the use of more limit and home switches than available inputs, what's the most common solution? I saw the documentation on LinuxCNC which suggests connecting the switches in series. This doesn't seem to make much sense especially if the machine starts in a completely unknown state.

  2. #2
    Quote Originally Posted by hbx View Post
    I'm looking at some available breakout boards now, and some feature the charge pump as some form of safety. How to the breakout boards implement this?
    It's generally a circuit that enables the outputs, via some logic gates, when it detects a square wave of the right frequency on one of the port outputs. That square wave is outputted by the software, so the outputs are only active when, in your case, LinuxCNC is running. It stops the motors moving a tiny bit when you boot the computer, that's about it. I wouldn't worry if the breakout board you have doesn't have it.

    Quote Originally Posted by hbx View Post
    Also, regarding the use of more limit and home switches than available inputs, what's the most common solution? I saw the documentation on LinuxCNC which suggests connecting the switches in series. This doesn't seem to make much sense especially if the machine starts in a completely unknown state.
    So long as you only press one (normally closed) switch at a time, then the software can use it for homing since it know which axis is moving, and thus which switch must have been pressed. If that still doesn't get you enough ports you can add a second parallel port - generally a PCI parallel port card.
    Old router build log here. New router build log here. Lathe build log here.
    Electric motorbike project here.

  3. #3
    hbx's Avatar
    Lives in London, United Kingdom. Last Activity: 12-03-2013 Has been a member for 9-10 years. Has a total post count of 7.
    Ah I see, but this only works if only one axis is moving? During operation when everything's moving and something hits the limit switch, how will the software resolve this?

  4. #4
    Quote Originally Posted by hbx View Post
    Ah I see, but this only works if only one axis is moving? During operation when everything's moving and something hits the limit switch, how will the software resolve this?
    It will just stop the machine, since clearly there's a fault, and it's up to you to resolve it - i.e. move the relevant axis off the limit switch.
    Old router build log here. New router build log here. Lathe build log here.
    Electric motorbike project here.

  5. #5
    hbx's Avatar
    Lives in London, United Kingdom. Last Activity: 12-03-2013 Has been a member for 9-10 years. Has a total post count of 7.
    I suppose that's reasonable! Thanks! I may look into using something other than the parallel port. For LinuxCNC users, what are the next best options? PCI cards?

  6. #6
    Just a little note regarding the PP BOB it can also act as a level shifter as most PPs these day are 3.3V and the drivers seem to work beter at 5V so the BOB can convert the 3.3V to 5V. Clive.

  7. #7
    For Linux have search on Massa cards and network ports as an alternative?
    If the nagging gets really bad......Get a bigger shed:naughty:

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. USB TO Parallel Port DIY Interface
    By Lee Roberts in forum Electronic Project Building
    Replies: 42
    Last Post: 17-02-2018, 07:46 PM
  2. breakout board usb or parallel
    By crossleymarko in forum Motor Drivers & Controllers
    Replies: 13
    Last Post: 30-07-2013, 12:44 PM
  3. Replies: 12
    Last Post: 25-05-2013, 12:41 AM
  4. World's dumbest DB25 (parallel port) Breakout Board?
    By boldford in forum General Electronics
    Replies: 8
    Last Post: 11-09-2012, 08:34 AM
  5. parallel port address
    By Dan Brown in forum Artsoft Mach (3 & 4)
    Replies: 6
    Last Post: 07-01-2010, 12:04 PM

Bookmarks

Posting Permissions

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