489,555 active members
8,449 visitors online
Register for free
Login
489,555 active members
Page 1 of 2 12
Results 1 to 12 of 16
  1. #1
    Registered
    Join Date
    Sep 2014
    Posts
    4

    CNC Mill with laser engraver addition g540 ttl or pwm? wiring?

    Hello,

    i have an e-shapoko which 4 motors i am running with a Geckodrive g540. I switch the router on and off manually since im running it with a Makita Router.
    Since There is alot of space on the Z-Axis i wanted to upgrade my machine with a 15W Laser from China that i bought from ebay.

    I read alot of wiring pin 5 or 6 out of the g540 to my laser driver. But somehow i got very confused with the wiring.

    The laser driver has 4 in/outputs

    - TTL +/-
    - FAN +/-
    - LD /+/-
    - and a regular +/- with is attached to the power supply

    so do i take the + from the power supply and attach it to the regual + on the board, while connecting Pin5 or 6 from the G540 to the regual -?
    Or do i connect them to the TTL while attaching the regular ones normally to the power supply?

    Sorry for my english and my bad electronic knowledge,

    i hope somebody can help me,

    kiark

  2. #2
    Registered
    Join Date
    Jan 2009
    Posts
    71

    Re: CNC Mill with laser engraver addition g540 ttl or pwm? wiring?


  3. #3
    Registered
    Join Date
    Sep 2014
    Posts
    4

    Re: CNC Mill with laser engraver addition g540 ttl or pwm? wiring?

    Hi!

    i had this controller sent with the laser diode. its a different one like the one i mentioned before. Im trying to get it to work with my gecko g540 using mach3.
    unfortunately i dont have any idea how to wire it. I found some info on jtech, on how to wire the gecko to a laser, but it doesnt work for this controller. It also confuses me, that there are 3 pwm/ttl inputs. Can anyone help me and send me a basic as possible wiring diagram? The laser runs fine when just connected to the power supply, but i cant control it over software like that, which makes it useless :/

    Thanks, kiark


  4. #4
    Chokdee
    Guest

    Re: CNC Mill with laser engraver addition g540 ttl or pwm? wiring?

    LD +/- goes to the laser led
    FAN +/- goes to the fan
    TTL +/- is probably 5V (check with supplier to be sure) connect the +TTL to the +5V of a PSU, the -5V of the PSU to pin 12 of the G540 and the -TTL to output 1 or 2 of the G540. It depends on what kind of TTL is on board, but a simple one will switch of with 0V and on with 5V.

    There are other ways too to make it work but I would try this one first.

    Chokdee

  5. #5
    Registered
    Join Date
    Apr 2016
    Posts
    6

    Re: CNC Mill with laser engraver addition g540 ttl or pwm? wiring?

    Hi, would you not use a relay for this or would it be overkill?- I`m just about to set my 3.5w up with my g540 and don`t know if I should put my trust in chinese electronics

  6. #6
    Super Moderator Al_The_Man's Avatar
    Join Date
    Dec 2003
    Posts
    22891

    Re: CNC Mill with laser engraver addition g540 ttl or pwm? wiring?

    The G540 outputs are open drain 2n7000 mosfet. 60v 100ma max.
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

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

  7. #7
    Registered
    Join Date
    Apr 2016
    Posts
    6

    Re: CNC Mill with laser engraver addition g540 ttl or pwm? wiring?

    Thanks for the reply Al, but you can probably guess from the level of my question that as a new hobbyist, this is slightly above me, so I`m asking questions and trying to learn(old dog, new tricks)
    My guess is that the ttl on the laser controller is simply a `control knob` and that the ouput from the laser is either based on the voltage tfrom the geckos output1 or from the controller to output1, so, is a relay normally used here?
    Apoolgies if these are dumb questions but they are much cheaper than mistakes.

  8. #8
    Registered
    Join Date
    Jun 2011
    Posts
    496

    Re: CNC Mill with laser engraver addition g540 ttl or pwm? wiring?

    TTL implies a 5v digital signal. Looks like it's also marked PWM. If it works without anything connected to the PWM signal, it's probably pulled up internally, so you could hook it up to one of the G540 relay outputs. Problem is that the laser will be turned on by default. To make it not come on by default you would need another transistor or relay to reverse the logic. A small NC relay would be simplest, but would be slow (fine for cutting or vector engraving, not usable for raster engraving.)
    The PWM speed the driver wants is probably in the kHz range, so you won't be able to vary the laser intensity without some more work.

  9. #9
    Super Moderator Al_The_Man's Avatar
    Join Date
    Dec 2003
    Posts
    22891

    Re: CNC Mill with laser engraver addition g540 ttl or pwm? wiring?

    I expected the G540 to be analogue converted from the DB25 pin14 but the schematic shows it passes directly through to term 8 the same as the gen purpose outputs, via the opto isolator and 2n7002 outputs 280ma open drain (no pull up) continuous rated.
    It is a 50Hz PWM signal.
    Al.
    .
    Attached Thumbnails Attached Thumbnails G540out.jpg  
    CNC, Mechatronics Integration and Custom Machine Design

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

  10. #10
    Registered
    Join Date
    Jun 2011
    Posts
    496

    Re: CNC Mill with laser engraver addition g540 ttl or pwm? wiring?

    Quote Originally Posted by Al_The_Man View Post
    I expected the G540 to be analogue converted from the DB25 pin14 but the schematic shows it passes directly through to term 8 the same as the gen purpose outputs, via the opto isolator and 2n7002 outputs 280ma open drain (no pull up) continuous rated.
    It is a 50Hz PWM signal.
    Al.
    .
    Where did you get that info? I was also under the impression that the G540 had an analog spindle output. That schematic clip doesn't look to be a complete G540. It doesn't show anything to do with the charge pump either.

  11. #11
    Super Moderator Al_The_Man's Avatar
    Join Date
    Dec 2003
    Posts
    22891

    Re: CNC Mill with laser engraver addition g540 ttl or pwm? wiring?

    That is only a small part of the schematic I posted,
    The whole thing shows all circuitry.
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

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

  12. #12
    Registered
    Join Date
    Apr 2016
    Posts
    6

    Re: CNC Mill with laser engraver addition g540 ttl or pwm? wiring?

    Chokdee says to connect the ttl+ to a 5v source but i get a 7v reading from the output anyway would you still do this?

Page 1 of 2 12

Similar Threads

  1. Mini Mill G540 Box wiring
    By Juiblex in forum Benchtop Machines
    Replies: 39
    Last Post: 07-30-2015, 01:48 PM
  2. Laser engraver power supply wiring help needed
    By 57harvey in forum General Laser Engraving / Cutting Machine Discussion
    Replies: 1
    Last Post: 12-08-2014, 04:12 AM
  3. drawing addition to laser files
    By woodman08 in forum LOGILASE 9060/12080/150120 / 250120 cnc lasers
    Replies: 0
    Last Post: 12-29-2011, 11:01 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
  •