K 8055 Motor stays on

Hello.
With the K 8055 I,m steering 3 motors with bipolar relays, to switch polarity to reverse travel.
The software works fine, with the electronic connected I can hear the relays switching.
I connect the relays as shown in the tutorial, how simple. everything works fine, however when
connecting a motor to the relays, it function is good but after 3 or more times switching on and off,
the motor stays on and the program freezes. the only thing then is to remove the usb cable, then the motor stops

First I thought it was my code ,but the same on the demo program.
I connect all ground lines (also motor) together, maybe it is a induction problem. maybe somebody has a tip
I allready blew up a 8055 Board pic and buffer IC, so i,m a little bit careful with my last board.

Regards

Willie

If you have not done so, then place a diode (almost any would be fine) in in parallel with the relay coil as shown below–this will suppress the reverse EMF generated when the relay is de-energised, it is likely that this reverse spike is what’s hanging up the K8055 processor.

After adding the external diode in parallel with the relay coil, please disconnect the lead from the CLAMP terminal of the K8055.

Now the reverse current spike goes through the external diode - not through the internal diode of the transistor array ULN2803 on the K8055 card.

Also move the relays, motors and all the wiring as far away as possible from the K8055 card.

Good point!

I had forgotten about that as I never use the internal protection for any substantial inductive load…