LUX II - the Second External Pc Power Button

11K1378

Intro: LUX II - the Second External Pc Power Button

    born out of laziness (and now carelessness)...

    LUX II

    LUX II is used to externally control your computer's power state by acting as if it were your computer's power button - except it is on your desk!

    It is the second version of the popular LUX - with 43k views and 500+ likes it is one of my most popular instructables yet. As a user of the original LUX, I also felt that some changes needed to be made to the design to get it working nicely.

    Let's go!

    STEP 1: Gather the Materials!

    I will assume a lot in this instructable, mainly what tools you will need - this is because personal preference and availability influences it alot.

    The main materials you are going to need is a single strip of 30x12mm wood.

    Along with that you will need some small nails, an LED (and resistor), some USB extension leads and of course, a button!

    This means that the LUX II costs around ~ $10 AUD or $7 USD. (as of 2015)


    As for tools, all you really need is something to cut with, something to solder with, and something to nail with.

    Some other tools you might use are a drill and a belt sander.

    STEP 2: Assembly, Part 1 - Cutting the Pieces

    I had to split the Assembly part of this guide into multiple parts, simply because it makes it easier when following it.

    PART 1 - CUTTING THE PIECES

    This is the part where you guessed it, you cut the wood. In the images is a handy table that I used to label each of the parts and their respective sizes; this makes it a lot easier later on when figuring out what parts go where.

    It's simple really, read the table, cut the pieces and move onto the next step.

    STEP 3: Assembly, Part 2 - the Base

    I believe trying to explain how to assemble something is really hard without pictures, it's like trying to build something by listening to someone tell you how to do it - it just doesn't work. Most (or always) people want you to SHOW them how you did something.

    So that is why most of these 'assembly' style steps will be mostly pictures - now mind you that means the pictures have to be good. I have included scans of my original drawings alongside pictures from when I was actually building it. The diagrams are (somewhat) faded from the scanner however you get the general idea.

    So now, to assemble the base, see the pictures!

    A little guide to the drawn diagrams:

    • Numbers with inside squares represent the piece number (or ID) from the previous step's table (see how it's handy now?)
    • The big circled numbers are the ordering of the step (1,2,3... so forth)
    • Nail placing is included on the diagrams.

    STEP 4: Assembly, Part 3 - Sides

    This step is an easy one.

    You are just making the sides of the button that will hold the actual "button" piece of wood in. (this is made in the next step)

    Just follow the pictures above!

    STEP 5: Assembly, Part 4 - the Button

    An important note on this step, make sure to drill the hole in the exact middle of the bottom of the button.

    This hole needs to be the size of the push-button that is going to be put into it.

    STEP 6: Assembly, Part 5 - the Final Smash (or Assembly...)

    The final step of assembly is quite easy, simply:

    1. Get the piece you made in Part 1 & Part 2 and nail it in the center from the bottom.
    2. Gather the pushbutton you are using, and all of the wooden pieces, and then put the pushbutton onto the part you just made - now put the outer square ontop of the piece you just made and slot it through, now get the 'button' wood piece and push it down into the slot and align it so it is flush with the top. Mark where the outside wood sides are.
    3. Removed the pushbutton and the wooden 'button'
    4. Align the outer wood sides with the mark you just made and nail it in.

    Done!

    Now to soldering...

    STEP 7: Solder

    1. Get your USB extension lead and chop the female end off.
    2. Splice the inside wires - they should be red, black, white and green as per this diagram - if it isn't you have a non standard USB cable (you can figure it out it is just harder).
    3. Get your LED and pushbutton and solder some wires onto them so that they are long enough to poke out the back of the LUX II where the hole you drilled is.
    4. Solder these wires to their respective wire on the MALE end of the USB extension lead (remember the diagram) - be sure to use either some shrink-wrap or a small piece of tape.

    This wiring should be red -> LED+, black -> LED-, white -> pushbutton, green -> pushbutton

    DON'T FORGET THE RESISTOR FOR THE LED WIRE!

    Then make sure to secure the wires by hot gluing them.

    Now grab the other end of the USB lead, the one with the female plug.

    1. Get 2 female to female breadboard wires and cut them both in half to have 4 pins.
    2. Splice the wire end of the USB extension lead - the colors should be same as the diagram shown before.
    3. Solder a half female breadboard wire to each of the spliced wires from the USB lead.
    4. Heat shrink or sticky tape them (so they don't short)

    If you made the original LUX and are upgrading, you will need to replace the part that connects from USB to the header pins that go into your motherboard.anyone else, just ignore this...

    STEP 8: Assembly

    This is a super simple step - you first need to locate the part of your motherboard that has what is known as the front panel connector.

    Some images if you are confused: (note these pictures are not mine)

    Close up

    Close up 2

    Another view

    (hint, look for lots of double female header pins - also don't confuse these with the Audio and USB pins)

    After you have found that, then you need to locate two specific cables - one usually called "POWER SW" which is the power switch, and one (or 2 singles) that say "POWER LED" (also maybe '+' and '-') - this is the LED that goes to the front of your computer case.

    Once you have found those, grab the female plug we hacked and unplug the previous connectors and plug the new ones in. Test it by connecting the male plug from the LUX main body to the female USB plug.

    Tip - remember the wiring diagram we followed?

    If the button works but the LED doesn't, you probably have the polarity backwards, simply switch them around and you are all good to go.

    If the wire is too short to reach your desk, then simply grab some more USB extension leads - that's the whole reason we used them!

    Guess what? There is no programming used with the LUX II so you are DONE!

    8 Comments

    This is a genius invention. I got about half way through making the
    orignial LUX and realized this would work with my laptop. I'm going to
    start off by telling you that my computer setup consists with 2 monitors
    on my desk, a mouse and keyboard (seperate from the laptop's), and a
    laptop which is hidden inside of a desk. I am assuming you would see
    why I'd want an external power button or something like this, that's
    why I love this invention. It looks amazing and it serves the exact
    purpose it needs to. Now my question is will this work any different
    from the first one? I want to know if I could use it on my setup and
    how? I'm not the wisest in hardware but
    I do know a bit about
    software. So would I just follow the normal steps for this or would I
    have to have a different device that will send Wake on LAN signals?

    That is an nice idea I want to do this when I have the parts

    That looks really nice! I need to make one of these because It is annoying bending over!

    Would it be possible to make this with a couple modifications?

    1) Use a little bit of programming to make it not have to connect to computer pins

    2) Using that program, change the function of the button (hibernate, lock, activate screen saver, etc)

    Thanks for this awesome instructable!

    1) I don't believe it is possible to make a USB device 'turn on' the computer as such; I think you can do it but it can also be activated by the keyboard.

    2) You could change the function of that button, but the function can't be changed. i.e. the button will have 1 function at any given time: so to change the function you would need to turn on the computer and go into some settings or something.

    What is exactly the problem with connecting it to the pins on the motherboard?

    Nice one, and not too hard to make. You could check out Gravity Sketch + Sketchfab to make your sketches more interactive (example here).

    This is a really cool idea! I like the idea of an external power switch. I built my own computer a few months ago and I knew what those pins did, I just didn't think I'd ever do anything with them. Well, I have some ideas now!