Skip to content
/ gantry Public

The low-level machine control of our x-y stepper motors and limit switches.

Notifications You must be signed in to change notification settings

p4p-83/gantry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gantry

Note

Refer to p4p.jamesnzl.xyz/learn for full details.

This gantry firmware was originally forked from Makeblock-official/XY-Plotter-2.0, but has since been significantly re-written.

This repository contains the low-level machine control for our x-y stepper motors and limit switches for our pick-and-place machine.

Usage

Firstly, clone this repository.

This repository is structured as a PlatformIO project.

# git submodule update --init
code .
  • Use w, a, s, d, h, j, k, or l to step the gantry a fixed increment in the specified direction.
  • Use G-Code to provide a target location (LF-terminated!).
G28 # go home
G0 X10000 Y10000 Z0 # go to 10000um, 10000um, 0um
G1 X10000 Y10000 Z0 # ''

Known Issue(s)

Warning

This list does not claim to be complete---it contains only the issues I can immediately recall.

  1. If a target position is provided that exceeds the working range, the limit switches are hit, and the current position written to that invalid position. All future operations then have some offset error. Said differently, there is no bounds checking.
  2. Feed rate G1 F... is not supported.
  3. Commands may be ignored if provided too quickly; ie if the present command is yet to complete. Said differently, there is no handshaking.

About

The low-level machine control of our x-y stepper motors and limit switches.

Topics

Resources

Stars

Watchers

Forks