Coder Social home page Coder Social logo

gcodesuperlasercontroller's Introduction

GCodeSuperLaserController

This is a basic plugin to work with a Laser Engraver. Printing from the OctoPrint interface with this plugin can turn your 3D printer into a laser engraver!

Commands

  • M3 S<p>: Turns ON the laser with power <p>
  • M4 S<p>: Turns ON the laser with power 255-<p>
  • M5: Turn OFF the laser

The laser power can go from 1 (min) to 255 (MAX)

NOTE: It's highly suggested to add an M400 - Finish Moves before the M3, M4 and M5 commands.

How to Use

Step 0) Install the plugin
Step 1) Connect the Laser driver to pins GPIO18 and GND
Step 2) Create a GCode using the described commands
Step 3) Print using Octoprint

Configuration

The GPIO pin and PWM frequency can be changed by setting plugins.GSLC.{gpio,pwmFreq} values in config.yaml:

plugins:
  # ...others...
  GSLC:
    gpio: 20
    pwmFreq: 80
  # ...others...

Have fun :)
Oh, almost forgot, I'm not responsible for you hurting yourself with your cool laser, but please use it with caution.

gcodesuperlasercontroller's People

Contributors

awkwardbunny avatar jneilliii avatar skiepp avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.