The Girlfriend Nightlight

 by geosword
Featured
intro.JPG
I first came up with the idea for the Girlfriend Nightlight when my significant other
revealed that she was afraid of the dark and couldn't sleep without the television on. 
Being easily distracted, I can't sleep when the television is on.  After several disagreements, she proposed that we purchase some kind of a nightlight.  I inquired what kind of a nightlight she had in mind, to which she replied that it would be extremely cool if I could find a blue one.

 Find?  Possibly.  Invent?  Oh yes.  Several days later, I showed up with the prototype Girlfriend Nightlight, and she absolutely loved it.   It does an excellent job of permeating a room with just the right amount of atmospheric blue light, draws plenty of interest at parties, and ended all disagreements about sleeping with the television on. 

 My girlfriend also thereafter swore that I was some kind of genius.  The truth is that after selecting all of the electronics and materials, assembling the Girlfriend Nightlight is pretty straightforward.  I built the first one in a few nights' worth of spare time... and so can you.
 
Remove these adsRemove these ads by Signing Up

Step 1: A few things before getting started...

Let's begin by listing a few things you want to do before getting started.

 1.) I'll assume that you know how to solder, and that you have a basic understanding of electrical circuits as well as a basic understanding of electronic components.  You shouldn't need to thoroughly understand the physics going on inside a resistor or a capacitor or be able to recite the mathematical formulae that govern their use, but you should have a concept of what these things are and what they do.  If you're starting with electronics for the very first time, this is a great project for you to try to build, but may I suggest you begin by first reading Sparkfun Electronics' excellent “Beginning Embedded Electronics” tutorial at:
http://www.sparkfun.com/commerce/tutorial_info.php?tutorials_id=57

 2.) You'll want to make sure that you have a clean, well-lit space to spread out and build your nightlight. 

 3.) You'll need some basic tools - a pair of wire strippers, a pair of pliers, a small philips screwdriver, an electric drill, a simple multimeter, and a good soldering iron.  I've built this nightlight using a cheap nine-dollar hobbyist soldering iron as well as a spectacular variable-temperature soldering iron.  Trust me, it makes a massive difference.

 4.) While this project could very easily be built using one single spool of wire, I'd strongly recommend using two different colors of wire.  I used red wire for anything having a positive charge, and black wire for anything connected to ground.  It is massively helpful to be able to look at all of the wires in your circuitry and be able to tell at a glance which wires are ground and which wires are not.  Getting into this habit now will serve you well when you advance to more elaborate and complex electronics projects.


stackerjack says: Mar 13, 2010. 11:49 PM
Hi,
Connecting 2 holes together by means of solder may dramatically shorten the life of the components, as they will get extremely hot.
A wire link would be better, soldered in place at the same time as the original component. Apart from that, it looks good.
nmg196 in reply to stackerjackJun 26, 2012. 5:30 AM
Why would connecting them together using solder affect the compoent life? I can't see why they'd get any hotter either during the soldering process or afterwards and this is exactly how these protoboards are supposed to be used (there is no room for a wire link between adjacent holes - the wire would have to be only 2mm long).
dagenius in reply to stackerjackJun 19, 2010. 3:07 PM
Most components are actually very tolerant to heat. with most of them, you can apply the heat of a soldering iron for more than 10 seconds without doing any damage. That is the whole point of commercially available components--so they can hold up to abuse from less experienced people. Although if you are really that paranoid, then wires work too. Pre-fabricated PCBs are even better.
charger25 says: Feb 13, 2012. 9:27 AM
Nice led watch buy in Ukraine
felixh says: Mar 4, 2011. 1:38 PM
I have a question could one not use a potentiometer instead of a fixed resister where the 47 ohm is that way if you wanted it brighter for like a actual lamp or something like that?
geosword (author) in reply to felixhMar 8, 2011. 10:19 PM
You definitely can use a pot instead of the 47 ohm resistor to allow some variance in the brightness - in fact, that's how my first prototype worked originally. The problem that I found with that was when you cranked the pot up (thereby increasing the resistance and dimming the LEDs) the resistance became so great so fast that the LEDs would get dark very fast and eventually shut off. The effective range of brightness control was so narrow that I eventually decided it just wasn't worth it. You could definitely have greater success though with a different pot than I used - good luck!
tomx63 says: Nov 11, 2010. 11:27 AM
well done! impressive finished project and really great instructable. terrific pictures and thorough explanations.
wish i had a third arm to give you three thumbs up.
Murdoc222 says: Mar 12, 2010. 11:25 AM
this is a great instructable. I had a little idea on how to improve your design, at first glance i thought that the lights were spinning. And i think that if you could some how get the motor that spins a disk in a cd player and somehow attatch it to the build, it would make the light so much better.
Cheeseduck in reply to Murdoc222Apr 10, 2010. 12:47 PM
Um... I may be wrong, but wouldn't the light reflected off a spinning disc be almost identical to that of a stationary disc? In order to make the "disco" effects it would have to be made up of little mirrors all pointing in slightly different directions.
geosword (author) in reply to Murdoc222Mar 22, 2010. 9:52 AM
 You know what?  After thinking about it, I've decided that's a pretty cool idea - if there were an analog control of the motor speed, you could adjust the nightlight's rate of spin so you could go from effective nightlight to disco ball with a flick of the wrist.  :)
karnold70 in reply to geoswordApr 15, 2010. 6:10 AM
And also, if you used different sized and angled mirrors, you would simulate the 'flicker' of the TV. I have a similar gripe with my girlfirend, and this is going to get made as soon as I get the components. Awesome Instructible.
DIY-Guy in reply to karnold70Oct 21, 2010. 12:35 AM
A flat spinning CD would reflect almost as perfectly as a flat non-spinning CD. But a distorted disc would introduce movement in the reflection.

A few methods borrowed from 1980's DIY laser light show projects come to mind.
1. Use the kindergarten "put a record in the oven and watch it melt a little bit" method.
2. Clear model cement applied to a CD in strips or dot patterns.
3. Heat gun.
4. Reflective foil tape bits here and there.
5. Find the old gold coated write-once CDs and pull some of the coating off with tape to make patterns.

Please kindly ignore the fact that CDs were not available in the early 1980's and these ideas are updated for the current day. :)
Zycro in reply to geoswordApr 5, 2010. 7:34 PM
Cool light! I also thought it would spin and was very interested to see how the refresh rate of the lights would compare to an LED TV!
Articrox says: Mar 19, 2010. 12:25 PM
 other than the stores you mentioned, is there any other store or page that i can get the protoboards?? because from the ones you mentioned the only one that has it is sparkfun and the shipping is 28.95 when the receipt is 10.65 
geosword (author) in reply to ArticroxMar 22, 2010. 9:50 AM
 I'm really not too sure of any other stores where you might find them...  I purchased the protoboards from Sparkfun, but I've never paid anything like that in shipping costs.  
kill-a-watt says: Feb 1, 2010. 5:37 AM
I'm glad it's working for you, but even one fully lit blue LED will mess with my melatonin.  I've got three layers of tape over the one on my PC

Mr. Smart Kid in reply to kill-a-wattFeb 6, 2010. 3:11 PM

Let's see, i got a moderlety bright blue led on my laptop, a brighter blue led on my dvd player / sound system combo, one sorta dim neon glow lamp on my 10 gallon fish tank's heater (tank  has lot of guppys & 3 apple snails), another dim neon glow lamp on my 30 gallon tank 's heater (tank has more guppies & one, 7 inch long feeder goldfish named rudof  (1.5 years old), and a realy brite neon glow lamp on the heater for 1 gallon "kritter Keeper" tank  (as my guppy fry tank)


and to top is off,  i listen to an air pump, an air stone, a air powered box filter, and 2 hang on the back filters on my 30 gallon trickleing water from about 3 to 7 inches to the waters surface, and since i'm used to the noise, I have a hard time sleeping without it.

kill-a-watt in reply to Mr. Smart KidMar 7, 2010. 7:05 AM
Wait a few decades, Mr. Smart Kid.  Sufficient to say if I don't sleep well, I don't feel well, and my days of staying up to 4 AM, putting aluminium foil over my windows, and sleeping until noon are over.

Although the tank sounds might be nice. I use cat /dev/urandom > /dev/dsp & for white noise.
Mr. Smart Kid in reply to Mr. Smart KidFeb 6, 2010. 3:19 PM
P.S. great Job!!!
mikeeve in reply to kill-a-wattFeb 5, 2010. 11:51 PM
Really good workmanship and writing. But, <killjoy alert>, there is some evidence suggesting night lights are not good for you, even increase risk of breast cancer. If you must have a night light, red is best, blue the worst!

Here's a link www.independent.co.uk/life-style/health-and-families/health-news/avoid-breast-cancer-sleep-in-the-dark-404522.html

Nonetheless, hope you keep the projects coming!
Jeffrey G C says: Feb 19, 2010. 4:09 PM
this may sound like a dumb question, and i probly bought the wrong thing, but does the 10 mfd capacitor have to be polarized?
geosword (author) in reply to Jeffrey G CFeb 22, 2010. 9:44 AM
 That's not a dumb question!  As a rule of thumb, I typically only work with polarized capacitors, but in this case, that little 10uF capacitor doesn't need to be.  The capacitance will still be the same and produce the same effect, and that's all that really matters.
elladan99 says: Feb 21, 2010. 11:12 AM
great instructable! too bad there aren't any faceboxes/guideboxes on the pics though. i'm sure you got great love when she got this. i'm bookmarking this one.:)
geosword (author) in reply to elladan99Feb 22, 2010. 9:38 AM
 Thank you!!!  Yeah, she absolutely loved it.  I'm glad that you like it too!
yeehacmh says: Feb 13, 2010. 5:05 PM
I've always wanted to invent a light like this that emits random colors and brightness intensities. It would use very little power. When I would leave the house at night this light would fill the room with faux TV lighting and make people think that someone is home. It would be a cheap deterrent to burglars.
yeehacmh in reply to yeehacmhFeb 20, 2010. 8:46 PM
Hey, I found it.. Just stumbled upon it here..
http://www.stumbleupon.com/su/1cGCmi/www.thinkgeek.com/gadgets/
ProfessorJWN says: Feb 4, 2010. 10:17 AM
This is one of the best instructables I have seen.

Great job!

BTW - this could also be used to make a pretty realistic looking Iron Man ARC reactor prop., or any other light for under counter cabinets, or even a bike light (if you lose the big cap, or make it switchable.

VERY VERY nice job!
geosword (author) in reply to ProfessorJWNFeb 4, 2010. 7:04 PM
 Thank you so very much!!!  Your kind words - and the kind words of everyone on here - mean so much to me.  I am most grateful indeed.  :)  After reading your comment, I showed the photos to a few other folks who all immediately said the same thing - that it looks like the reactor from Iron Man!  Funny that I never thought of that before.  
Advocat in reply to geoswordFeb 16, 2010. 3:05 PM
Thats the first thing I thought of too. Tell me, have she tried sticking it to your chest yet, and been acting kinda weird, and asking you to come back down to earth..? Be careful when you says shes kicking out the trash when there are other women around, especially blonde reporters who ask if you lose sleep at night. lol

You know, that was one of the most straightforward structables I have read in a long time, simple, well thought out and also well documented. 5 stars.
Trelligan says: Feb 7, 2010. 12:25 AM
   Triple threat:
 1) Gives clear explanation (not just what and how, but also why) in instructable, with lots of clear pictures.
 2) Takes constructive criticism and updates/corrects article.
 3) Gives good answers in comments.

   4 stars and subscribed.
   Keep writing!
ms_jane says: Feb 4, 2010. 1:10 PM
I'm not sure I believe in the whole "blue light causes lack of sleep" study. All facts are subject to debate, especially when you consider that no scientific study can be entirely controlled. I mean, how do we know that the scientists who did the blue study weren't extremely good-looking, causing their amorous subjects to have sleepless nights?

Anyway, what a great instructable! What I'm most impressed by is your ability to creatively problem solve a relationship issue. Most people would have responded with anger and "Shaddup, woman. Whatchu need that dang television fer, anyway!" Five stars.
geosword (author) in reply to ms_janeFeb 6, 2010. 8:49 PM
 Thank you so very, very much!!!  I so much appreciate your kind words and your sense of humor.  :)  You rock.
damaltor says: Feb 5, 2010. 1:12 AM
a 7805 Voltage Regulator will not bring you 3.3V, but 5V.

are you sure that there should be a 7805 inserted here?
geosword (author) in reply to damaltorFeb 5, 2010. 7:39 AM
 That's correct.  The LEDs used in this project have a forward drop of 3.2 - 3.4 volts.  Using a 5V regulator provides ample voltage to power the LEDs while still having some wiggle room.  The resistors handle dropping the remaining voltage to the correct level.
damaltor in reply to geoswordFeb 5, 2010. 10:18 AM
Ok, that sounds good. but, at the output of the regulator, there will be 5V, no matter what leds are connected.
spasysheep in reply to damaltorFeb 5, 2010. 11:34 AM
And? as he said, the LEDs have a voltage drop of 3.2-3.4V, so he added the 27 Ohm resistors to drop the extra 1.6-1.8V. Then the 47Ohm resistor to drop a little bit more, so the LEDs weren't at full brightness. Just because the 7805 will always output 5V doesn't mean that there will always be 5V across anything connected to it.
daifeichu in reply to spasysheepFeb 5, 2010. 7:17 PM
damaltor is correct. 5V will be measured at the o/p of the regulator, not 3.3V. The 47 ohm resistor is going to drop it to about 3.3V. Not a big deal but someone who is just starting out might get confused when they don't measure 3.3V.

geosword, great project. I was suppose to get a night light for my daughter this weekend but I think I'm just going to make something like you did. Good job.
damaltor in reply to spasysheepFeb 5, 2010. 12:17 PM
Yeah. but it does mean that measuring directly at the output of the regulator (which is described in the text) will give a 5V reading.
geosword (author) in reply to damaltorFeb 6, 2010. 9:04 PM
::insert face palm moment::  You guys are absolutely right.  Forgive me for writing the original text at three in the morning!  I knew what I meant to write, but for whatever reason, the wrong number just came out of my fingers.  The actual design, as correctly pictured, calls for a 5V regulator to produce a 5V output.  And as mentioned by spasysheep, the resistors will drop the additional voltage to provide the LEDs a consistent 3.2-3.4 volts.  Measuring the output of the regulator should demonstrate a consistent five volt reading.  I have corrected the original text to reflect this.  Thank you for catching that!!!!
Goodhart says: Feb 4, 2010. 12:43 PM
Now all you need is to have the LEDs flash in a circular pattern and you could wipe minds and reprogram them too....LOL

Star Trek episode:  Dagger of the Mind
 
piddle01 in reply to GoodhartFeb 5, 2010. 1:00 PM
Hahaha Beam me up Scotty.
It's Ironic that those words are actually never said in any movie, show, etc.
:]
JBZG says: Feb 5, 2010. 10:08 AM
Cool. You could make the light more diffuse by using some coarse/medium /fine wet and dry sand paper to sand the clear plastic case. But all in a cool little project.
StrangeRover says: Feb 1, 2010. 9:33 AM
(removed by author or community request)
Chromatica in reply to StrangeRoverFeb 2, 2010. 5:13 PM
Bow-Chika-Wow
Rikasu in reply to ChromaticaFeb 2, 2010. 8:25 PM
 Brown Chicken-Brown Cow
Chromatica in reply to RikasuFeb 3, 2010. 1:49 PM
What?
chrispaccord in reply to ChromaticaFeb 4, 2010. 7:48 AM
 It's basically the same thing you said, but more of a "joke", saying/singing "brown chicken-brown cow" to the tune of the cheesy 70's "adult themed movie" music...
MaXoR in reply to chrispaccordFeb 4, 2010. 9:27 AM
It stems from:

What did the brown chicken say to the attractive brown cow.....



.... Brown chicken brown cow ;P (Bow chicka bow wow)
MaXoR in reply to MaXoRFeb 4, 2010. 8:42 PM
BTW: Nice instructable, I am thinking of building something similar with AA's, and a 3W Prolite LED. It's also that kicken blue color!
chrispaccord in reply to MaXoRFeb 4, 2010. 7:07 PM
 I heard it as "what are the two dirtiest farm animals?"...  lol, how'd we get so sidetracked, here?
MaXoR in reply to chrispaccordFeb 4, 2010. 8:40 PM
Maybe it has traversed the world in many forms, either way it's funny, and that is all...lol.


I heard it on my local radio station when a five year old girl called in during a local hour for youngsters. She said it the way I did, and it was so cute!
Chromatica in reply to MaXoRFeb 4, 2010. 2:11 PM
Oh.
Rikasu in reply to ChromaticaFeb 4, 2010. 6:18 PM
 See?
lynnewu says: Feb 4, 2010. 11:14 AM
Not only a nifty build, but a very sweet thing to do.
geosword (author) in reply to lynnewuFeb 4, 2010. 7:02 PM
 Thank you so much!  My girlfriend totally loved it when I gave it to her.  It's so awesome to see how many people on here appreciate it as well!
frollard says: Feb 3, 2010. 6:24 AM
Excellent build, I'm curious;

These are just design considerations -
1) would it make more sense to use a 12 volt regulator (and suitable supply), then run series leds to reduce part count/complexity?
2) Would it make more sense to do all the soldering on the opposite side of the board, to reduce liklihood of component damage?

Again, fantastic build - very cool looking result; I just can't help feeling its more complex than it needs to be.
geosword (author) in reply to frollardFeb 3, 2010. 2:00 PM
 Thank you so much for your kind words!!!  I very much appreciate hearing from you and everyone one here.  :)

As to your questions -

1.)  I generally tend to stray away from wiring LEDs in series.  The blue LEDs in this project have a voltage drop of 3.3 volts, so you'd only be able to string together three in series with a 12 volt power supply.  One design possibility that I was playing with was to tie together the positive terminals of three groups of four LEDs per group and feed them all simultaneously from one resistor - but that would result in an awfully large amount of current pumping through one resistor, requiring a pretty hefty resistor indeed for the circuit.  Granted, in such a design, you'd only need three of them in that case.  Still, I tend to stick to a one resistor per one LED design philosophy in all of my electronic designs.  

2.)  You absolutely could do all of the soldering on the reverse side of the board if you wanted.  I figured the photos would be easier to follow if I showed the soldering on the "visible" side of the board.  As for component damage...  resistors and LEDs tend to be pretty hardy, but as a general rule of thumb, whether you solder on the top or bottom of the board, the most important thing is you want to work quickly - electronic components can sometimes have a short tolerance for how long they can be exposed to the heat of the soldering iron before they overheat and fail.
frollard in reply to geoswordFeb 3, 2010. 2:39 PM
Well, tis a good thing you went without going the parallel leds on one resistor - it can lead to uneven brightness from manufacturing differences - which leads to a phenomenon called thermal runaway - the brighter leds gets hotter, and conducts slightly more current, until it heats up enough that its internal resistance drops to very low - then that one led takes all the current from the resistor (4 leds worth) and burns out - which if it burns out open circuit then the other 3 get 33% more current than it needs...
As for running that much current - EASILY doable.  3.3v  at 80ma = .264 watts.  Half watt resistors would easily work.  I'd sneak a quarter watt in there if I thought it had sufficient cooling :D

Another thought:  Wiring 3 in series means you waste 2.1 volts...agreed, not awesome - but if you're burning off a few volts with that heavy resistor, you already don't want to run them at full brightness...then running 4 in series would be easily a safe bet.

To go to the trouble of using a regulator after already using a semi-rated wall wart (they tend to be a bit inaccurate) then why not use a variable regulator and a pot for brightness control while you're at it?  Simple led circuits are quite robust and tolerant of fluctuating input, to a degree...uuber regulation and smoothing capacitors are surely overkill <winky face>

#2 - agreed; good to visualize!  That does make a difference when trying to understand the pictures.

I'm really glad what I said came across as constructive crits.  Really I'm not picking - just want to contribute to an awesome project!
MaXoR in reply to frollardFeb 4, 2010. 9:43 AM
I just want to throw out there that in my experience, LED's RARELY burn out in the "On" position allowing current through them. I have built 3W LED grown panels for almost a year now, I like to think I have some practical knowledge.

I have extensive experience with 3W LED's, however they are different, I know. The slightly less experience with the little 20mA guys also showed me that the "On" burn out situation, is unlikely at best.

As for voltage fluctuation, well I solved that with running them slightly higher then rated, and made sure it was mounted to a heat sink capable of dissipating the "Runaway" LED's (If they were not mounted on a heat sink, they would have thermal runaway in under 10 seconds, likely failing in under 2 minutes)

Interesting Note: A 3W LED can run at over 300 volts if you limit the current correctly! (Self tested, ran for over 15 hours, then I turned it off. It was mounted to a small Pentium 3 CPU heat sink) (Didn't even get hot enough to get  "HOT", it was only annoyingly warm)

Well hope this has made at least one person go "Ahaaaa!" Good day everyone!
frollard in reply to MaXoRFeb 4, 2010. 6:20 PM
Agreed on a lot of points.  Diodes are destroyed by current - proper current control is vital :D  It's much harder to control runaway with 5mm leds since they aren't inherently heatsinked. 


Good info to add!
teamcoltra in reply to MaXoRFeb 4, 2010. 1:57 PM
 Ahaaaa!
Boost says: Feb 1, 2010. 12:23 PM
Personally I would have tried some other color, like orange and hoped that she'd accept it. You see, bright scientists in white lab coats have discovered that blue light make the brain go -"Hey, it's morning! Let's start producing wakey-wakey-chemicals!". They have started putting blue leds into cars that go on at night and it have known to give more alertness to the night drivers.

If that is true then red/orange should signal "My-oh-my what a day. Let's go to sleep".

Very nice instructable, though.
Ender Wiggin in reply to BoostFeb 1, 2010. 3:03 PM
 I don't know if I am right but I thought I read somewhere that red and orange creates anxiety and stress, of course that might be only when the whole room is painted that color........ IT'S RESEARCH TIME!
AdamKnapp in reply to Ender WigginFeb 4, 2010. 12:51 PM
I thought that reds and orange were supposed to promote hunger  - hence the decor of Burger King & McDonald's, etc..
PYROMANIA122 in reply to Ender WigginFeb 2, 2010. 8:11 AM
My whole room is painted red and i feel no anxiety or stress and have had this room for 3 years now and i spend ther majority of my time in it.
monkeyshoe10 in reply to PYROMANIA122Feb 4, 2010. 2:43 PM
Then again you like fire =)
PYROMANIA122 in reply to monkeyshoe10Feb 4, 2010. 4:03 PM
True but not to the point that it calms me to be around it. I am very comfortable around it but am still cautious cause i know how much burns hurt
monkeyshoe10 in reply to PYROMANIA122Feb 4, 2010. 5:22 PM
That's good, I hate getting burns. Btw...what man doesn't like to burn random stuff he finds =D
PYROMANIA122 in reply to monkeyshoe10Feb 4, 2010. 6:30 PM
A Pyrophobic person. A.K.A. A complete wuss
PYROMANIA122 in reply to PYROMANIA122Feb 4, 2010. 4:05 PM

FIRE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! oops that happens sometimes

lampajoo says: Feb 4, 2010. 11:18 AM
from the title I thought this was a night light that could replace a girlfriend or help you get one...  oh well...
revelae says: Feb 1, 2010. 7:21 AM
nice project, one question though: why did you need the 5 volt regulator if you had a 9 volt power supply already?
geosword (author) in reply to revelaeFeb 1, 2010. 9:22 AM
 Thank you!  The 5V regulator is used to "step down" the voltage and to smooth out the input voltage as well.  Some power supplies produce a pretty jagged output that has a lot of ripple to it, despite being listed as a DC power supply.  Also, as a general rule of thumb, DC power supplies are wickedly inaccurate when it comes to their output - a 9V power supply will probably produce something like 11V from time to time when measured directly with a voltmeter.  Using the regulator guarantees that the voltage going into your circuit is absolutely, positively, 100% certainly what you think it is.  When your circuit is just LEDs like this one, this can prevent damaging the LEDs, but in a more complex circuit, this is absolutely essential.  Some ICs and microcontrollers can be very picky about their input voltages...  using a regulator is critical in such circumstances.  Using one here will help to prevent damage to the LEDs, but it's also about setting good precedent and building good habits with making circuits.
revelae in reply to geoswordFeb 4, 2010. 9:53 AM
ahh, makes sense now, thanks.
BusterFoyt says: Feb 4, 2010. 7:59 AM
 Nice invention, but do you really want a girlfriend who is afraid of the dark?  Imagine what all that sleeping with the television on has done to her brain!  Does she tend to sound like Billy Mays when she speaks?
Thav says: Feb 2, 2010. 10:35 AM
Usually it's good practice to put a diode from output to input. Linear regulators don't handle accidental reverse voltage well.

Also, you could make it adjustable with a resistor and potentiometer to that bottom feedback pin.
geosword (author) in reply to ThavFeb 3, 2010. 9:36 AM
Both statements absolutely true.  :)  The original nightlight that I built actually did use a diode for reverse voltage protection.  When I was assembling the second  nightlight for the photos, I felt that being as the power supply leads were soldered directly to the board AND that they were color-coded, that accidentally connecting the wrong power supply or hooking it up backwards was very unlikely, so I left the diode out of the circuit.  As I was finishing writing this Instructable, I started thinking that this project is in a large way about developing good habits  in beginners, and accordingly, that diode really, REALLY ought to have been left in the design, even if in this case, it's a tad superfluous, just to establish good habits and proper circuit design theory.  It was a definite "face-palm" moment.

During the original design, I started playing with a potentiometer to adjust the output voltage and make the light adjustable.  It worked pretty well - but what I ultimately didn't like was the idea that in the finished product, you'd have an on/off switch and a brightness dial on the top of the CD case.  It just felt a little cluttered to me.  That really boils down to personal preference though...  and I'll be the first to admit that my visual design taste isn't the most exciting.  
chrispaccord in reply to geoswordFeb 4, 2010. 7:56 AM
 I think it's a great idea to show a bit of overkill to establish good habits for beginners.  I started soldering things together and learning by discovery, which made for some pretty bad habits that were hard to reprogram in my head.  This instructable shows not only the "proper"(if excessive) way to assemble, but it also has great information on what each part does and why it's done.

I often have trouble following along on these types of instructables without having parts laying around that I can piece together as I read, but you've done a great job, and putting the circuit diagram after the initial assembly is a great idea for beginners, as they can see what they've made and translate it back to what's on paper.  Again, Great job!
Entropy512 says: Feb 3, 2010. 1:41 PM
While the filter capacitor on the regulator output would be critical if you had any microcontrollers hanging off of the supply, any other voltage-sensitive circuitry, or any sort of load that changed frequently, in your case (constant not-very-voltage-sensitive load) I'd be absolutely shocked if there were enough voltage ripple on the output of that regulator to produce even the slightest hint of noticeable flicker out of the LEDs.

Human vision is logarithmic, so even a 10% brightness variation isn't going to appear as much - even without that filter cap I'm guessing there is far less ripple on the output of that regulator.

Since you dimmed the LEDs significantly from maximum anyway, a 2 series N parallel configuration of LEDs run straight off of the 9 volt power supply with a filter capacitor (if the PS didn't have one already) would probably have had more than sufficient consistency in terms of brightness.

Overall you used really good design practices, but sometimes, you have to consider whether your design is overkill given the requirements.
geosword (author) in reply to Entropy512Feb 3, 2010. 7:38 PM
The wall-wart style power supply that I used from Sparkfun Electronics definitely does produce a reasonably smooth 9V output.  When I'm not making nightlights, I do a lot of work with ARM microcontrollers and a fair amount of PICs as well...  lots of USB peripherals.  Whenever I lay out a power supply circuit, the regulator with filter capacitors is sort of my standard go-to.  Much like a trusted screwdriver or pair of pliers, when I sat down and drew the nightlight circuit on a sheet of paper, I reached for that tried-and-true design, even though I'll be the first person to admit that for this project in particular, it's a bit over-engineered.  As I've said elsewhere, I felt it important to establish good habits for beginners.  Thanks for the input!
ambient says: Feb 2, 2010. 7:32 PM
you are the man, bro.
This instructable is amazing!
wanna help me circuit-bend an old Casio at our first Vinotechnica meeting?
-Bri

mdurham says: Feb 1, 2010. 2:43 PM
Blue Canary in the outlet by the lightswitch who watches over you--
Make a little birdhouse in your soul...
lemonie says: Feb 1, 2010. 1:15 PM
Very well-presented.
While I wouldn't think blue to be the best colour for a night light, it is TV-like. This could only be improved by adding a flicker I guess(?)

L
hishealer says: Feb 1, 2010. 5:53 AM
I did this the lazy way with a blue lava lamp, but I wish I had seen this earlier!  Then again, the lamp is a good relaxer when I can't sleep...
pirateaboard says: Feb 1, 2010. 3:24 AM
Great idea.  For those that are a bit overwhelmed by the time/soldering involved- you can buy prewired 12V LEDs on ebay for incredibly cheap.  You could have the project finished in 15 minutes.
bongodrummer says: Feb 1, 2010. 1:34 AM
TV on at night!! I say... You did a good job putting a stop to the madness. Lovely..
trialex says: Feb 1, 2010. 12:13 AM
Excellent re-use of materials.
Doctor What says: Jan 31, 2010. 10:57 PM
 How sweet and wonderful!  It is just a cd case, but it looks wonderful!  Very nice and simple design.
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!