1. Stepper motor & Power port

Stepper motor & Power port is a terminal block. It has six terminals and a 5mm pitch.

label description
M1+, M1-, M2+, M2- connect to stepper motor
VM, GND connect to power

Connecting to a bipolar stepper motor

PES-2405 is a controller for bipolar stepper motors. An example of connection with a bipolar stepper motor is as follows:


Connecting to a unipolar stepper motor

If you want to connect a unipolar stepper motor to PES-2405 refer to two examples below.


Supplying power

GND and VM are input port of supplying power(DC 4 ~ 18V) to run motors. Supplying power through this port is positively necessary. Check the DC polarity when you input the power.

2. Digital input port

This port is used to connect limit switches and cannot be used for other purposes.
An example of connection with limit switches is as follows:


  • G means ground and all ground pins are connected each other
  • 0, 1, 2 and 3 are the index number of input ports and all of them are pulled up

3. SLAVE ID Switch

A slave ID is used when PHPoC board identifies each smart expansion board. So, each smart expansion board, which is connected to a PHPoC board, should have a unique slave ID. The slave ID can be set one of the numbers from 1 to 14 by 4 DIP switches as follows:


4. LED

PES-2405 has 2 status LEDs. The one, on the top of the board, is connected to 3.3V and the other one, on the bottom of the board is connected to 5V. The operations of both LEDs are the same and they are as follows:

  • about ID setting
state operation
normal repeat On/Off in every second
abnormal blinks very quickly
  • about running motor
state operation
ready repeat On/Off in every second
running shortly turned on 4 times in every second
locked shortly turned off 4 times in every second
out of control off