Tutorials/Night lights (Lights activated at night)

With the new Daylight Detector, it is possible to make a system of lights which turn on only at night (Snapshot 13w01a or higher needed to build)

Resources required
-The raw materials of which are: - 4 Redstone - 1 Glowstone - Per block. (See Redstone lamp) -The raw materials of which are: - 3 glass - 3 wood slabs - 3 Nether Quartz
 * Around 1/2 stack of Redstone (Depends on size)
 * 3 redstone lamps (Depends on size again)
 * Material of housing (Stone, wood, whatever your house is made of.)
 * 1 Daylight sensor

Making the circuit

 * Place the detector in an appropriate place, near your house.
 * Place your lamps in an outer wall (They must be visible from inside!)
 * Connect the detector to a NOT Gate (If you're confused, check the picture), for best effect have a distance of 5-6 blocks (Again, if you don't understand, check the picture).
 * Connect the NOT gate to the lamps.


 * *It's done!*

Uses
This circuit can be used for many things, including
 * Turn on lights inside/outside, for decoration
 * Turn on in-ground "street lights" to prevent mobs from spawning in a certain area
 * Use lights to prevent spawning, and combine with other defenses to keep mobs out of your house (For example, you could make a drawbridge that retracts at night, or something to automatically kill mobs outside your door in the morning, hooked up to the same circuit that will reduce mob spawning in the first place).
 * Use an "AND" gate to create a circuit that will only work at day, or one that will only work at night

Gallery
Please feel free to expand this!