Skip to content

sashuu69/automatic-writing-machine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automatic Writing Machine

Introduction

Automatic writing machine is a CNC machine

Components

List

  1. NEMA 17 stepper motor - 2 Nos
  2. Stepper motor holder - 2 Nos
  3. Digital servo Motor - 1 Nos
  4. GRBL controller - 1 Nos
  5. Stepper motor driver - 2 Nos
  6. GT2 idle pulley - 2 Nos
  7. GT2 belt - 5 meters
  8. Arduino UNO - 1 Nos
  9. SC8UU - 8 Nos
  10. Smooth rod - 4 Nos
  11. Hollow aluminum rod - 3.5 Meters
  12. L Clamp - 12 Nos
  13. Arduino UNO - 1 No

Shopping Links

Tomson Electronics

Use 'ZENOOFF2020' as coupon code.

  1. NEMA 17 stepper motor - Tomson Electronics
  2. Stepper motor holder - Tomson Electronics
  3. GRBL controller - Tomson Electronics
  4. Digital Servo Motor - Tomson Electronics
  5. SC8UU - Tomson Electronics
  6. Arduino UNO (Original) - Arduino UNO Original
  7. Arduino UNO (Clone) - Arduino UNO Clone

Robu

  1. GT2 Timing Idler pulley - Robu
  2. Stepper motor driver - Robu
  3. SK8UU - Robu

Amazon

  1. GT2 Timing belt, GT2 pulley and allen key - Amazon
  2. Smooth rod - Amazon

Dimensions

Dimensions

sudo apt-get install libatlas-base-dev

Very simple way to send a gcode file on the command line to a printer/cnc machine that uses the common ok and error feedback lines after each block as 'flow control'.

It sends gcode line-by-line, removing CRLF line-endings and just sends LF (otherwise Grbl gets confused). Waits for the acknowledging ok before sending the next line; provides a simple continue/stop user interaction when it encounters an error-response.

No claim to be complete, just useful for my local Marlin-based 3D printers and Grbl-based CNC.

usage:
./gcode-cli <gcode-file> [connection-string]

Connection string is comprised of device-name and an optional
bit-rate directly separated with a comma.
These are valid connection strings; notice the 'b' prefix for the bit-rate:
        /dev/ttyACM0
        /dev/ttyACM0,b115200
Available bit-rates are one of [9600, 19200, 38400, 57600, 115200, 230400, 460800]

Example:
./gcode-cli file.gcode /dev/ttyACM0,b115200

Link

Instagram