iImage Information

The road to hacker prowess is paved in stillborn experiments and bloody pieces of failed projects. From these failures we learn patience, determination, how to cuss, and of course, what not to do. The following hour of programming details once such disaster;
How To Hack Together An Adjustable, Dark Activated, AC Outlet Powered, Cold Cathode Tube, Night Light
Step 1Gather Parts and Accessories
iImage Information

See that
Modware - Windowed Side Panel and Mod Kit over in the corner? We bought that a few years ago in the heyday of the PC case modding fad and never used it. Time to wipe the dust off. Take out the 12" Neon Cold Cathode Light Kit and the Case Cutting Tool, throw the rest away. The cathode kit includes the light tube itself and a voltage converter (black box thingy). We won't be using the cutting tool in this project but you never know when you'll need some crappy tin snips.
Rummage through your junk box/drawer/closet/basement and find a suitable AC adapter. We'll go into how to pick the right adapter a little later.
Also in said junk, find a transistor, a potentiometer, resistors, and a photoresistor. Don't get too caught up in the values, I have a feeling we'll be replacing these with Radio Shack parts soon anyway.
yes I'm juvenile, sue me
This reminds me of building my own ball mill- it went through four radically different designs, smoked two wall transformers and a piddly electric motor. The process of failing teaches you what works, however, which is always an invaluable lesson.
Also yellow and red make 7.
You can use the 5v as a ground from 12v. http://www.cpemma.co.uk/7volt.html