Using only 1 side PCB, no wires and requiring minimum space.
Quadrature encoder pins go to Arduino Nano’s interrupt pins.
Digital side RST, A07, A04, A03 and A02 are not connected.
CJMCU motor board is the tipical ST VNH2SP30 chinese board (I’ve more posts about it)
I’ve put it vertically.