'Soft' On/Off Power Switch


Closed Thread
Results 1 to 20 of 20

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    938


    Did you find this post helpful? Yes | No

    Default

    Yup, R1 is actually connected du Q1's base. Thanks for noticing, skimask.

    My drawing only is incorrect, in fact, I built this circuit according to Melanie's plan in a previous post.

    The values of the components are those stated in the same previous post.
    Quote Originally Posted by Melanie
    Q1 BC327B (most any PNP transistor)
    Q2 BC547B (most any NPN transistor)
    D1, D2 1N4148 (or equivallent low-power signal Diode)
    R1 22K
    R2, R3, and R4 12K
    There is no delay in the program. In fact, I set RA1 high at the very beginning of the code.

    At startup, the circuit draws 4,5 mA. A few milliseconds later, the current peaks up to 600mA (I drive an IR led - it's a remote control).

    I'm going to add another Tr to provide the "power" to the IR-led instead of using only Q1. This should solve the problem.
    Roger

  2. #2
    Join Date
    May 2006
    Location
    Del Rio, TX, USA
    Posts
    343


    Did you find this post helpful? Yes | No

    Red face

    Simple, but need to ask. Are you sure RA1 is set to digital?

  3. #3
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    938


    Did you find this post helpful? Yes | No

    Default everythink is okay

    I checked an re-checked all over again; I even changed my breaboard.

    Finally, I tested all components and surprise: R2 has infinite resistance (should be 12k!).

    Everything is fine and the circuit works well now.

    Thank you to All for your help.

    I add the corrected shema - hope I didn't made a mistake this time.
    <img src="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=2707&stc=1&d=121484865 4">
    Attached Images Attached Images  
    Roger

  4. #4
    Join Date
    Sep 2008
    Location
    Maine, USA
    Posts
    81


    Did you find this post helpful? Yes | No

    Default Simplified circuit

    If all you need is a push button to turn on the circuit and the PIC to turn it off then I have tested a simplified circuit that uses a MOSFET. Low part count = lower cost! I didn't have a P-MOSFET laying around, but I *think* that you could replace my Q1 with one and that would eliminate R2 in my circuit too.

    Guy
    Attached Images Attached Images  

  5. #5


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by tekart View Post
    If all you need is a push button to turn on the circuit and the PIC to turn it off then I have tested a simplified circuit that uses a MOSFET. Low part count = lower cost! I didn't have a P-MOSFET laying around, but I *think* that you could replace my Q1 with one and that would eliminate R2 in my circuit too.

    Guy
    Hello,

    ¿You can replace the transistor by a canal N?.

    Thank you

Similar Threads

  1. Switch mode power supply Pic Micro
    By iw2fvo in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 29th July 2009, 13:11
  2. Replies: 3
    Last Post: - 29th April 2009, 00:45
  3. 16F628A - Stops if release power switch.
    By dene12 in forum General
    Replies: 16
    Last Post: - 14th February 2009, 07:57
  4. Switch PIC16F877 ON/OFF
    By koossa in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 27th August 2005, 12:34
  5. Electronic 'Soft' Power Switch
    By Art in forum Schematics
    Replies: 0
    Last Post: - 10th August 2003, 23:50

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