1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Electronics How to boot from logical high signal

Discussion in 'Modding' started by the_fox, 6 Jan 2006.

  1. the_fox

    the_fox What's a Dremel?

    Joined:
    27 Dec 2003
    Posts:
    37
    Likes Received:
    0
    Hi,

    I'm planning on using a remote doorbell to power my computer on.
    I've got it and have it running from a molex. After stripping the unused parts I have a logical high signal when I press the button (4.5V, guess 100mA max)

    The problem is, I don't exactly know how a power button works, I think you connect thee sense wire to the ground, but not sure

    the easy way would be to use a relais, but I hate those clicking sounds :sigh:

    So, what would be the best way to hook this up to the mobo? A transistor? Optocoupler? Transistor used as a NOT-gate?

    And could you please explain carefully, because my electronics are a bit rusty, I remember most components and their functions, but I'll make mistakes in the connections (for instance switch the C&E on a transistor or use a NPN instead of a PNP :s)
     
  2. Confused Fishcake

    Confused Fishcake Minimodder

    Joined:
    25 Sep 2005
    Posts:
    698
    Likes Received:
    1
    The easiest way might be to bury ther relay somewhere inside your pc, you would hardly hear anything. Otherwise, I think an optocoupler would work, with the led hooked up to your doorbell (with a resistor of course) and the collecter of the phototransistor hooked up to the sense wire, and the emitter to ground. An npn transistor would probably work, if you had the base connected to your doorbells output, the collector to the sense wire, and the emitter to ground. Just try what you have lying around, it is unlikely to break the on/off circuit on your mobo.
     
  3. the_fox

    the_fox What's a Dremel?

    Joined:
    27 Dec 2003
    Posts:
    37
    Likes Received:
    0
    That's what I don't want to do, it might break, and it's cheaper to ask someone that knwos this kind of stuff (and I sure hope he reads this forum :p) then to do it by trial and error and f*ck up my motherboard ;)
     
  4. Xiachunyi

    Xiachunyi What's a Dremel?

    Joined:
    3 Nov 2003
    Posts:
    1,404
    Likes Received:
    0
    You would need an inverter from the signal source to your mobo. This way, whenever the signal is low, the sense is held high; whenever the signal is high, the sense is held low.

    If you want to isolate the remote doorbell's electronics from the computer's, use an optoisolator.

    Read this for transistor operation on the inverter so that you may construct your own from scratch if you wish. The next page, although more complicated, is an interesting read that I recommend.
     
  5. the_fox

    the_fox What's a Dremel?

    Joined:
    27 Dec 2003
    Posts:
    37
    Likes Received:
    0
    Something like this for an inverter ? (PNP trans, right ?)
    [​IMG]

    only Q's that I have are :
    -output to ground or sense pin on motherboard
    -5V or 12V on inverter
    -Isn't it bad for the motherboard to have a constant signal on that pin (if doorbell signal is low, the pin on the mobo gets a high signal)


    optoisolator = optocoupler ???
    if so, then it should be something like this ?

    [​IMG]
    pin 1 being sense on motherboard and pin 0 being ground on moboheader


    [edit]the problem isn't really the schematics, it's wondering how the power-button works

    simple is output chip to Base of a PNP, E&C to mobo header, but what I remember from before is that in that state the mobo header will always recieve the 4.5-0.6=3.9V, and I'm wondering how healthy that is, I guess the best way should be the optocoupler instead of a relais ;)
     
    Last edited: 6 Jan 2006
  6. Wolfe

    Wolfe What's a Dremel?

    Joined:
    7 Sep 2003
    Posts:
    776
    Likes Received:
    1
    Nah, for that you'd want NPN.

    Also, with an optocoupler (which is also known as a optoisolator), you'd want to put a 1k or so resistor in series with the LED.

    The power button works by pulling a pin to ground, IIRC.
     
  7. the_fox

    the_fox What's a Dremel?

    Joined:
    27 Dec 2003
    Posts:
    37
    Likes Received:
    0
    :wallbash: :duh: told you I would mix'em up :p

    so, simple NPN (I know I can get a TIP31C in my local electronics shop) or optocoupler, what would you guys suggest

    would it be necessary to isolate the 2 circuits ?
     
  8. Confused Fishcake

    Confused Fishcake Minimodder

    Joined:
    25 Sep 2005
    Posts:
    698
    Likes Received:
    1
    I would say an optocoupler, as they mean your mobo is completely safe.
     
  9. the_fox

    the_fox What's a Dremel?

    Joined:
    27 Dec 2003
    Posts:
    37
    Likes Received:
    0
    I still got a mobo with 2 busted RAM slots laying around here somewhere, but it still powers on

    I was going to use that to test if I could run it off +5VSB, wouldn't hurt to test the transistor there, but I'll probably go with the optocoupler
     
  10. cpemma

    cpemma Ecky thump

    Joined:
    27 Nov 2001
    Posts:
    12,328
    Likes Received:
    55
    I'd second the optocoupler, and connect its transistor C & E straight across the switch, E on the low side. Seems safe whatever components are in line with the power switch. Must look one day.

    A quick search found what looked promising here,
    but he's chickened out and used a relay at the end of the line. :wallbash:

    One slight worry about using a remote to turn the PC on is that a second, accidental, pulse will turn it off. :duh:
     
  11. the_fox

    the_fox What's a Dremel?

    Joined:
    27 Dec 2003
    Posts:
    37
    Likes Received:
    0
    not really (in my case, not talking about DOS and Linux) I haven't set the power button action in my windows power management


    that, and the doorbell I'm using can only send a signal once every 5 seconds, and my pc is at the windows logon screen in under 5 sec ;)


    only "problem" is, I can't hold the power button for 6sec to shutdown when the pc crashes, I'll have to pull the plug ;)
     
  12. Wolfe

    Wolfe What's a Dremel?

    Joined:
    7 Sep 2003
    Posts:
    776
    Likes Received:
    1

    Stick a manual switch somewheres, like the back.
     

Share This Page