I'm not sure how to do this so I'll put this out there to anyone with more electrical knowledge than I have. I want to wire an led up inside my DVD drive so that it only comes on when the tray is open. There is a switch that allows the drive to know whether the tray is open or not however the switch only puts out 3.25V. I have resistors for 12V that make the LEDs bright enough but don't know how to wire it up so that the switch will turn it on and off.
At this point I'm probably going to have to get a roller switch and mount it at the back so that the tray closes the switch.