Skip to content

Arduino serial interface to main desktop portocal

Matty edited this page Apr 4, 2018 · 13 revisions

The main will application will send in byte of data to Arduino. This byte will incorporate the operation and the device to control. This will be decoded on the Arduino to find the operation and the device based on the following:

We have 8 bits to work with: Bits 0-2 indicate the stepper id according to the following: X_AXIS_TOP = 0 X_AXIS_BOTTOM = 1 Z_AXIS_TOP = 2 Z_AXIS_BOTTOM =3 Y_AXIS = 4

Clone this wiki locally