Slashdot Mirror


DIY LED-Illuminated Sleep Chamber

Bulldozer2003 writes "'Finally something both nerdy AND sexy engineers can do.' It sounds like an oxymoron but this guy took a cue from The Vos Pad and decked out his own dorm room bed with Light Emitting Diodes. They're even fully adjustable 'allowing me to create every color of the rainbow.' Total cost, according to him in an email: 'Around $25, the LEDs cost me about $0.25 a piece in bulk, and the potentiometers cost about $6 a piece from digikey. I got the LM317 voltage regulators as a free sample from Texas Instruments. Lots of companies will ship you free samples, its a good deal for college students.'"

10 of 333 comments (clear)

  1. Reminds me... by flatface · · Score: 5, Informative

    Reminds me a lot of this guy's projects. He made some damn cool things out of LEDs there, complete with howtos.

  2. Re:"sexy engineer" (with working link) by JaJ_D · · Score: 4, Informative

    the link wasn't working so I'll try again!

    Pot signing out

    Jaj

  3. Re:Electric bill? by spdt · · Score: 5, Informative

    Most LEDs operate at a relatively low current (~20mA) and voltage (~3V). This amounts to maybe .06 Watts (60mW) per LED. It looks like he has 5 panels of 4 LEDs and a 6-LED reading lamp, from the pictures; this makes 26 LEDs, consuming around 1.5 Watts in total. This is 1/40th of the power consumption of a single 60-Watt light bulb. If we say that electricity costs $.06/kWh ("US Federal Average"), then it would cost approximately $.09 to run these lights for 1000 hours.

    The kinds of LEDs will probably have different operating characteristics than those I have in my head (like those UV LEDs, which are higher frequency -and energy- than I'm used to).

    Whatever it is, it will not exceed the power output of the wall wart he's using.

  4. Re:Samples by Lisandro · · Score: 3, Informative

    Actually, most semiconductor companies are very liberal when it comes to sampling. TI, for once, ships three samples of almost anything on their catalog, to anywhere over the world, as long as you fill some personal info and state what are you intending to do with the devices (or atleast they used to). They once shipped me a very high quality opamp IC that i turned into a beautiful headphone amp. I can't recall the price, but it's surely wasn't cheap, if not unavaiable.
    Maxim does the same, and i got from them a couple of LCD display drivers that would've costed me a sum here in South America.

    Of course, they don't want the service to be abused. But for them it's a neat way to do advertising amongst designers (i sure regard both companies better after that) for cheap. Anwyay, 90% has no use for electronic parts anyway, it's not like it's free T-shirts.

  5. Re:Haiku by DJCF · · Score: 4, Informative
    Ok, no way is that a haiku.


    1. A Japanese lyric verse form having three unrhymed lines of five, seven, and five syllables, traditionally invoking an aspect of nature or the seasons.

    2. A poem written in this form.
  6. Re:Electric bill? by Hognoxious · · Score: 3, Informative
    The big problem is, they throw a narrow beam of light.
    There's these things called lenses that can affect the width of a beam, and some other things called diffusers that you can use to, well, diffuse the light. Oh, and there's reflectors too.
    --
    Confucius say, "Find worm in apple - bad. Find half a worm - worse."
  7. Not bad but... by Len+Budney · · Score: 5, Informative

    Interesting! This guy's project basically connects a dimmer switch each to red, green and blue LED strings. The colors sorta mix, sorta producing colored light, but as you can see in his pictures there are major fringing effects (multicolored bands of light). The howto on this page, suggested by another poster, gives a much cleaner result.

    The link above uses a microcontroller and pulse-width modulation to vary each color's intensity, producing a much more even color effect.

    Now, of course, I want to redo the apartment with them. Eternal lighting with no more power consumption than a couple of flashlights...yum...

    1. Re:Not bad but... by Bishop · · Score: 3, Informative

      For LED control pulse width modulation is the proper way to do it. A dimmer switch is a poor hack, as LEDs are really only on or off. There is very little in between.

      You can also make a quick adjustable PWM controller with a 555, a potentiometer, and a comparator like an LM111. (and a few caps, and other resistors) Hook up a 555 in ocsilator mode. Aim for a frequency faster then 120Hz. I would start with 1kHz and see what it looked like. That might be too fast for the LEDs to properly turn off. Connect one input of the comparator to the RC circuit on the 555. Connect the other imput to the sweeper pin on the pot. Connect the pot between Vcc and ground. Adjusting the pot will change the duty cycle of the comparator output from 0% to 100%. You could drive the leds directly from the comparator, but it is better to use a bjt or fet.

      Obviously there is some fine tunning that you can do, but that is the general idea.

      This circuit is nice because you only need one 555 which can drive many comparators. You only need one pot and comparator per colour of led. The microcontroller is nice because you can preprogram a number of pleasing colours, as well as automatically sweep throught those colours.

  8. Re:LEDs for Barbie house? by sifi · · Score: 4, Informative

    You can use any sort of LED you like - It basically comes down to:
    a) The colour you want.
    b) How bright you want it.
    c) How big you want it.

    You shouldn't connect LED's straight to a battery.

    You need a series resistor (In between the battery and the LED). The value of the resistor is calculated using

    R = (Vb-Vf)/I.

    Vb = Battery Voltage
    Vf = Forward Voltage (On Data Sheet)
    I = Current (On Data Sheet)

    so for this 5mm white LED using a 9V battery Vf = 3.6, I = 30mA => R = 180 Ohms.

    Make sure that you connect the LED the correct way round (The long lead should be connected to the '+' terminal on the battery, the short lead to one end of the resistor and the other end of the resistor to the '-' terminal on the battery. If you get it the wrong way round it don't worry the LED won't blow up, the LED just won't work!

    Good Luck.

    --
    Sig (appended to the end of comments you post, 120 chars)
  9. Re:LEDs for Barbie house? by ajs318 · · Score: 4, Informative

    Don't use batteries, they pollute the environment something shocking. Use a mains adaptor instead, possibly even an old phone recharger or similar. Note that the voltage ratings quoted on the label are only for show and don't reflect what your trusty AVO will indicate.

    Measure the output voltage, subtract the forward voltage of the LEDs {add together if wiring several in series} to get the "excess" voltage {guess 2V if you don't know it, 3V for blue or white diodes} to find out the excess voltage.

    Select a suitable resistor to give about 20mA of current, it is not critical that this be spot on or anything, using the formula R = V / I -- where V is the excess voltage that needs to be dropped, I = 0.02 {because we said 20 milliamps but the formula wants whole amps} and R will be in ohms. Now resistors are made only in certain values, usually multiples of 10, 12, 15, 18, 22, 27, 33, 39, 47, 56, 68 and 82, so choose the nearest; eg. if your power supply is putting out 4.9V and your LED wants 2V, you have to drop 2.9V at 0.02A so R = 2.9 / 0.02 = 290 / 2 = 145, so use a 150 ohm resistor.

    Finally, work out the power rating required, by multiplying the voltage dropped across the resistor by the current through it. In this case, P = 2.9 * 0.02 = 0.058 watts, so a 0.25W resistor will do fine.

    Each room will need a separate switch and resistor, but if you have the volts available you can put multiple LEDs in series from the same switch. Watch the current consumption doesn't exceed the power supply rating: as you get close to it, the voltage will start to fall and the LEDs will get dim. But power supplies of this kind must be short-circuit-safe by law, so you won't burn your house down even if you do actually overload it.

    --
    Je fume. Tu fumes. Nous fûmes!