Menu

Home

Herbert Aitenbichler

Welcome to your wiki!

Arduino stepper library

  • Stepping library with acceleration support
  • high step-rate
  • GCode interpreter
  • HPGL interpreter sample
  • LCD support
  • SD support
  • G-Code expression parser (# statement)
  • Run on Arduino Mega with Ramps 1.4 ( with LCD 128x64 using u8glib)
  • Run on Arduino Due with Ramps 1.4 (32bit CPU)
  • Run on Arduino with Ramps FD
  • Run on Arduino Uno, e.g. with CNC Shield http://blog.protoneer.co.nz/arduino-cnc-shield
  • Stepper (HPGL Sample) on Arduino Duemilanove
  • SMC 800, L298N and TB6560 supported
  • A4988 & DRV8825
  • more than 3 axis (also in GCode parser)
  • extendable for other stepper driver (override CStepper class)
  • C++ and not C
  • only use int (and not float)
  • used for Proxxon MF70 (Ramps 1.4)
  • used for KK1000S (http://www.cnc4all.at/) with Arduino Due
  • sample with servos (not using stepper) for acceleration support (see iRobot)

G-CODE

  • '#' Parameter, e.g #1 = 1 + 1
  • G0 & G1
  • G2 & G3 (arc)
  • G4 Dwell
  • G10 - Specify G54 Preset
  • G17, G18, G19 - plan selection
  • G20 - set inch
  • G21 - set mm (I use)
  • G28 - reference move
  • G31 - probe, e.g. for tools length
  • G40,G41,G42 - cutter radius compensation, in work
  • G43, G49 - tools height
  • G53-G59 - offset
  • G61, G64 - Velocity mode
  • G68, G69 - rotation
  • G73, G81, G82, G83 - drill cycle
  • G90 - absolut mode
  • G91 - relative mode
  • G92 - set offset
  • G98, G99 - cycle drill mode

  • M0 - Pause (only if executing from SD)

  • M1 - Pause (only if executing from SD)
  • M2 - no effect
  • M3 - set spindel speed (relay 1 on)
  • M4 - set spindel speed (relay 1 on)
  • M5 - spindle off (relay 1 off)
  • M7 - coolant (relay 2 on)
  • M8 - coolant food (relay 2 on)
  • M9 - coolant off (relay 2 off)
  • M Commands from http://reprap.org for 3D Printer
  • M20 - List content of SD card
  • M21 - Init SD card
  • M22 - Release SD card
  • M23 - Select file on SD card
  • M24 - Start file on SD card
  • M26 - Set file position
  • M27 - Status of SD print
  • M28 - Starte write to SD
  • M29 - Stop Write to SD
  • M30 - Delete file on SD
  • M106 - Laser On
  • M107 - Laser Off
  • M111 - Set debug level
  • M114 - get position

  • T - Select Tool - The tool library is stored in the flash

VC

  • .net Library for communication with Arduino
  • WPF Control-panel
  • HPGL Parse (convert HPGL to GCode)

[Setup and usage]

Project Members:


Related

Wiki: Setup and usage

MongoDB Logo MongoDB