DIY weblog Make contributor Mahesh Venkitachalam figured out that if he wired a Mosfet BS170 transistor and a magnetic alarm switch to strips of LED lighting he had a basic lighting system where the LEDs came on whenever the drawer door was opened.