MPCNC 2.8w $100 laser add-on complete

New Home Forum Mostly Printed CNC – MPCNC Your Builds – MPCNC MPCNC 2.8w $100 laser add-on complete

This topic contains 251 replies, has 44 voices, and was last updated by  Ryan 2 months, 2 weeks ago.

Viewing 12 posts - 241 through 252 (of 252 total)
  • Author
    Posts
  • #39513

    Jorge Tavares
    Participant

    Good Morning

    How did you remap the Marlin firmware for pin 44 for ttl 5v output
    I’m having a hard time finding information to do it.

    greetings

    #39537

    Ryan
    Keymaster

    It’s in pins_ramps.h

    Leo wrote it up on his tutorial on this page, https://www.vicious1.com/the-2-8-watt-100-laser/

    #39538

    Mike
    Participant
    Good Morning

    How did you remap the Marlin firmware for pin 44 for ttl 5v output
    I’m having a hard time finding information to do it.

    greetings

    Not a step-by-step, but I think this covers all the major points to get you there.

    Begin by using the proper firmware download from here:

    Firmware

    Check out step 7-B in the PDF download here regarding what to change in which file to configure for the laser:

    The 2.8 watt, $100 Laser

    Then use this link for how to flash the firmware:
    http://reprap.org/wiki/Marlin#Configuring_and_compilation

    #39571

    Jorge Tavares
    Participant

    Thank you all,
    The contents of the file “pins_ramps.h” currently in the Marlin version:

    /**
    * Marlin 3D Printer Firmware
    * Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
    *
    * Based on Sprinter and grbl.
    * Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
    *
    * This program is free software: you can redistribute it and/or modify
    * it under the terms of the GNU General Public License as published by
    * the Free Software Foundation, either version 3 of the License, or
    * (at your option) any later version.
    *
    * This program is distributed in the hope that it will be useful,
    * but WITHOUT ANY WARRANTY; without even the implied warranty of
    * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    * GNU General Public License for more details.
    *
    * You should have received a copy of the GNU General Public License
    * along with this program. If not, see <http://www.gnu.org/licenses/&gt;.
    *
    */

    /**
    * Arduino Mega with RAMPS v1.3 pin assignments
    *
    * Applies to the following boards:
    *
    * RAMPS_13_EFB (Extruder, Fan, Bed)
    * RAMPS_13_EEB (Extruder, Extruder, Bed)
    * RAMPS_13_EFF (Extruder, Fan, Fan)
    * RAMPS_13_EEF (Extruder, Extruder, Fan)
    * RAMPS_13_SF (Spindle, Controller Fan)
    *
    */

    #ifndef BOARD_NAME
    #define BOARD_NAME “RAMPS 1.3”
    #endif

    #define IS_RAMPS_13
    #include “pins_RAMPS.h”

    I add the line ” * define FAN_PIN 44 // (SPRINTER CONFIG) ”

    Attachments:
    1. pins_RAMPS_13.h
    #39600

    Ryan
    Keymaster

    TRy this I used it last week, for the T8 lead screws, so if you have 5/16 change the z steps.

    #39606

    Dennis Wright
    Participant

    One of the old man coding videos points out that the pin definition has moved to a different file, I can’t remember which, or which video, but I can confirm after following the video’s instructions it works.

    Sorry away from home and my main computer so can’t be more specific but it shouldn’t take too long to find the correct video, they are worth watching anyway!

    Dennis

    #39617

    Ryan
    Keymaster

    pins_RAMPS.h

    I was wrong above, I knew the file changed but made the wrong guess.

    #39622

    Jorge Tavares
    Participant

    Thank you “Ryan”, I think you’re not at all wrong I think the file has changed from “Pins_RAMPS_13.h” to “Pins_RAMPS.h” I’ll try …

    thank you Dennis Wright, You can send the video link when you’re at home …)

    thank you all

    #39625

    Ryan
    Keymaster

    The firmware I attached works.

    #39626

    Dennis Wright
    Participant

    Jorge,

    The YouTube link for the video is https://www.youtube.com/watch?v=LEjgp77TIy4 and the relevant part is about 5 minutes in. It is video 8 in his ongoing series of videos which I can recommend. Ryan is correct the relevant file is pins_ramps.h and the video shows “old man coding” changing it.

    Good luck

    Dennis

    #44714

    Dr Donkeypunch
    Participant

    Hello!
    So, im special, i need help 😀
    Ive been looking at the Nichia NDB7875 from DTR’s shop. Found here
    It says, it has an X-Drive mounted inside the housing.

    Is the X-Drive only to drive the Laser itself, so i still need a 12V TLL driver to control the laser, eg. turn on guide and full power, or turn it off, through my Ramps?

    Or do i not need to purchase a driver?

    #44763

    Ryan
    Keymaster

    That has a 2 minute duty cycle, no good for what we do. I don’t think would have been cool though.

Viewing 12 posts - 241 through 252 (of 252 total)

You must be logged in to reply to this topic.