The driver signal comes from a Picaxe PWM pin. I tried putting a freewheel diode but it never seemed to make any difference.