Mini CNC

Revision as of 15:43, 8 March 2015 by Yair (talk | contribs)
Jump to navigationJump to search

original body came from a MYDIYCNC that was left on a beach.
now try the software side.


  • z stepper motor is broken - nema17 replacement need to install.
  • connect the dremel to the RAMPS board
  • limit switch
  • z-probe - repetier z-probing


got it working with grbl controller on windows, now we want to move to linux/arch...

universal gcode sender

using the 1.0.8 release , its java based spo works anywhere.

link screenshot


 cat README.txt
 java -jar -Xmx256m UniversalGcodeSender.jar 

command line

and a list of other grbl controllers -



one of the popular firmware for controlling stepper drivers and parsing G-CODE

noam installed gbrl for ramps -

repetier host

on hold Repertier-Host (git) is used for firmware and optionally for controlling software. Version 0.9 (current on fedora 21) isn't good enough. But [pronsole (printrun) works fine, so does this python snippet: (using pyserial only, and very basic gcode gleened from pronsole source):

import serial
s = serial.Serial('
$ cat 
import serial

s = serial.Serial(port='/dev/ttyACM0', baudrate=250000)
d = [('X', 1), ('Y', 1), ('X', -1), ('Y', -1)]
l = [100, 200, 300, 400, 500, 600, 700, 800, 1000, 1100]

for le in l:
    for axis, direc in d:
        s.write('G%s%s F3000\n' % (axis, direc * le))

firmware "configuration.h" file pastebin as of 2014-10-25
enabled support for z-probing,the settings are at ball park esp.

// distance/difference between activated probe and nuzzle height
#define Z_PROBE_HEIGHT 40


  • PSU pinout DPS-800GB-A_0.png
  • machine manual, good mostly for historical, mechanical design



generating models and gcode