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 263 replies, has 47 voices, and was last updated by  Maire 7 months, 4 weeks ago.

Viewing 24 posts - 241 through 264 (of 264 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.v1engineering.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.

    #49778

    Beau
    Participant

    Ok so Looks like the DTR laser could be and do t he same amount of engraving or cutting as the JTP one.  Am I way off base or are the JTP ones better?

    Thank You

     

    #53629

    hans
    Participant

    I’m having an issue with burning letters with image2gcode. The letters in the image are filled, like in pic one. The letters that are burned are only outlines, like pic 2. I don’t understand why letters would be treated any differently than the rest of the image, but they appear to be, since the rest of the image is filled appropriately. I think I must be missing a setting somewhere but I sure can’t find it…does anyone have a tip for me?

     

    Thanks!

    #53635

    Ryan
    Keymaster

    Did you mess with the gamma settings in the program. I am not sure if they work right. I have always done all my scaling and adjustments in paint or gimp and used the program for burning only. It would make some sort of sense if the letter were vector but I highly doubt those are.

    #53636

    hans
    Participant

    Hm. Yes, I did adjust the gamma in image2gcode. I’ll try adjusting it in gimp and see how that works..thanks!

    #53640

    Ryan
    Keymaster

    Just a guess but I think it kind of rolls over some values if they get too high. Like the black maybe went from 255 to 0 or something.

    #53698

    hans
    Participant

    well, I gave it a try with a different photo, that had been changed to greyscale in gimp, and adjusted the contrast in gimp…left gamma in image2gcode alone. the photo wasnt resized, just a plain old jpeg. I still had the same issue with the lettering. It only outlined the letters, and didnt fill them in. I attached the jpeg just in case anyone wants to check it out…

    #53708

    Ryan
    Keymaster

    I have no idea. It isn’t just the letters though, your black is clipping everywhere it is solid.

    #53709

    Ryan
    Keymaster

    Can you grab a screen shot of the rest of your settings.

    #53710

    Ryan
    Keymaster
    #53713

    hans
    Participant

    Thanks, that post was pretty informative…It linked to another thread that seemed to indicate that there was a bug. I added my other settings below. I’m just using a generic 5 watt laser.

    #58126

    Maire
    Participant

    Hi, I m french, sorry for my english ^^ . I begin to build the MPCNC and I bought the kit with the mini rambo cardboard. I would like to use the 3.8W laser that JTp proposed. I saw that @jadam find a solution to use the mini cardboard but I don t understand well how to do that. Is someone can help me with a kind of small guide to control the laser with the mini rambo cardboard.
    Thanks a lot 🙂

    #58165

    Maire
    Participant

    Ok thanks Ryan, I was thinking that Adam tried to adapt the Jtech laser on his own Mpcnc (with the Mini rambo board). But on the Jtech website I have only find instruction for the Ramps 1.4?

Viewing 24 posts - 241 through 264 (of 264 total)

You must be logged in to reply to this topic.