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

    true...
    Steve

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

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


    Did you find this post helpful? Yes | No

    Default

    I never did it, but I think It could work. Use a pull up between tr base and 12V, then a resistor in serie with the PIC. In your software, you set GPIO to 0, and later you play with TRIS to toggle your pin. Set to input, the tr should be off, Set to Output, tr should be almost ON. I would bet something like 10K pull-up, and something like 100-1K match could do.
    Steve

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

  3. #3


    Did you find this post helpful? Yes | No

    Default

    I have the feeling that the internal zenner diodes will keep your lower side of the resistor to 5V+ even if you force it in input mode so the transistor will never turn OFF completely. Playing with the two resistors values will only get you a reliable ON status of the transistor but never fully OFF.

    Regards,

    Nick

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


    Did you find this post helpful? Yes | No

    Default

    Those internal one are not zener, but regular one.. fluffy but regular. Anyways, forget that, it was a really bad idea
    Steve

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

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