16F777 resetting - at seemingly random times


Closed Thread
Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Mar 2011
    Location
    cape town, south africa
    Posts
    19


    Did you find this post helpful? Yes | No

    Default Re: 16F777 resetting - at seemingly random times

    I have tried three power supplies - Using one for circuit and one for LEDS, and also using the same supply split with a voltage regulator for the PIC circuit. The LED supply is a hefty (and expense!) 12v 8.5 amp supply that should be more than adequate to power 10meters of 5050 smd RGB leds;

    36watts per 5 meters - From Manufacturer
    Thus 10m = 72 watts
    72 / 12v = 6 amp.
    I believe that calculation is correct. No smoke yet anyway...

    On your suggestion, I have set PCON.2=0 (BOR = OFF) and the problem persists.

    Any other ideas? I read something about PCL tables...

    Many Thanks!





    The LED strips have their own resistors. As I am cycling through the colours - there are only ever two colours on at the same time (interesting spectral information!).

  2. #2
    Join Date
    Mar 2011
    Location
    cape town, south africa
    Posts
    19


    Did you find this post helpful? Yes | No

    Default Re: 16F777 resetting - at seemingly random times

    here is the circuit;

    Name:  circuit.jpg
Views: 1416
Size:  144.0 KB

  3. #3
    Join Date
    Nov 2007
    Location
    West Covina, CA
    Posts
    219


    Did you find this post helpful? Yes | No

    Default Re: 16F777 resetting - at seemingly random times

    1. Try adding 1.0uF caps to the input and output of the 5V regulator as well.
    2. I would make sure the 4.7K pullup on the MCLR line has a solid connection. A MCLR left floating would also cause intermittent resets.
    3. Or just disable the MCLR function (MCLR_OFF, if I remember correctly) just to be sure some unseen noise spikes are not triggering the uC reset.
    Louie

  4. #4
    Join Date
    Jun 2006
    Location
    Bangalore, India
    Posts
    136


    Did you find this post helpful? Yes | No

    Default Re: 16F777 resetting - at seemingly random times

    Try 47ohm resistor between PWM pins and mosfet gate

  5. #5
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default Re: 16F777 resetting - at seemingly random times

    BOTH Vdd and BOTH Vss NEED to be connected.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  6. #6
    Join Date
    Mar 2011
    Location
    cape town, south africa
    Posts
    19


    Did you find this post helpful? Yes | No

    Default Re: 16F777 resetting - at seemingly random times

    BOTH Vdd and Vss? Wow, that's new - I'm surprised my other projects worked at all..

    Will start with that and the MCLR and see how it goes.

    Thank you all.

  7. #7
    Join Date
    Mar 2011
    Location
    cape town, south africa
    Posts
    19


    Did you find this post helpful? Yes | No

    Default Re: 16F777 resetting - at seemingly random times

    Working perfectly!

    Changes made,
    MCLR OFF
    47ohms resistors to MOSFET's
    both Vdd and Vss's connected

    Have not added the cap's due to space constraints - but will do that if it plays up again.

    Thank you all again.
    Orjon.

  8. #8
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default Re: 16F777 resetting - at seemingly random times

    I thought so but was not sure enough to mention it, thanks Steve.

Members who have read this thread : 0

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

Tags for this Thread

Posting Permissions

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