Electronics Help Me: Power & HDD-activity on 1 LED

Discussion in 'Modding' started by jezmck, 26 Jan 2004.

  1. jezmck

    jezmck Minimodder

    Joined:
    25 Sep 2003
    Posts:
    4,456
    Likes Received:
    36
    see this post for latest

    I would like a little help with the following:
    I want to power one LED to half-brightness when the PC is on, and full when it's on and there is HDD-activity. (I have to use just one LED since it is hidden away in a vandal resistant switch.)

    After much circling, and some help from Jani Pönkkö of metku mods I have come up with the following:
    [​IMG] (ph34r my paint skills etc)
    should/could this work? also what voltages come from the mobo headers, and does anyone know the usual spec's for the LED in a vandal-resistant switch?

    Apologies for all the questions, just hoping someone can confirm the viability of this idea...
     
    Last edited: 27 Jan 2004
  2. Ardentfrost

    Ardentfrost What's a Dremel?

    Joined:
    22 Jan 2004
    Posts:
    292
    Likes Received:
    1
    I think I see what you're doing in that schematic, but I would think you'd need some sort of amplifier after the HDD indicator... but I guess it would depend on your LED (like, what voltages cause it to be full and half brightness).

    Hmm, you know, with an amp and two diodes, this might be easier. If you make the amp (with input of the HDD indicator) put out whatever voltage you need for full LED brightness, then put a diode so you can't get a voltage coming the wrong way down that line. Then have a power line that gives the LED half power and a diode so that power can't come the wrong way down that line. Then, when the HDD indicator goes high, the signal gets amplified to give the LED full power. When the HDD indicator is off, just a half brightness power is being driven to the LED.

    But hell, I'd probably just test what you have on a proto board to see if it works. If not, it shouldn't be too hard to do :)

    PS, what is the line labeled "PUR"? Just straight voltage?
    PSS, n/m, just noticed it's PWR not PUR... man, I need to lower my resolution ;)
    PSSS, damn, why do I always notice things AFTER I finish talking: what you have should work. What's happening is the HDD indicator is alowing more of the PWR to flow through the transistor. The hardest part would be figuring out what resistors give your LED the luminence you want
     
  3. jezmck

    jezmck Minimodder

    Joined:
    25 Sep 2003
    Posts:
    4,456
    Likes Received:
    36
    I wish I had some kind of proto board, and a cupboard of components...

    I remember at school we had a program which simulated circuits, think it was called crocodile (clips) or something - can someone tell me of a program I could use now?
     
  4. Ardentfrost

    Ardentfrost What's a Dremel?

    Joined:
    22 Jan 2004
    Posts:
    292
    Likes Received:
    1
    well, you can get small protoboards from radio shack for like 10-20 bux. I have a pretty good sized one that set me back 50 or so. I also have a really nice electronics store that sells pretty much everything (I didn't think they sold EVERYTHING until I went there and bought some very specialized parts for a project last year including ribbon cable and specialized ICs) so if I ever need a part, I just go there. The parts you need for your thing are pretty general and you could probably get them at radio shack.

    As for simulating circuits, I suggested PSpice earlier in another thread but it doesn't simulate in the way you wanna simulate I think. You could put in a pulse on the HDD indicator and read the output at the other side of the LED and if you get the same pulse you entered with a DC offset, then you know it works. But basically it simulates by you making a graph out of, say the voltage output of a test point you create. It does have a visual function (like, you can choose from a part list) but I usually wrote it out as a program (which isn't hard to do). They have a student version for download I think.
     
  5. jezmck

    jezmck Minimodder

    Joined:
    25 Sep 2003
    Posts:
    4,456
    Likes Received:
    36
    anyone know of any other software?
     
  6. TMM

    TMM Modder

    Joined:
    12 Jan 2004
    Posts:
    3,227
    Likes Received:
    2
    YES! i remeber crocodile clips! :D

    i believe its called "crocodile technology" these days :thumb:
     
  7. jezmck

    jezmck Minimodder

    Joined:
    25 Sep 2003
    Posts:
    4,456
    Likes Received:
    36
  8. jezmck

    jezmck Minimodder

    Joined:
    25 Sep 2003
    Posts:
    4,456
    Likes Received:
    36
    Now I have:
    [​IMG]
    (2 Yellow LEDs used to simulate 1 Blue)
    [​IMG]
    The transistor on the far right is to ensure current only goes back into HDD mobo header when it's supposed to. Prob not necessary, as it's probably just a common zero-rail, but want to be safe, and not fry my mobo.

    Since I'm not a electronics whiz, I'm asking for confirmation that this could work...

    So, can anyone help me?
     
  9. bo.v

    bo.v What's a Dremel?

    Joined:
    13 Nov 2003
    Posts:
    41
    Likes Received:
    1
    hmmm, I might be wrong, but from analyzing zapwizards hd and power one at a time circuit I came away pretty convinced that it is the minus that is disconnected, so the above wont work at all.....

    the following is a bit simpler, and I have no idea how big the resistor should be ... put a variable on and tweak it ...

    [​IMG]
     
    cpemma likes this.
  10. Will

    Will Beware the judderman...

    Joined:
    16 Jun 2001
    Posts:
    3,057
    Likes Received:
    2
    Moved to electronics....if you want to make it a mod guide when its done, ask here and I can move the guide part back, or make another thread...cheers

    :)
     
  11. jezmck

    jezmck Minimodder

    Joined:
    25 Sep 2003
    Posts:
    4,456
    Likes Received:
    36
    bo.v
    i didn't realise that it's the 'minus' that's switched, but that's easy to over come if true. the reason my circuit is so complicated is that i don't want stray current to flow where it's not meant to.

    will
    thanks - i shoulda posted there in the first place.

    zap
    i hope you're watching...
     
  12. bo.v

    bo.v What's a Dremel?

    Joined:
    13 Nov 2003
    Posts:
    41
    Likes Received:
    1
    This is the thread where it is explained ... just in case I have it backwards :)
     
  13. computer

    computer What's a Dremel?

    Joined:
    10 Jan 2004
    Posts:
    205
    Likes Received:
    0
    where did you 'aquire' a working copy of croctech?
     
  14. ZapWizard

    ZapWizard Enter the Mod Matrix

    Joined:
    19 Sep 2002
    Posts:
    4,705
    Likes Received:
    5
    I helped Bard a while ago, and he came up with just using a diode.

    Works great for me.

    You connect the diode between the PWR LED +POS side (After the resistor)
    and the -NEG side of the IDE Header.

    [​IMG]


    /Edit: DOH, I noticed you want a LED on all the time, with it Off during IDE activlity?
    That is easy, just use the above circuit and don't put in the IDE LED
     
  15. bo.v

    bo.v What's a Dremel?

    Joined:
    13 Nov 2003
    Posts:
    41
    Likes Received:
    1
    uhm, you might want to read the first post again ... half brightness w/o hd activity .... full brightness with hd activity ...
     
  16. ZapWizard

    ZapWizard Enter the Mod Matrix

    Joined:
    19 Sep 2002
    Posts:
    4,705
    Likes Received:
    5
    Ah, in that case, all you need is to change the resistors a little.
    In which case the circuit you made above should work.
     
  17. cpemma

    cpemma Ecky thump

    Joined:
    27 Nov 2001
    Posts:
    12,328
    Likes Received:
    55
    ... but I don't think you are, nice KISS solution :thumb:
     
  18. bo.v

    bo.v What's a Dremel?

    Joined:
    13 Nov 2003
    Posts:
    41
    Likes Received:
    1
    thanks :) ... btw, if I wanted to drive an array of led's from the 12v or 5v rail , would I still be able to ground to the hd minus pin on the motherboard for this effect .... or would that somehow damage the motherboard?
     
  19. ZapWizard

    ZapWizard Enter the Mod Matrix

    Joined:
    19 Sep 2002
    Posts:
    4,705
    Likes Received:
    5
    In that case us a transistor.
    (Switched by the IDE -NEG signal)

    BTW, it won't damage your motherboard, but your harddrives.
    As IDE- is wired to Pin39 on a IDE cable.
     
  20. cpemma

    cpemma Ecky thump

    Joined:
    27 Nov 2001
    Posts:
    12,328
    Likes Received:
    55
    I'm assuming it's only a logic switch on pin#39, if so I wouldn't risk going over 15-20mA. Easy way is to use pin#39 low to switch on a PNP transistor, about 1k resistor to the base.
     

Share This Page