PICs and harsh environments


Closed Thread
Results 1 to 37 of 37

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default

    Definitely better, but... Q1 and Q2 are not connected the proper way, the emitter should go to GND, I'll assume a lack of sleeping for this one

    I would suggest few things
    1. add a 0.1uF capacitor at the regulator input
    2. assuming Q3 drive a relay (because i'm not sure of the symbol you're using), I would suggest, if at all possible to use a 12V relay, this will keep spikes far of the logic Vdd. OR, depending how much current your relay coil need, and if have tons of those, add a resistor in serie with the 12v line...
    3. D1 is a good idea as long as your load on J4 don't overload the maximum forward current, which is ~1A.
    4. Depending how much current and where your LED take it's voltage, you may don't even need Q4
    Steve

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

  2. #2
    Join Date
    Jul 2007
    Posts
    74


    Did you find this post helpful? Yes | No

    Default

    You are right about Q1 & Q2 they are supposed to be connected to 5v not gnd.

    Q3 is driving a relay, that is National Instruments idea of a relay symbol and it pulls about 40mA

    J4 will have about 140mA

    The LED is actually an incandescent bulb needing ~12v 80mA

  3. #3
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default

    erice1984, The way the schematic is drawn the emitter and collector of Q1 and Q2 need to be reversed...

    Dave Purola,
    N8NTA

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


    Did you find this post helpful? Yes | No

    Default

    For 140mA drive, could the relay be replaced by a Mosfet or transistor instead?
    Steve

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

  5. #5
    Join Date
    Jul 2007
    Posts
    74


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mister_e View Post
    For 140mA drive, could the relay be replaced by a Mosfet or transistor instead?
    Most likely.

  6. #6
    Join Date
    Jul 2007
    Posts
    74


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Dave View Post
    erice1984, The way the schematic is drawn the emitter and collector of Q1 and Q2 need to be reversed...

    Dave Purola,
    N8NTA
    Aye, Thanks for pointing that out, Q1 and Q2 are correct, I have the resistors connected incorrectly, they should be hooked to ground instead of the 5v that the diagram is showing..

  7. #7
    Join Date
    Jul 2007
    Posts
    74


    Did you find this post helpful? Yes | No

    Default

    how does it 'appear' now?
    Attached Images Attached Images  

  8. #8
    Join Date
    Jul 2007
    Posts
    74


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by erice1984 View Post
    how does it 'appear' now?
    *sigh* That is irritating....

    Fixed T1 and T2
    Attached Images Attached Images  

  9. #9
    Join Date
    Jul 2007
    Posts
    74


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by erice1984 View Post
    *sigh* That is irritating....

    Fixed T1 and T2
    Yet again, another change.... am I the only one this happens to?
    Attached Images Attached Images  

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