Go Back   GIDForums > Computer Forums > Computer Hardware Forum
User Name
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
Thread Tools Search this Thread Rate Thread
Old 25-Oct-2017, 00:35
Edangma Edangma is offline
New Member
Join Date: Oct 2017
Posts: 1
Edangma is on a distinguished road

Need help for making a simple microcontroller based circuit to turn on a computer

Hi, I'm making a simple micro-controller based circuit to turn on a computer when certain events are triggered. I am interfacing it using the PCs soft power switch pins on the front panel header:

There are two relevant pins on this header, I'll call them SW+ and SW-. SW- shares the PCs system ground, though I'm not sure this is always the case. SW+ is, in my test system, 3.3v above ground, although I suspect this could be more or less.

In a typical computer, a NO momentary switch on the front panel shorts these two pins when the power button is pressed. I want this to instead be controlled based on a logic level signal from a microcontroller.
My first attempt at a test circuit is as follows:

I tested the polarity of my header and made sure SW+ really was the positive pin. My microcontroller( was powered from USB, therefore sharing system ground, so connecting SW- and controller ground was not a problem.
The circuit worked as intended, but it's obviously not very great. I want to make this circuit as universal (not system dependent) as possible. This poses the following problems:

The polarity is not indicated - the user can not be relied on to insure a specific polarity.
The voltage is not exactly known - it's better to assume it will be somewhere between 2-12v.
The controller should be isolated - it might share the computer's ground, but this is not guaranteed.

The simplest solution that comes to mind is using a relay. I may end up doing this, but I really would like to avoid it due to reliability, size and price.
Is there any transistor based solution (essentially like a relay) meeting the criteria above?
Attached Images
File Type: jpg 1RfLi.jpg (33.2 KB, 2 views)

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple computer related questions Switch Computer Hardware Forum 7 21-Feb-2009 12:11
Computer security article crystalattice Open Discussion Forum 0 01-Oct-2004 14:31

Network Sites: GIDNetwork · GIDApp · GIDBlog · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 09:29.

vBulletin, Copyright © 2000 - 2018, Jelsoft Enterprises Ltd.