High and Low Voltage Common Ground

Hello Everyone,

I have a question. I have a stepper motor controller. In the controller's datasheet (Fig.1), it says, connect VCC to MCU's VCC and send the signals.


Figure 1

VCC is Opto-coupler common anode and it is bidirectional. Is it possible to connect MCU's ground, Driver's ground and power source ground at the same ground as in Figure 2?


Figure 2

Thanks !

Caner

Yes.

And, wrong forum.

This forum is for installation issues and troubleshooting problems with Arduino boards. Not code or wiring or sensors or whatever.