Arduino Nano to TB6600 wiring help

Hi all I had this working before but forgot to label stuff up and it has been so long I have no clue where I found the information on how to do it and google searches have left a blank.

I have 2X TB6600 stepper controllers that need to control 2X stepper individually but I have no idea how to interface a NANO with a TB6600.

Could anyone please supply me with the exact wiring from an Arduino NANO to a TB6600 driver please?

I have attached a photo of my exact TB6600 Drivers for reference as there are so many variations of them.

I just want to know what pins from the NANO go to what pins on the TB6600.

Thanks in advance.

I guess the pins you use depend on the sketch in the Nano?

I google it and quickly found specs and connection diagrams :

https://www.dfrobot.com/wiki/index.php/TB6600_Stepper_Motor_Driver_SKU:_DRI0043?gclid=EAIaIQobChMIvfz01eXH3AIVo7XtCh028gDTEAAYASAAEgIFhfD_BwE

hammy:
I guess the pins you use depend on the sketch in the Nano?

I google it and quickly found specs and connection diagrams :

https://www.dfrobot.com/wiki/index.php/TB6600_Stepper_Motor_Driver_SKU:_DRI0043?gclid=EAIaIQobChMIvfz01eXH3AIVo7XtCh028gDTEAAYASAAEgIFhfD_BwE

Yeah seen that but it says UNO not NANO (please see screen cap image below) I need to know exactly for an arduino NANO not an arduino UNO this will be for an antenna Azimuth and Elevation rotator so need to keep components small to fit in a small box. thew NANO will be running the K3NG rotator controller GitHub - k3ng/k3ng_rotator_controller: K3NG Arduino Amateur Radio Rotator Controller