Push-Button switch with delay to Turn On/Off Raspberry PI

Discussion in 'Analog & Mixed-Signal Design' started by Kevin Pilgrim, Sep 14, 2018 at 9:23 AM.

  1. Kevin Pilgrim

    Thread Starter New Member

    Friday
    3
    0
    Dear Forum,
    For a mobile project I need a circut to turn on/off a raspberry pi with delay. Idealy with a 2-3 second delay to prevent that a user accidentally powers on or off. Since the PI also has a HDMI Display attached the maxmimum current is 1A. I tried this here http://www.mosaic-industries.com/em...n-switch-turn-on/latching-toggle-power-switch but I did not get it to work.

    I would like to implement it with SMD ic/components.

    Thanks for any helP!
     
  2. Kevin Pilgrim

    Thread Starter New Member

    Friday
    3
    0
  3. crutschow

    Expert

    Mar 14, 2008
    19,523
    5,445
    Below is a toggle delay circuit that should do what you want.

    U1 and U2 can be any inverting gates, such as a CD4001 NOR gate, or a CD4049 buffer.

    The LTspice simulation shows a delay of about a 2.6 seconds for both turn on and turn off.

    M1 can be just about any logic-level (max Vgs threshold of ≤2V) P-MOSFET with an on-resistance of ≤100mΩ.

    upload_2018-9-14_14-31-21.png
     
    Last edited: Sep 14, 2018 at 5:31 PM
  4. Kevin Pilgrim

    Thread Starter New Member

    Friday
    3
    0
    Does this look about right ;-)?
     
  5. KMoffett

    AAC Fanatic!

    Dec 19, 2007
    2,698
    271
    It appears that all the circuits that use logic gates must remain powered even when the switched load is off. Or am I wrong?\

    Ken
     
Loading...