3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

How To (Not) Hack A Night Light

How To (Not) Hack A Night Light
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

 
Remove these adsRemove these ads by Signing Up
 

Step 1Gather Parts and Accessories

Gather Parts and Accessories
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.
« Previous StepDownload PDFView All StepsNext Step »
8 comments
Jul 24, 2011. 8:33 PMjetflyer13 says:
i do believe the "black box thingy" is called a ballast lol
Jul 13, 2010. 12:29 PMangelaice12 says:
if ur trying not to hack a night light then just let it be ><
Feb 20, 2009. 6:21 AMPKM says:
I haven't laughed out loud at an Instructable in a while.. this was classic. Step 4 especially :)
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.
Feb 20, 2009. 5:41 AMgmjhowe says:
Well, at least you gained experience, and no doubt you enjoyed making it!
Feb 20, 2009. 1:49 AMRob K says:
Cheaper to go with the night light.

Also yellow and red make 7.

You can use the 5v as a ground from 12v. http://www.cpemma.co.uk/7volt.html

Feb 19, 2009. 9:17 PMnixiebunny says:
That's a fine project, I wouldn't call it a failure. I'd recommend a few small changes to deal with the instability. It's better to use a real voltage comparator, the LM393, when you need to compare voltages. Op-amps aren't designed to run open-loop like that. Add a >1 megohm resistor from the + input to the output for positive feedback to achieve hysteresis. Put a bypass capacitor across its supply leads to keep it stable while switching. Also, having to spend money on this project just means that you haven't stocked your workshop with enough thousands of dollars of inventory. My shop holds everything needed to build this, but I've been collecting junk for 35 years.
Feb 19, 2009. 2:42 PMcyrozap says:
Wow. $46.95. I'm honored to learn from your mistake. I'm just glad it wasn't me. That's pretty cool, though.

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
0
Followers
1
Author:Duff 333