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.

Addressable Milk Bottles (LED Lighting + Arduino)

Addressable Milk Bottles (LED Lighting + Arduino)
Make PPE milk bottles into good looking LED lights, and use an Arduino to control them. This recycles a number of things, mainly the milk bottles, and uses a very low amount of power: the LEDs apparently dissipate less than 3 watts but are bright enough to see by.

Among other things, I wanted to see if I could make an electronic light feel more human friendly than most, and found rotary controllers are a good way of doing this.



PPE milk bottles make for a cheap yet aesthetically pleasing way to diffuse LED lighting. Especially if you can find nice round ones :)

Modding an object with LED lighting is not only environmentally friendly, but also much more straightforward than building a housing from scratch. Because LEDs are tiny, you can put them almost anywhere, and they don't produce much heat as long as they're spread out and running at the correct voltage.

This instructable will deal mainly with physical design and production, and I'm going to assume you have a basic knowledge of creating electronic circuits and LED lighting. Since the exact LEDs and power supply you use will probably vary, I'll only go into the basics of my circuit in terms of specs. I'll also try to point you to useful resources, and explain more about the Arduino microcontroller and code that tells them to work in sequence.

The electronics of basic LED lighting are really simple, similar to elementary school electronics, so probably won't take long for you to pick up at all.
 
Remove these adsRemove these ads by Signing Up
 

Step 1Tools and Materials

Tools and Materials
«
  • P1110069.JPG
  • p1030272.jpg
  • P190409_00.51.JPG
  • p1030659.jpg
  • P1110062.JPG
  • p1030270.jpg
  • P1110060.JPG
  • P1100823.JPG
  • P1100826.JPG
  • P1110061.JPG
  • P1110066.JPG
  • P1110067.JPG
  • P1110068.JPG
  • P1110065.JPG
  • P1100857.JPG
  • P190409_00.46.JPG
  • last photo ←
»
To manufacture the lights themselves, you will need:

PPE milk bottles
Sheet of 3mm clear acrylic
2 core electrical cable (or speaker wire will do - it can be fairly light duty since it will only take about 12v and very little current, depending on how you design your circuit).
LEDs
Resistors
Solder
Heat shrink tubing
An old transformer (wall wart to Americans), plus socket+plug to go with it.
Braided copper wire
Solid core bell wire
Zip ties


Tools you will need:

Drill
Hole cutter (matched to the width of your milk bottle caps - see step 2)
Assorted tiny drill bits
Junior hacksaw (depending on what you use as a housing)
Screwdrivers
Wire strippers
Side cutters/Wire clippers
Soldering iron
Multimeter
Third hand (vital for soldering components together)
Desoldering wick (if you salvage any components from other devices)
Crocodile clip leads (for testing/prototyping).

You also might want to make some kind of housing for them. I've tried various ways of hanging them, and settled on a bent section of PVC pipe, hung from the ceiling with holes drilled for the cables. I also tried stapling them to the ceiling. You could also hang them through a piece of board mounted on the ceiling, from conduit, or even make holes in your ceiling itself to accommodate the wires and power them from a loft. Step 5 shows and talks about a few of these options.

The above is all you'll need to make some lights that work with a basic on/off switch. To give them more advanced functions such as fading or sequencing, you'll also need a load of components such as transitors and a microcontroller:

Arduino mini
Mini USB adapter for above, or FTDL USB to header lead.
Pin header sockets
Solderless breadboard
LM317T voltage regulator
BC337 NPN transistors

All shown below but more about them and how they work together in step 6.

There's also an enclosure for switch box, which could be anything you like. I saw a lovely round sacrament box in the Japan room at the British Museum, but they wouldn't let me have it. In the end I used a white plastic moo card box because it fits so well with the theme :)

With such a circuit in place, there are all kinds of things you can program an arduino to do with it. I like kinetic lighting, but I find flashing christmas lights, etc., gaudy and mechanical. Their regularity and consistency is cold and unwelcoming (it must take work to create the naturalistic twinkle of good christmas lights).

I don't want anything flashy (literally). I want a single, analogue control for the lights that feels very human-operated, that simply sequences the way they turn on and off. Code for that, coupled with a nice feeling dial and an aesthetically pleasing aluminium knob makes this into a pleasing toy.
« Previous StepDownload PDFView All StepsNext Step »
41 comments
1-40 of 41next »
Apr 19, 2009. 5:01 PMjoejoerowley says:
Can you use PWM with a transistor? Thanks
Apr 26, 2009. 11:21 AMjoejoerowley says:
Very Cool. Image having these fade down the line. The possibilities are endless :) Great Instructable btw, I'm still lovin' it.
Oct 15, 2011. 7:22 AMemihackr97 says:
Or you could simply use the SoftPWM library for arduino that gives you PWM on all pins.
Apr 23, 2009. 5:39 PMajtag says:
have a look at ti's tlc5940: http://focus.ti.com/docs/prod/folders/print/tlc5940.html, that has 16 pwm pins for leds, and can be daisy-chained for more. thats what i am using.

great instructable, keep up the good work.
Apr 26, 2009. 11:35 AMjoejoerowley says:
ajtag, How do you hook up, program and use the flc5940? I'm an noob and a tad bit confused on how you would go about using this chip. Thanks in advanced, Joe
Apr 26, 2009. 11:40 AMjoejoerowley says:
Never mind. I just found a great resource.
http://students.washington.edu/acleone/codes/tlc5940arduino/html_r012/
Thanks,
Joe]
Apr 23, 2009. 5:43 PMxtremd says:
I was about to recommend that! damn second... lol. (The TLC)
Aug 16, 2011. 10:55 AMShortedOut says:
I wasn't sure whether I understood the wiring completely, so I drew up a little diagram. I put in (for simplicity's sake) only three sets of 3 LEDs (connected only to pins 4, 5 and 6 on the Arduino Mini). I think I got the pin order wrong on the NPN transistors. Also, I wasn't sure how to label the resistors on the LM317T, as I'm not sure what you ended up using (and because my eyesight is terrible!). Could you tell me whether I'm thinking this correctly? If not, where is it wrong? Thanks so much!
Jun 25, 2010. 11:52 PMASCAS says:
Wow you drink a lot of milk!
Mar 16, 2010. 11:10 AMSuperStefano1995 says:
 nice work
Nov 10, 2009. 7:16 PM__Master_ says:
NM my question it is yea you can do it and i looks cool to
Nov 1, 2009. 6:44 AM__Master_ says:
do u think that u cud stop the RGB LED colour fade and thin make it go again to choose a new colour?
Jul 29, 2009. 8:28 AMBlackice504 says:
Hi this is a great project i think i will build this for my mum and dad's house as they always complaining about light because the voltage is low and you do need well alot of lights to be controled one by one would it be better to have a single ground wire for all the lights then just use Cat5 is this possible so far i think it is but i have not played with the Arduino PS i live in Australia i have only found one place that sells them :'( and its FAR
May 22, 2009. 1:37 AMterrapinlogo says:
you could use two of those pipe fittings that make the pipe size larger and a short section of larger pipe to hold the arduino
May 19, 2009. 12:35 PMT3h_Muffinator says:
Great looking lights! I love the idea of using milk bottles to diffuse the light. I find 'em pleasant to look at anyhow.

You might also want to look into straight AVRs (start !). They're just as easy (almost) to work with as arduino, but 6X cheaper and 1000X more flexible (just a chip, not a board). In addition, with the combination of ladyada's USBTinyisp, you'll be able to get that easy usb -> milklights that you're looking for.

If you'd like advice with that, just shoot me a pm, but great work, and congrats!
May 19, 2009. 11:50 AMEuphy says:
Congratulations on the win Nachimir - it's a great project!
Apr 30, 2009. 2:33 PMIoannes says:
This would have been neater and easier for fault-finding if you had soldered all the transistors and resistors into a piece of Veroboard (Copper strip Board) and then soldered the wire onto solder pins. Alternatively, if facilities were available a small PCB made to fit into the pipe is another solution.
Apr 30, 2009. 1:21 PMnotsure says:
Have you considered using a LM7805? They drop the voltage to a regulated +5 instead of needing to regulate it with a 317. I like the 317, but the 7805 works better for a constant +5.
Apr 30, 2009. 8:38 AMbumsugger says:
What a F-A-N-T-A-S-T-I-C instructable Nachimir,I commend you on your thorough detail,and neatness, (all things considered).I'm not too well up on Arduinos though,so I've got a pretty steep learning curve ahead of me,despite being an Electro-Tech.I have a just a project in mind for a setup like this,so I better get reading,once again,Congratulations!!
Apr 27, 2009. 5:10 PMcrampedyogapositions says:
i wonder if you can make allot of OLED dolor changing suond to light system. imagine... color flashing milk bottles with a ipod connected... must invest in this, i think ill make a japan paper lantern theme and hang it on my celling everywhere, that be nice, any tips?
Apr 25, 2009. 8:49 PMmman1506 says:
what about adding a tepture sensor that controls the dimness or even coulour of ligt
Apr 24, 2009. 9:19 AMsusioneill says:
My Buddy john Callaghan (www.johncallaghan.co.uk) has a costume made from Yakult milk bottles which light up. There's some photos knocking about my Facebook page of him playing a party at my house wearing it.
Apr 21, 2009. 12:26 PMemerson says:
i wonder how one could program the arduino to control dimness and creating a breathing light effect on various bottles. sweet project, very inspiring.
Apr 22, 2009. 6:28 PMeverywhere says:
you could use the arduino mega it has 11 pwm pins
Apr 23, 2009. 7:20 AMRabidAlien says:
Very nice! Wouldn't be too much of a leap to seal the tops/lid and make some very unique Christmas lights.....
Apr 19, 2009. 12:43 PMgmjhowe says:
I love the way the light cycles up through the bottles. Quite a mesmerizing thing to watch! I would have been tempted to put reflective foil on the inside of the lids myself, give more glow in the actual bottle.
Apr 20, 2009. 3:14 PMEuphy says:
Beautiful video and pictures - great project!
Apr 19, 2009. 9:32 PMtchiseen says:
The level of detail of this instructable is incredible. Great work.
1-40 of 41next »

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!
66
Followers
10
Author:Nachimir
I live in the UK, and work for a games consultancy. I used to take my toys apart and put them back together when I was a kid, nowadays I try to do the same with emotion, motives and culture. I also...
more »