I'm driving two step motors with one drive. The drive is control by a PIC microchip.
To switch the motors, DS2Y-S-DC5V relay is used. I also have two limit switches(homing) where they are switch by relay too. The problem comes when I switch motors, I get random data on the PIC such as motor is homed when is not. I tried putting diodes across the relay coils, but no change.
Any suggestions?
Thanks in advance.
To switch the motors, DS2Y-S-DC5V relay is used. I also have two limit switches(homing) where they are switch by relay too. The problem comes when I switch motors, I get random data on the PIC such as motor is homed when is not. I tried putting diodes across the relay coils, but no change.
Any suggestions?
Thanks in advance.