Starting PC from PIC


Closed Thread
Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Sep 2005
    Location
    Campbell, CA
    Posts
    1,107


    Did you find this post helpful? Yes | No

    Default

    I have an ECS motherboard that doesn't automatically restart upon power fail. The machine is in my attic, and provides (MP3) music 24/7 to my bathroom. I got tired of going up to the attic to restart it after every power flicker.

    I use a 12F675 powered from the 5V standby of the power supply. One PIC output pin is tied to one of the "PowerButton" pins. After power up, I wait for 3 seconds (for the power supply voltage to stabilize) and then write a 1 to an output pin and set it as an output for 300ms, then I set it back as an input. This simulates an open-collector driver (so that the ordinary power button still works). The entire circuit consists of the PIC and a 10uF cap across the power leads.

    Works great.

    My motherboard needed a logic "high" on the pin to start it. Check your motherboard. It may need a logic "low". In that case, just write a "0" to the PIC pin before you set it as an output.
    Charles Linquist

  2. #2
    Join Date
    Oct 2003
    Location
    Australia
    Posts
    257


    Did you find this post helpful? Yes | No

    Talking

    Yeah I've done this.. very neat program too!

    Two things I found, to get you started.

    1. Use the pic and relay in parallel with the soft Soft -Off wire. I used an omron G5V-1 SPDT type, but you could use a reed relay instead. I know you dont want to use a relay.. but for a couple of bucks... you'll get total isoltation!

    2. Depending on your ap, you may need feed back from the pc (floppy power cable example) so the pic doesn't turn the pc off, when it's actually turning it on. Opto isolator for this is a must!

    Good luck
    J

  3. #3
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Hi,

    Automatically restart upon power fail

    Go into the PC BIOS and under the menu POWER see if you can find
    the option "Restore on AC Power Loss".

    Best regards,

    Luciano

Similar Threads

  1. Replies: 24
    Last Post: - 2nd October 2017, 12:35
  2. Send data PIC to PC
    By konter in forum Off Topic
    Replies: 6
    Last Post: - 25th December 2009, 23:04
  3. Replies: 67
    Last Post: - 8th December 2009, 03:27
  4. HSERIN & Interupts (aka controlling PIC programs from a remote PC)
    By HankMcSpank in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 17th June 2009, 15:46
  5. Replies: 11
    Last Post: - 12th July 2008, 03:36

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