Difference between revisions of "Mini CNC"
Line 12: | Line 12: | ||
==software== | ==software== | ||
===generating models and gcode=== | ===generating models and gcode=== | ||
* inkscape- | {{#ev:youtube|107FGoYX1bg}} | ||
* [https://inkscape.org/en/ inkscape]-> [http://www.makercam.com/ makercam] -> arduino+RAMPS | |||
====misc notes==== | |||
Can use pronsole / direct g code to serial port (example in firmware, need to move here) | Can use pronsole / direct g code to serial port (example in firmware, need to move here) | ||
Revision as of 21:46, 8 November 2014
original body came from a MYDIYCNC that was left on a beach.
now try the software side.
TODO
z stepper motor is broken - nema17 replacement need to install.- connect the dremel to the RAMPS board
- limit switch
- z-probe - repetier z-probing
software
generating models and gcode
misc notes
Can use pronsole / direct g code to serial port (example in firmware, need to move here)
RepetierHost (git) for Fedora - this is an aside, I'm working on fixing the situation for fedora with this software (supposed to be good since we are using it's firmware part)
- OpenTK requires a newer release (see fedora bz 1157173 I opened, and 1032883) which requires packaging mono-cecil (1058765)
- RepetierHost needs a newer version, 0.9 is packaged but that doesn't work with our firmware, we need the newer 1.0.6
firmware
repetier host
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 rectral.py 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
gbrl
on hold one of the popular firmware for controlling stepper drivers and parsing G-CODE
- compile and upload -https://github.com/grbl/grbl/wiki/Compiling-Grbl
- connecting to an MCU - https://github.com/grbl/grbl/wiki/Connecting-Grbl
manual
- machine manual, good mostly for historical, mechanical design
MyDIYCNC_Comprehensive_Plans_and_Manual_eBook_1-4.pdf
links
http://reprap.org/wiki/PCB_Milling https://github.com/pknoe3lh/cncgcodecontroller