PIC16F819 locking


Closed Thread
Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Jun 2005
    Posts
    37


    Did you find this post helpful? Yes | No

    Default Transient Suppression

    I would pay close attention to the transients generated by the relay coils when switching. I like to use hexfets because of their high gate isolation from the drain and source. You have to add a reverse biased flyback diode like a 1N4001 accross the relay coil and provide further isolation from your port pin to the fet's gate with a resistor, perhaps 4.7K. If you have pic port wires in close proximity to the relay source/sink wires, you can get induced noise in the pic causing havoc as well.

  2. #2
    Join Date
    Dec 2005
    Location
    Hull, UK
    Posts
    2


    Did you find this post helpful? Yes | No

    Default

    Hi,

    Thanks for all the replies,

    Yes I have flyback diodes on each relay, I also have diodes from the pic's port output to the resistor on each transistor.

    My confusion is to why it works perfectly when seperately powered but not when its powered off its own transformer, Iam using the same regulator circuit etc.

    It is driving me mad.

    Yes I did have power up issues with the design initially also, I found adjusting the settings for the start up timer etc in the config sorted that out.

    I had similar problems with the 18F452 with random resetting so I had knowledge of this trickiness.

    I also had a batch of F819's that would only program once, cost me about 10 chips in the end.

    Thanks anyway

    Darryl

  3. #3
    Join Date
    Jun 2005
    Posts
    37


    Did you find this post helpful? Yes | No

    Default Power Up Problems

    It still sounds like your getting a power glitch that is affectig the pic. You could also try a larger capacitor parallel to 0.1uF accross the pic and turning off the brownout detect.

Similar Threads

  1. PIC16F819 LED not blinking
    By ronbowalker in forum mel PIC BASIC Pro
    Replies: 15
    Last Post: - 1st December 2009, 03:04
  2. Programming Problem with PIC16F819
    By Dick Ivers in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 24th July 2007, 19:42
  3. PIC16F819 serial coms
    By c6jones720 in forum Serial
    Replies: 2
    Last Post: - 13th June 2007, 20:46
  4. Timers using Pic16F819
    By bearpawz in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 27th October 2004, 16:20
  5. DS1631 with PIC16F819
    By v_merino in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 15th July 2004, 03:16

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