Jtech Photonics Laser Firmware

New Home Forum Mostly Printed CNC – MPCNC Hardware Development – MPCNC Jtech Photonics Laser Firmware

This topic contains 5 replies, has 4 voices, and was last updated by Profile photo of vicious1 vicious1 9 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #13879
    Profile photo of Ryan
    Ryan
    Participant

    Good evening gents… since my latest logo project I have decided to move my jtech laser from my MPCNC to a gmax printer(and buy another one soon, more powerful for the MPCNC) However im running in to a bit of trouble. The M106 command used for the laser, only controls the fan on this printer. Is this a special change unique to the MPCNC marlin firmware?? if so, How can i make that change on my current printers firmware. that would be super helpful.
    as always, keep up the good work.
    thanks

    #13889
    Profile photo of Barry
    Barry
    Participant

    M106 and M107 are the standard g codes for the fan, nothing special about that. Since the mpcnc, when used as a cnc doesn’t have a hot end fan, it works the laser. Can you wire up the laser in parallel with the fan?

    #13891
    Profile photo of Ryan
    Ryan
    Participant

    well, not really… the laser plugs in to its own control board.. the only thing that plugs in to the Ramps Board is a red and black in to D9 for the ability to turn on the laser via those commands.

    #13908
    Profile photo of vicious1
    vicious1
    Keymaster

    Leo69 changed the pin assignment to pin 44 because D9 is 12pwm, and we need 5v for our driver. The jTech needs 12v so I think you are stuck switching manually between the fan and you laser.

    #14098
    Profile photo of Leo69
    Leo69
    Participant

    I’ve created my own modification to Marlin that implements a new command M103 / M105 to control the laser through pin 42. This allows the M106/M107 commands to continue driving the fan as stock firmware does. Also added 12bit pwm to laser instead of the current 8bit resolution in stock firmware. I don’t want to upload because i know people like to upgrade firmware from time to time and won’t be able to with mine without losing mods. I think best thing is instructions showing what to revise in each of the source files to implement the changes. I’ll try to get this done soon but no promises. Pretty busy these days.long live MPCNC!!!

    #14101
    Profile photo of vicious1
    vicious1
    Keymaster

    Nice!

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.