Pic reset and following lock up problem


Results 1 to 20 of 20

Threaded View

  1. #1
    Join Date
    Dec 2007
    Posts
    11

    Default Pic reset and following lock up problem

    Hi Everyone,
    I am building a Pic based automotive ignition coil driver. I use CMOS operational amplifier to drive a MOSFET that grounds the coil primary winding (I have attached the circuitry and the code I am using). The problem is that every time the coil fires the Pic resets that causes the coil to be triggered again instantly rather than in a set period of time. After several seconds the Pic locks up and I have to reset it manually. If I disconnect the coil everything works fine. I am using 16f628a but I also tried 16f877a and 16f84a with 4Mhz oscillator it made no difference. The circuit is built on a breadboard and I use a battery as a power supply for the coil and Pic. I’ve attached the oscillograms taken at various points of the circuitry and a photo of the project. The scope traces are not synchronized I put them in one file for convenience. I shall appreciate any help or advise.
    Attached Images Attached Images    
    Attached Files Attached Files

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts