Is my stepper motor wired correctly?

Hi Mark,

I thought those were included in the BD139 package, but I could add them to protect the resistors anyways.
I should place them from collector to emitter, blocking the current from collector to emitter, right?

Could that be the source of my problems regarding the motor temperature?