I'm building a mint-tin-based nightlight that sticks to the wall and activates off of a PIR sensor. When mounted, the bottom of the tin would be flat against the wall, and the PIR dome protrudes from a hole in the lid (the lid stays closed except to change the batteries). When activated it will only turn on one red LED, but I'd like to be able to adjust where the LED is pointed; having it point straight out perpendicular to the lid or straight down parallel to the wall won't work. It needs to spotlight something.
Ok, I'll just come out with it: this is to highlight the toilet bowl at night so my young kids won't miss the target, and I'm tired of the mess. A commercial nightlight would work but a homemade job has an extra cool robot factor and they'll actually get up at night to see it work.
First thought was to hang the LED outside of the box and bend the leads - not desirable because it can get bumped or played with. Second thought was to mount it flush with the lid and open the lid so the light angles downward - then all of the wires are exposed.