PIC problem, ways to do reset


Results 1 to 2 of 2

Threaded View

  1. #1
    lab310's Avatar
    lab310 Guest

    Default PIC problem, ways to do reset

    I got stuck with this problem: I have simple application of PIC doing only PWM (use hardware PWM) acording to measured input voltage. Problem is that when some big (near) circuti breaker swithes on or off, PIC got stuck and PWM goes to 100% duty cycle. Then I need to switch power on/off (reset) to get it back to work.
    I used power-on reset, brown-out reset and wdt with prescaler 128 (20MHz). MCLR is connected directly to +5V, and whole PCB is in metal box (only has two small openings).
    What should I try to prevent all this to happen?
    Last edited by lab310; - 26th May 2005 at 10:04.

Similar Threads

  1. Pic reset and following lock up problem
    By zerosvarka in forum General
    Replies: 19
    Last Post: - 17th June 2009, 20:03
  2. process hung problem + self reset
    By eng.alamin in forum mel PIC BASIC Pro
    Replies: 26
    Last Post: - 31st October 2008, 16:22
  3. Must reset PIC to get correct operation?
    By Christopher4187 in forum General
    Replies: 5
    Last Post: - 2nd June 2006, 01:59
  4. Replies: 5
    Last Post: - 20th March 2006, 01:34
  5. PC - PIC problem...
    By menhwa in forum Serial
    Replies: 2
    Last Post: - 20th February 2006, 19:57

Members who have read this thread : 1

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