Brownout detected 16F877


Closed Thread
Results 1 to 6 of 6
  1. #1
    Join Date
    Jan 2008
    Location
    Pennsylvania
    Posts
    113

    Default Brownout detected 16F877

    Hi all... I'm not sure what is causing the brownout on my pic but it is most likely a design flaw of my circuit. I'll start by: The brownout is tripped when the pic senses a voltage drop that could affect it correct? I am using 2 pins on the pic to trip these 2 reed relays, I have the relays going to +5vdc on one side and to the porta.2 and porta.5. I do not have any pull up resistors or anything else wired into the relays. When I want to trip the relays I set the appropriate port to 0, porta.2=0 when I am ready to shut the relay off I set porta.2=1 every once in a while when I shut the relays off the device just reboots. I am guessing this is the brownout event taking place. I realize I am not laying out my entire circuit here but I thought I would start with this just to see if anyone has any suggestions on what I might check or look for to try and troubleshoot this. If anyone has any ideas on what to check or suggestions I would appreciate it.
    Thanks
    David

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Flyback diode on the relays may help.
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Jan 2008
    Location
    Pennsylvania
    Posts
    113


    Did you find this post helpful? Yes | No

    Default flyback diode

    Quote Originally Posted by mackrackit View Post
    Flyback diode on the relays may help.
    Mack, Thanks I will give that a try. That would just be a simple Schottky diode across the load of the realy right?

    Thanks
    David

  4. #4
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Any type is better than none.
    http://en.wikipedia.org/wiki/Flyback_diode
    Dave
    Always wear safety glasses while programming.

  5. #5
    Join Date
    Jan 2008
    Location
    Pennsylvania
    Posts
    113


    Did you find this post helpful? Yes | No

    Default As always thanks

    [QUOTE=mackrackit;76156]Any type is better than none.
    http://en.wikipedia.org/wiki/Flyback_diode[/QUOTE

    So far so good... It has not rebooted itself since I added the flyback diodes to the circuit.

    I'm very appreciative of the people in this forum you're always a great help.

    David

  6. #6
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Cool! That makes my day
    Dave
    Always wear safety glasses while programming.

Similar Threads

  1. 16f877 and ps/2 keyboard error???
    By boraciner in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 5th July 2009, 08:14
  2. serial communication between CMUcam and PIC 16F877
    By gengkeys in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 30th March 2007, 06:43
  3. 4 Quadrant dc drive with 16F877
    By mns45 in forum mel PIC BASIC
    Replies: 2
    Last Post: - 23rd February 2006, 13:05
  4. problem using 16f877
    By yrch in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 20th February 2006, 18:58
  5. Compatibility in between 16f877 and 18f452
    By BIDOUILLE in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 11th October 2005, 13:59

Members who have read this thread : 1

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