Hi,
Thanks to this forum I’ve got it working.
I used this thread http://www.picbasic.co.uk/forum/showthread.php?t=11222
So I changed the PIC to 12F683 configured MCLR as an input and used 8MHz internal oscillator. MCLR pin is protected by 5vTVS. I attached circuitry and the code I use. The REFIRE and REFIRE2 allow to hear when reset occurs. I started with suppression lead and resistive sparkplug (they both suppress interference). Then substituted adjustable spark tester (1 cm gap) for spark plug and then removed the suppression lead leaving bare gap (no suppression). When the coil fires it creates quite a strong interference. My laptop screen flickers (laptop just seats on the same table), USB to SERIAL converter locks-up(use it for RS232) and my scope freezes (none of these devices are connected to any circuitry). But the PIC works fine and doesn’t reset.
Bookmarks