Results 1 to 9 of 9

Thread: Switch to control case lights

  1. #1
    Member
    Join Date
    Jul 2003
    Location
    Shefflield (Currently at uni in staffs)
    Posts
    149
    Thanks
    0
    Thanked
    0 times in 0 posts

    Switch to control case lights

    Hi all, I have an unbranded case which has a door at the front which lights up when the power is on, I love the look of it however would love to be able to turn it off at night. I was wondering if anyone knew about how I might add a push switch to control the lights.

    The light is powered through a 4 pin molex connector which then passes through allowing a device to be powered through another molex connector, however I dont have a device connected to this spare one meaning if i could cut the connection via a switch a loss of power through to the remaining connector wouldnt matter.

    So if anyone could help me by telling me a) if this can work, and b) how i might go about it (ie connect which colour wires to the switch)

    Thanks again.

  2. #2
    Seething Cauldron of Hatred TheAnimus's Avatar
    Join Date
    Aug 2005
    Posts
    17,168
    Thanks
    803
    Thanked
    2,152 times in 1,408 posts
    dead easy to do, first off find a switch u like the look of
    www.rapidelectronics.co.uk or www.maplin.co.uk or similar.

    Do you know if the lights are LEDs or a CCFL or something else?
    I had some LEDs on a case that pissed me off when trying to sleep, so i used an LDR (Light Dependant Resistor) an op-amp set up as a schmitt trigger, to control the brightness. The result was, if room light lights are on, if room dark, lights are off.

    an example i've quickly googled is:
    http://www.uoguelph.ca/~antoon/circ/sensor2.htm
    throw new ArgumentException (String, String, Exception)

  3. #3
    Not Very Senior Member RavenNight's Avatar
    Join Date
    Aug 2005
    Location
    Somewhere with food
    Posts
    1,188
    Thanks
    5
    Thanked
    11 times in 10 posts
    That looks great though I'd be wary of using the rela yin that cicuit digram when the fied collapses it generates one hell of a pulse. I've been caught out many a times by evil people while i'm fiddiling with a protoype, it really hurts!
    AMD 3700+ San Diego @ 2.8GHz | Zalman CNPS 9500LED + Arctic Cooling MX-1 | Asus A8N-SLi Deluxe + Zalman Northbridge | 1024MB DDR RAM (2 x 512MB Corsair XMS Pro TwinX) | Leadtek nVidia 6600GT 128MB | Creative SoundBlaster X-Fi Xtreme Music | 2x80GB Hitachi Deskstar SATA-II (RAID 0) | Gigabyte 3D Aurora Case | Hiper Type-R 580W Modular | Enermax Ultimate Fan Controller| Microsoft Nautral 4000 | Logitech G5 + fUnc 1030| Ideazon Fang | SpeedLink Medusa 5.1 Surround Headset | Samsung SM913N 19" TFT | Compro DVB-T200

    "Dell? You get better tech support with a cheese sandwich"

  4. #4
    Seething Cauldron of Hatred TheAnimus's Avatar
    Join Date
    Aug 2005
    Posts
    17,168
    Thanks
    803
    Thanked
    2,152 times in 1,408 posts
    in the google schematic there is a diode accross the coil that drives the relay, thats to prevent a dangerous discharge that could damage the transistor.

    If its just LEDs you could drive directly from the output of the OP-AMP probably!
    throw new ArgumentException (String, String, Exception)

  5. #5
    Member
    Join Date
    Jul 2003
    Location
    Shefflield (Currently at uni in staffs)
    Posts
    149
    Thanks
    0
    Thanked
    0 times in 0 posts
    Thanks for the reply, looking at the schematic it doesnt seem that difficult so i'll have a go and post the results on the modding section, i have a few led's on a door panel and a few led fans, so i'll swap out some of the fans for non-led ones and have the others operate under control of the switch (while monitoring system temp just in case)

    I like the idea of the light dependence, would've never thought of that myself but i think i'll just stick to a normal push to make/break switch.

    Thanks again all and i'll post the results.

  6. #6
    Seething Cauldron of Hatred TheAnimus's Avatar
    Join Date
    Aug 2005
    Posts
    17,168
    Thanks
    803
    Thanked
    2,152 times in 1,408 posts
    a toggle switch is the easyest, as for using a push switch, thats different kettle of fish, as you want it to "latch" see:

    http://forums.hexus.net/showthread.php?t=67786
    throw new ArgumentException (String, String, Exception)

  7. #7
    Senior Member
    Join Date
    Jan 2005
    Location
    Manchester
    Posts
    2,900
    Thanks
    67
    Thanked
    182 times in 136 posts
    • Butcher's system
      • Motherboard:
      • MSI Z97 Gaming 3
      • CPU:
      • i7-4790K
      • Memory:
      • 8 GB Corsair 1866 MHz
      • Storage:
      • 120GB SSD, 240GB SSD, 2TB HDD
      • Graphics card(s):
      • MSI GTX 970
      • PSU:
      • Antec 650W
      • Case:
      • Big Black Cube!
      • Operating System:
      • Windows 7
    Quote Originally Posted by RavenNight
    That looks great though I'd be wary of using the rela yin that cicuit digram when the fied collapses it generates one hell of a pulse. I've been caught out many a times by evil people while i'm fiddiling with a protoype, it really hurts!
    As TheAnimus mentions, D1 in the circuit prevents that sort of thing.

  8. #8
    Not Very Senior Member RavenNight's Avatar
    Join Date
    Aug 2005
    Location
    Somewhere with food
    Posts
    1,188
    Thanks
    5
    Thanked
    11 times in 10 posts
    Lol, but if you happen to be touching the board when it goes, wham. I'd also assume that Diode dumps the pulse onto the 12v rail, which may be connected to the PSU, is that safe?
    AMD 3700+ San Diego @ 2.8GHz | Zalman CNPS 9500LED + Arctic Cooling MX-1 | Asus A8N-SLi Deluxe + Zalman Northbridge | 1024MB DDR RAM (2 x 512MB Corsair XMS Pro TwinX) | Leadtek nVidia 6600GT 128MB | Creative SoundBlaster X-Fi Xtreme Music | 2x80GB Hitachi Deskstar SATA-II (RAID 0) | Gigabyte 3D Aurora Case | Hiper Type-R 580W Modular | Enermax Ultimate Fan Controller| Microsoft Nautral 4000 | Logitech G5 + fUnc 1030| Ideazon Fang | SpeedLink Medusa 5.1 Surround Headset | Samsung SM913N 19" TFT | Compro DVB-T200

    "Dell? You get better tech support with a cheese sandwich"

  9. #9
    Senior Member
    Join Date
    Jan 2005
    Location
    Manchester
    Posts
    2,900
    Thanks
    67
    Thanked
    182 times in 136 posts
    • Butcher's system
      • Motherboard:
      • MSI Z97 Gaming 3
      • CPU:
      • i7-4790K
      • Memory:
      • 8 GB Corsair 1866 MHz
      • Storage:
      • 120GB SSD, 240GB SSD, 2TB HDD
      • Graphics card(s):
      • MSI GTX 970
      • PSU:
      • Antec 650W
      • Case:
      • Big Black Cube!
      • Operating System:
      • Windows 7
    It shorts the relay during the pulse, which means the current just gets turned into heat in the relay coil.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. A system building journal
    By kalniel in forum PC Hardware and Components
    Replies: 12
    Last Post: 27-11-2005, 08:44 PM
  2. Catalyst 5.3 Available Now
    By Steve in forum Graphics Cards
    Replies: 16
    Last Post: 15-03-2005, 12:46 PM
  3. graphics card for £250
    By bambie in forum Graphics Cards
    Replies: 51
    Last Post: 25-12-2004, 01:04 AM
  4. Aluminum Case vs Metal Case
    By Planetside in forum PC Hardware and Components
    Replies: 18
    Last Post: 23-10-2003, 08:23 PM
  5. Case Lights In A Car
    By wilsonian in forum Automotive
    Replies: 12
    Last Post: 29-07-2003, 09:45 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •