Shopping

RepRap – RAMPS1.4 Upgrade

RepRap Logo

RAMPS1.4 Laser Upgrade

The RepRap project has quite a bit of different electronics.  Many of the popular machines use a variation of just a few boards.  Here are the details for upgrading the RAMPS1.4 controller to output laser control.

190px-RAMPS1-3_fin

The details of the RAMPS controller can be found at:

http://reprap.org/wiki/RAMPS_1.4

 

Hooking the Laser Up

So it is pretty easy to do this upgrade because the terminal that is used already has nice screw terminals to connect wires.  We are going to use the output associated with the extra FAN output to control the laser.  This is terminal D9.  Simply connect the “+” wire from terminal D9 to the “+” input of H2 on the laser driver board.  Then, connect the “-” wire from terminal D9 to the “-” input of H2 on the laser driver board.  You are all ready to go!

If you are using the Molex Mini Fit Jr. Cable, then connect to the input laser driver connector H4.  Connect the red wire to the positive terminal D9 on the Ramps1.4 board and the black wire to the negative terminal on the Ramps1.4 board.

RAMPS1_4 laser upgrade

Picture showing the terminal D9 connection.

RAMPS1_4_Laser_Driver_Connection_J Tech Photonics
C
lose up of terminal D9

Software

The software is the same for all of the upgrades here.  The commands to turn on and off the laser are:

LASER ON:    M106
LASER OFF:  M107

Using PWM to control the laser

You can have power control as well with the RAMPS1.4 board.  Simply use “M106 Sxxx” command to turn on the laser where “xxx” is a number between 0 and 255.  255 is full power and 0 is off.

  • M106 S255 = Turns the laser on at full power
  • M106 S0 = Turns the laser off
  • M106 S127 = Turns the laser on at 50% power
  • M107 = Turns the laser off as well

Drawing Software with Inkscape

You can use Inkscape to do your drawings and then use the LASERENGRAVER plugging to convert it to G Code.  Download the laserengraver pluggin that converts using the M106 and M107 commands.  You can find them here on this page on the bottom:  https://jtechphotonics.com/?page_id=602

Then simply run the file in whatever program your printer uses!  Voila!

Click Here to Buy your laser upgrade kit now!

Highlight FDA Laser Kit 800

Remember Safety First!

445nm Laser Shielding Measurement 500x500

We sell laser shielding to block laser radiation and reflections!

 Laser Safety Goggles 445nm

Laser Goggles are also a must!

 

 

10 Responses to RepRap – RAMPS1.4 Upgrade

  1. Zoltan April 7, 2015 at 8:29 am #

    I look at the above implementation and the following comes to my mind:

    If I outfit my RAPMS 1.4 printer with laser the Extruder motor and the extruder hotend can be removed. That leaves the thermistor for the hot-end open for other use, why not use that on the laser to measure the casing temperature and control a FAN to keep the laser properly cooled? I usually do not do any coding, but this seems simple enough to implement. Something like this already exists when printing with PLA the top side of the hot end has to ne cooled with a fan. The fan control comes from the RAMPS and it is a function of the hot end temperature.

    Also since we do not need a hot-bed for the laser, that can be disconnected as well together with the hot-bed thermistor and used for alternate laser control as well.

    • jtechphotonicscom April 7, 2015 at 2:38 pm #

      That is a cool idea. There needs to be some modification in the firmware to implement this, but shouldn’t be too difficult. Most of the Marlin and other firmware checks to see a minimum temperature and then there is a profile for keeping the cooling correct.

      We mostly use the fan control for the laser because it has PWM functions in most of the printer firmware out there already installed. I think it would be cool to control the laser still with one of the fan outputs and then use the thermistor to control/monitor the laser cooling. I think the fan would be on most of the time because you want your laser to be as cool as possible, but it would still be neat to monitor the laser temp all the time!

      • Zoltan April 7, 2015 at 9:19 pm #

        You just shipped my order out today, after arrives I am willing to work with you on testing these things. I have a 3D printer which I can dedicate to this. It is a ramps 1.4 with a large LCD screen and SD card reader as well, so I don’t need to be connected to the computer all the time to run a program on it. I am not too much of a coder myself, but I can probably change some basic parameters on the Ramps config before uploading. Also right now I am running 2 fans, one for the electronics box and the second which is cooling the print head while the printer is working. The duty cycle on this can be adjusted from a knob – or from the reperier host.

  2. mortgagecrow.com June 30, 2015 at 1:55 am #

    Appreciate you sharing, great post.Thanks Again. Really Cool.

  3. Ivan November 23, 2015 at 6:42 am #

    My D9 on the ramps 1.4 gives an output from 0 upto 12 volt with the M106 S0..255) command.
    Is this the proper voltage (max 12V) to put on the H2 connector at the driver board to get 100% laser power? Or does it has to be from 0 upto 5 Volt?
    I dont know what the specs are for the H2 port on the driver.
    Wanted to know for sure before i order the board. A laser 2 Watts is on it way here but the driver that comes with it is TTL only to switch on or off (5 volt).

    Thanks in advance.

    • jtechphotonicscom March 10, 2016 at 12:09 pm #

      The H2 and H4 input to the laser driver support voltages between 3.3V and 36V. 12V from the RAMPS 1.4 will be fine to use and will turn the laser on. If you want power control, then use the PWM function. Most firmware for the RAMPS board have this built in with the M106 command. M106 S255 will be full power on.

  4. Michael Illingby March 9, 2016 at 4:25 am #

    I am curious, I have 12v required for my laser driver, and a 0-5v TTL signal required. Is this what I hook to D9? Doesnt that have a potential output of 12V?

    I was told that if I exceed 5V, I would fry the driver. am I not seeing this properly?

    Is the fan output only 5V?

    Please explain this

    • jtechphotonicscom March 10, 2016 at 11:46 am #

      The laser driver requires 12V for the power input. We provide the wall power adapter for this.

      For the laser driver input signal, it can be 3.3V to 36V. Hook up the laser driver input to the RAMPS 1.4 D9 connection. You can have 12v on this signal and the laser driver will be fine. Terminals H4 and H2 are isolated inputs.

      Yes, the fan output is only a constant 5V. It is on when the laser driver is turned on and enabled.

  5. Michael Illingby March 14, 2016 at 8:02 pm #

    how can the TTL signal be higher than 5V?

    I am unsure of what you’re saying here.

    I was under the impression that 5V was max, and 0V was off. Am I missing something here?

    I read that 5V was absolute max for TTL. do I need some sort of voltage divider to bring the 12V down to a max 5V? or does PWM change things here?
    Can you please explain in a little more detail, or direct me to somewhere with more detail, I don’t want to fry my driver.

    or are you telling me that the TTL Signal on my driver is really just the GATE of a MOSFET?

    Need more info before I hook this up, as I am sure if I fry something, you are not going to buy me a new driver, am i right?

    • jtechphotonicscom June 13, 2016 at 4:07 pm #

      Hi Michael,

      Yes, you are correct that TTL is supposed to mean just 5 Volts. We use that term on the board even though the input can accept higher voltages. The input is protected by a digital isolator that can handle more than 5V (up to 36v). You can hook up 12V to it and it will be fine. PWM does not change anything. You can modulate the frequency of the signal up to 5KHz with no problems. If somehow something happens that you fry your driver by putting 12v on the input we will replace it under warranty. This has never happened before, so I don’t think you will have an issue. I appreciate the concern you have though to make sure you are properly setting up the laser! :)
      Best Regards,
      Jay

Leave a Reply