587,756 active members*
5,093 visitors online*
Register for free
Login
Results 1 to 20 of 263

Hybrid View

  1. #1
    Join Date
    Nov 2014
    Posts
    284

    Re: $32 CO2 Laser Controller

    Yep cars the same thing. One of my businesses was a Honda motorcycle dealership and I loved the old bikes. I have 20 odd some 60's Honda's in my grody collection. I was a mechanic as a kid and worked my way through my 2 years radio technician degree (got the paper which Motorola wanted. The rest was mostly a waste of time). Always troubleshot my own cars. Still do if the dealership doesn't know what they are doing (Last time was a control problem on the 4 wheel drive 1997 F250. "Mr.Buddy you need a new 700$ computer". Didn't fix it of course and had to finally figure out what was really wrong. I digress. I don't even open the hood on my Prius.
    Like you Retro No money as a kid (Did find the old family had had money but my father pissed them off in the late 40's and got ex communicated from the family). I grew up thinking I only had one set of grandparents and that hiding from debt collectors in the closet was a "normal" thing! I often think how grateful I am for my experiences and that I had no expectations except those I created for myself. Weird parallels when at 60 I discovered my "other" family from Boston and their influence on America.

    OK so maybe Rolf and I need to start from the beginning. Man up, swallow prejudices and bite the bullet. First you type something into a keyboard into a program like laserDRW or openscad. It makes it's way through the software,sequences etc. and arrives as a digital word called a "G" code. I bet I can find a list of G codes on the net so that's just a lookup table. It presents itself "G code turn on beam" at the USB connector (or parallel, we get that I bet. Where does it go next ? Ramps, shield (isn't that just an interface board? could be wires and connectors?), Arduino? something else?

  2. #2
    Join Date
    Dec 2014
    Posts
    210

    Re: $32 CO2 Laser Controller

    Quote Originally Posted by buddydog View Post
    Yep cars the same thing. One of my businesses was a Honda motorcycle dealership and I loved the old bikes. I have 20 odd some 60's Honda's in my grody collection. I was a mechanic as a kid and worked my way through my 2 years radio technician degree (got the paper which Motorola wanted. The rest was mostly a waste of time). Always troubleshot my own cars. Still do if the dealership doesn't know what they are doing (Last time was a control problem on the 4 wheel drive 1997 F250. "Mr.Buddy you need a new 700$ computer". Didn't fix it of course and had to finally figure out what was really wrong. I digress. I don't even open the hood on my Prius.
    Like you Retro No money as a kid (Did find the old family had had money but my father pissed them off in the late 40's and got ex communicated from the family). I grew up thinking I only had one set of grandparents and that hiding from debt collectors in the closet was a "normal" thing! I often think how grateful I am for my experiences and that I had no expectations except those I created for myself. Weird parallels when at 60 I discovered my "other" family from Boston and their influence on America.

    OK so maybe Rolf and I need to start from the beginning. Man up, swallow prejudices and bite the bullet. First you type something into a keyboard into a program like laserDRW or openscad. It makes it's way through the software,sequences etc. and arrives as a digital word called a "G" code. I bet I can find a list of G codes on the net so that's just a lookup table. It presents itself "G code turn on beam" at the USB connector (or parallel, we get that I bet. Where does it go next ? Ramps, shield (isn't that just an interface board? could be wires and connectors?), Arduino? something else?
    G-code is a text based set of commands. Like this:

    M104 T0 S230

    M104 is the command, T0 is the tool, and S230 is the parameter to set. In this case, I just told Extruder 0 to set the temperature to 230 degrees.

    It is fairly standardized. However, the controller determines which codes go to what tool and what parameters to take.

    In this case, this text string is sent to the controller (RAMPS in our example) over the USB serial connection. The code within the controller parses the string and then activates the appropriate output based on the tool, and moves it or sets it to the parameter.

    So, in your laser cutter, you have X and Y steppers. So, you need movement g-codes, an axis for the tool, and the position as the parameter (G1 X100 = Move X axis 100mm). You also have a command to turn the laser on and off. The laser is the tool. A parameter of 0 is off and 1 is on.

    But you don't really need to know this as that is all handled by the controller. And you use a program (like the slicer you use for your 3D printer) to convert the vectors or raster images into a set of G-Code commands. In our case, we use Inkscape and the G-Code plugin to do this for us.

    The software G-Code generator does need to know some things about your controller. It needs to know what commands do what, what the names of the 'tools' are, and what parameters they expect. Again, though, all YOU really are involved in here is to use a matching software with a matching controller. You really do not need to know how it works.

    As I mentioned, the hardest part is just changing one file in the source code for the controller to set it up for your machine. Things like steps/mm. This is how many pulses to the steppers are required to move the axis 1mm? You can either calculate that the hard way by pulley diameter, belt pitch, etc... or you can give it some default then command the movement 100mm, measure how much it actually moved, and use one of the numerous calculators on the net to find the real number. The Marlin firmware that goes in the RAMPS controller has the ability to set these things later. So you don't need to know it at the beginning and you can change these things whenever appropriate without going through all the firmware customization again. It stores this information within the controller memory.

    Thankfully, for the K40 at least, someone else has already added the RAMPS to their K40. So they have already modified the firmware for you and set all this up. All you need to is upload it to the RAMPS and go.

Similar Threads

  1. Laser engraving machine not firing laser from software or controller.
    By JustTruckinng in forum Engraving Machines
    Replies: 1
    Last Post: 05-14-2014, 04:14 AM
  2. Controller and Software for Laser CO2
    By manolin in forum Laser Engraving / Cutting Machine General Topics
    Replies: 3
    Last Post: 04-19-2013, 10:31 PM
  3. laser controller
    By ne_bun in forum Laser Engraving / Cutting Machine General Topics
    Replies: 9
    Last Post: 02-22-2011, 12:24 PM
  4. Best controller for laser?
    By AustinT in forum Laser Engraving / Cutting Machine General Topics
    Replies: 12
    Last Post: 11-02-2010, 02:34 PM
  5. Laser Controller
    By canaantr in forum Laser Engraving / Cutting Machine General Topics
    Replies: 6
    Last Post: 05-20-2007, 07:57 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
  •