Musicmanager
Well-Known Member
Hi
Can someone enlighten me please ?
I'm very much a novice but I managed to build a Precision timer with a circuit diagram from Pic Projects and some help from others on here. I was positively jubilant when I turned it on for the first time and it worked ! I'm using it to control a machine in my workshop which had mechanical timing which tripped a relay for on or off. Over the years this relay has been very vulnerable and has failed a number of times - I think because of the surge when the motor kicks in. For this reason I decided to add another relay on a PCB mounted socket so that replacing it was a 'plug and play' operation rather than possible damage to my pride and joy and then some soldering to repair it.
However, this relay played all kinds of 'silly tricks' with the microcontroller, false starts, stops, varying times etc.. and then I noticed that the relay on the kit had a 1N4148 diode across the coil terminals.. .. so I fitted one across my relay and all the 'silly tricks' disappeared !
As delighted as I am that this works, I haven't a clue why so .. .. can somebody explain please ?
Thanks
Can someone enlighten me please ?
I'm very much a novice but I managed to build a Precision timer with a circuit diagram from Pic Projects and some help from others on here. I was positively jubilant when I turned it on for the first time and it worked ! I'm using it to control a machine in my workshop which had mechanical timing which tripped a relay for on or off. Over the years this relay has been very vulnerable and has failed a number of times - I think because of the surge when the motor kicks in. For this reason I decided to add another relay on a PCB mounted socket so that replacing it was a 'plug and play' operation rather than possible damage to my pride and joy and then some soldering to repair it.
However, this relay played all kinds of 'silly tricks' with the microcontroller, false starts, stops, varying times etc.. and then I noticed that the relay on the kit had a 1N4148 diode across the coil terminals.. .. so I fitted one across my relay and all the 'silly tricks' disappeared !
As delighted as I am that this works, I haven't a clue why so .. .. can somebody explain please ?
Thanks