2.7 Pinout

The following tables show the pin connections used in this application. Table 2-1 shows the pin connections needed to control movement of the CNC machine on the x-axis while Table 2-2 shows the pin connections used to control movement on the y-axis. Table 2-3 shows the pin connections used for serial communication using the UART module.

Table 2-1. X Axis
FunctionPin
X EnableRA4
StepRA5
DirectionRD7
LimitRC7
Table 2-2 2-3. Y Axis
FunctionPin
Y EnableRA6
Y StepRB4
Y DirectionRD4
Y LimitRA1
Table 2-2 2-3. Other Connections
FunctionPin
UART TXRF1
UART RXRF0
End EffectorRF2