587,719 active members*
3,494 visitors online*
Register for free
Login
IndustryArena Forum > CNC Electronics > CNC Machine Related Electronics > Optical Home Switch circuit design - feedback requested
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2004
    Posts
    1311

    Optical Home Switch circuit design - feedback requested

    Hi all, I normally spend my time in the Benchtop Machines forum. I am just wrapping up conversion of a Grizzly G0704 and wanted to use optical switches for combination home/limit switches. After searching, I did not find any info on circuits to do what I wanted so I came up with this.

    My objective was to use Optek OPB830 optical switches as home switches wired to a single pin on the BOB and in Mach 3. This conserves pins since Mach3 homes each access in sequence (there is no advantage to having each home switch wired to its own pin). I also wanted to mimic the behavior of a mechanical NC switch circuit, i.e. there is normally a +5 volt on the line which drops to 0 volt when the switch is triggered. If used for combination home/limit this will trigger a limit if a wire to one of the switches breaks for instance (a little extra safety measure). Since there were extra unused components in the ICs used, I was able to add a 4th optical switch that I can either use for an ATC home switch or maybe as a spindle tach. It is highlighted in yellow in the circuit diagram, simply omit V04, R7, R8 and connector A.



    I plan to put this circuit in a small box mounted on my mill's column with short leads to each of the optical switches. A 4 conductor cable carries power, ground and the signals to my control box. I've been using these 4 pin connectors from Radio Shack and will likely use them on the connections to the switches and to the control box. (you need the mating plug too)

    At this point, I've wired up the circuit on an experimenter's board and tested the logic. It works great.

    Here is the prototype:


    And a short video of it in operation:

    [ame=http://www.youtube.com/watch?v=cIpO-9sHauA]Optical Home Switch Ganging For Mach 3 CNN - YouTube[/ame]

    Next I will build it on a protoboard and hook it up. I haven't drawn electronics in decades so please excuse me if the drawing sucks! Feedback welcome though. I've thought about milling a PCB but I have not done any CAD work on PCBs. I've tried both Eagle and DipTrace for the design but the learning curve is just too high for a one-off project like this. I was hoping to produce the gcode for the PCB and make it available for folks and maybe offer milled boards with the components (a kit).

    cheers,
    Michael
    Reelsmith, Angling Historian, and Author of "The Reelsmith's Primer"
    www.EclecticAngler.com | www.ReelLinesPress.com

  2. #2
    Join Date
    Dec 2003
    Posts
    24220
    This is a variation on the same idea, it may need tweeking for different components.
    Al.
    Attached Files Attached Files
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

Similar Threads

  1. Techno 067 feedback requested
    By rbartko in forum Want To Buy...Need help!
    Replies: 2
    Last Post: 01-30-2011, 07:03 PM
  2. Optical switch circuit?
    By Fastest1 in forum CNC Machine Related Electronics
    Replies: 6
    Last Post: 09-27-2010, 08:48 PM
  3. Optical Switch
    By boozeboy in forum CNC Machine Related Electronics
    Replies: 5
    Last Post: 05-07-2010, 12:40 PM
  4. Optical home switch wiring to G540
    By mhackney in forum CNC Machine Related Electronics
    Replies: 3
    Last Post: 01-19-2010, 02:31 AM
  5. Choice of Component for Optical Home Switch
    By jaybee101 in forum CNC Machine Related Electronics
    Replies: 4
    Last Post: 01-21-2009, 02:19 AM

Posting Permissions

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