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 1. X Axis
Function Pin
X Enable RA4
Step RA5
Direction RD7
Limit RC7
Table 2. Y Axis
Function Pin
Y Enable RA6
Y Step RB4
Y Direction RD4
Y Limit RA1
Table 3. Other Connections
Function Pin
UART TX RF1
UART RX RF0
End Effector RF2