This is a controller for a 4 nozzle pick and place head. The board consists of 6 stepper motor drivers and a mcu with a usb cdc interface:
When plugged in via USB the board will show up as a serial port. Simply send commands to operate the nozzles.
The following commands are supported:
Code | Action |
---|---|
ME |
Enable motors |
MD |
Disable motors |
xR<n> |
Move motor x relative n steps |
xA<p> |
Move motor x to absolute position p |
xZ |
Zero axis at current position |
S0 |
Set initial velocity / take off speed |
SM |
Set velociy limit |
SA |
Set accel limit |
The value of x
can be 1
, 2
, 3
, 4
, L
, or R
. 1-4 controls the nozzles, L
and R
control the left and right Z motors. n
and p
can be any signed 32 bit integer.
Note: Commands should be terminated with a newline
\n
or;
The board will echo a json message back with the command result.
The board has 4 x 3mm mounting holes in the corners with 94 x 35 mm spacing (~3.701 x ~1.378 in).
The boards were designed with Horizon-EDA, manufactured by JLCPCB, and assembled in house. The software is written in zig using the zuric framework.