Arduino-Based, High Powered LED Lighting Over Wi-Fi 114
Gibbs-Duhem writes "This awesome video was produced by some MIT engineers recently. They've started a fully open-source, open-hardware high power LED lighting project that they designed to be modular enough to control with the Arduino (or any other control system). Using their open-source firmware, you can set up the Arduino to connect to Wi-Fi and receive Open Sound Control packets. Then, they went further and released open-source software for PureData and Python to do music analysis and make the lights flash brilliantly in time with the music! A full Instructable was also posted in addition to the existing documentation for design and assembly on their website."
I have the perfect band to use this with (Score:5, Funny)
Re: (Score:2)
Re: (Score:2)
Re: (Score:1)
Re: (Score:2)
Re: (Score:2)
Electric Light Orchestra [wikipedia.org]
Thanks for the Wikipedia link! Now I can easily find out who Electric Light Orchestra is!
Re: (Score:1, Insightful)
LED Zeppelin
Dear Mods: Parent post was a joke.
Re: (Score:1)
LED Zeppelin
Dear Mods: Parent post was a joke.
+1 Insightful
Re: (Score:2)
LED Zeppelin
Dear Mods: Parent post was a joke.
+1 Insightful
+1 Dur-hey
Re: (Score:2)
Was it??? Perhaps a Double Entendre [wikipedia.org]?
Re: (Score:3, Funny)
HA!
I just got it.
Re: (Score:2)
That's some serious lag.
Arduino again? (Score:1, Interesting)
Can't people write regular C code anymore these days? When you get down to it, Arduino is just software added to a regular Atmel AVRs.
Re: (Score:2)
Can't people write regular C code anymore these days? When you get down to it, Arduino is just software added to a regular Atmel AVRs.
I was going to say that! only with more actual words.
Re:Arduino again? (Score:5, Insightful)
You program Arduinos in C++. The IDE thing that comes with it basically wraps some boilerplate around your code, runs it through avr-gcc and uploads it with avrdude.
There's nothing to stop you writing something from scratch to run on an Arduino board, and even pulling in some of the useful libraries that people have created for it. I actually prefer to write my code in gedit and use a fairly normal Makefile to make and upload the code.
Re: (Score:2)
When I looked into them 2-3 years ago, the Arduino was pretty obviously targeted at artists and less technical hobbyists. Using eclipse and uploading/debugging right from it was the route I took with the Mega128's in my bot. Maybe things have changed, but at the time the price/performance of the Arduino stuff just wasn't there for me. There were/are many really nice controller boards (for the Mega's anyway) that far outstrip the capabilities of what Arduino offers, and cost less.
Re: (Score:2)
If you're going to use Eclipse, you may as well use Arduino's own "Wiring" IDE. I mean, if you're going to put up with slow, crashy, buggy Java cruft then why make life extra hard?
At the time I started getting into using Arduino boards (about three years ago), it was by far the cheapest AVR development board with a built-in USB-to-serial converter.
Re: (Score:2)
Maybe his ARM are 9-bit?
Re: (Score:2)
In the grand scheme of tech-elitism, ARM >> AVR. :P
ARM bitshift right AVR? I don't get it.
No, it's C++. He's pulling an entire AVR out of an ARM, demonstrating ARM's superiority!
Okay (Score:2, Informative)
This method will probably only lend way to hobbiests who can't justify purchasing the equipment, when even DJs use DMX now. (Although Net2 touring nodes are relatively cheap now, and Net2 compatible light boards are popping up on eBay with the new generation of light boards replacing the old ones)
Re: (Score:2, Informative)
Re: (Score:1)
I figured most people outside of the trade wouldn't really care that wifi is the worst idea for a light desk, so i didn't think to mention it, especially considering this generations obsession with wireless. Personally, if i wanted a wireless light system for anything but an RVI, i would actually spend the money for the dedicated WDMX nodes that are FCC Class A devices, even if they cost several times more than a typical 802.11g/n router.
Being state-side, I've only gotten to work with Ethernet system that
Re: (Score:2)
Next project is to build a DMX -> OSC converter. It won't be terribly hard, but we're all busy with day jobs.
If you'd like to help, feel free to join the development mailing list. The plan was to do it using a maple board, but FPGA would probably be simpler and cheaper.
Re: (Score:1)
Re: (Score:1)
I can see this stopping at DJs or small theatres building their own equipment just as a way to transfer DMX to a chain of Dimmer Packs when they can't afford a Dimmer Rack with runs, or afford pre-made hardware.
Re: (Score:1)
Currently, low-end DJ lighting and party equipment includes no controls with the exception of either a proprietary controller or automatic sound-changes based on loudness. In addition, manufactures are less likely to adopt a new protocol now without USITT standardization, meaning they have no standards organization guarantee that the protocol will adhere to the s
Re: (Score:1)
I'm more inclined to believe that the price is the result of the quality control and R&D on the units, and to ensure that the units will still be working in 10 or 20 years, since a few companies will give long-term support for products for free at least 15 years after they stop making them (ETC maintaining a complete database
So .... ? (Score:1, Insightful)
That's a bunch of LEDs glowing with a music. Hardly awesome, especially for slashdot crowd, who for sure knows that blinking a LED (or even four or five) is not rocket science. That's the first step for every Arduino beginner.
make the lights flash brilliantly in time with the music! Whow ! THAT is impressive ! Let's throw some exclamation marks ! !!!!! !!!! !
So, I think I missed something. Seriously, MIT students made some LEDs glow according to a music. Fourrier, (very) basic e
Re: (Score:2)
Not only that, but Arduino instead of straight C code? They should receive bad grades for making MIT look like pre-school.
Re: (Score:2, Insightful)
If you don't know how to code in C or if you're not a programmer to begin with, Arduino is fine. But for MIT students, if find it weird.
You can't say 'performance aside' in the real world. If your C code can run on a 4 MHz AVR but your Arduino code requires a 8 MHz part to do the same job, you're potentially costing your company a lot of money*.
* I'm talking millions+ of units here, for 1 to 1000 units the cost difference between the two parts is almost negligible.
Re: (Score:2)
Re: (Score:1, Interesting)
There's blinking and there's blinking. If you are doing any processing besides mere on/off, and are multiplexing a chain of 32+ individually PWM'd addressable LEDs, you do need a few MHz. I know because I coded and built one in avr assembly for my Christmas tree. I suppose I could have have used Java on some much beefier hardware, but fuck that.
Re: (Score:2)
Summary is deceptive: They don't use an Arduino. They use their own ARM Maple board: http://leaflabs.com/ [leaflabs.com] which was designed to the Arduino form factor.
These lights lit up our burning man camp :)
Re: (Score:2)
Relaxen und watchen (Score:3, Funny)
Das Blinkenlichten. :)
Re: (Score:3, Funny)
Sorry, spelling Nazi here; "Die" Blinkenlichten!
Re:Relaxen und watchen (Score:4, Funny)
Re: (Score:2)
Man, not even allowed to mangle my own language any more? ;)
(*Runs from the grammar gestapo.*)
Re: (Score:2)
Sadly, I realize that some folks reading may not know of this meme. Thanks Wikipedia!
Blinkenlights [wikipedia.org]
The progress is amazing (Score:2, Insightful)
Re: (Score:2)
Re: (Score:2)
Yes it's a bit better, but I'm still waiting for the awesome part. I mean, it's just light colors associated to wavelengths and reacting to volume.
I'm not trolling, but I'm truly wondering what the excitement is. Are others really excited by this? If so, it must be me.
Re: (Score:2)
That is not true. It uses the aubio audio analysis library for beat detection, and uses puredata to make it easily extensible by anyone not scared of graphical programming languages.
This is not a light organ, or a VU meter.
The point is that *anyone* can go in and improve the puredata code to make it more awesome.
Wake me up... (Score:3, Insightful)
The code looks useful, but I'm getting paid $14 an hour. If I want to build RGB mood lighting for my house, I'm going to need a lot more than one unit. I can get 20 feet of RGB strip for $200, and they want $350 for a little 800-lumen flashlight board.
Re: (Score:2)
There are plenty of flashlights that put out 800 lumens - for example, the UltraFire WF-016 SSC-P7 is an LED flashlight that costs $30 and puts out 800 lumens.
Re:Wake me up... (Score:4, Informative)
As the designer, we tried to take people like you into account. If you're willing to solder your own boards and deal with heat sinking on your own, you can buy bare boards and use the Digikey BOM we made available on the documentation page to make your own for perhaps $100-$200 not including whatever you value your time at.
There's also a 5% discount using the coupon code hobb123.
Feel free to join the development lists if you want to get more ideas about how to do a less expensive system. I certainly want one too... but most of the cheap RGB fixtures out there are, in my opinion, unhackable garbage. RGB strips are cool though, if you just want mood lighting.
w/r/t the comment below about 800 lumens being as bright as a standard 60W light bulb, I should point out why, although true, that's not actually a sane comparison.
First, the lights here is colored to start with. Take a 60W incandescent and filter out everything but red, and you have a very dim light.
Second, it is 800 lumens because we used royal blue (extremely pretty color) instead of standard blue. The difference in perceptible brightness, in my opinion and the opinion of everyone who has seen a side by side comparison, is that there is no difference. However, the conversion from lumens to watts declares that it is 200 lumens dimmer. I think that there is a serious flaw in the way we calculate bright-adjusted conversion factors.
Third, the light is focused into a tight cone, meaning we lose almost no light due to light going "up" into the fixture. In a standard 60W, you're spending about half your light illuminating the ceiling. We don't do that, so the lux (lumens per square meter) is much higher. Try looking directly into one of these lights for more than a second, and you'll understand the difference.
There is a difference between 60W from a white incandescent and a 800 lumen LED fixture. Yes, technically the number of lumens thrown out are the same, and it would be dumb to use the LED light to produce white light, but for colored light it is at least an order of magnitude brighter.
Re: (Score:2)
The LED strips need to be able to have each LED (or small set) controlled individually, for light shows, so my focus has to be on extremely cheap controllers and cost-effective LEDs. I'll definitely check out the development lists - maybe someo
Re: (Score:2)
I actually have lots of recommendations for doing cheap controllers for lower power LEDs =) I helped an extremely good friend of mine design several LED displays and have done a few myself. His design is extremely cool, although it took a lot of labor to do:
http://web.mit.edu/dgrnbrg/www/Eye_Of_Gorlack.html [mit.edu]
Highly, highly, highly recommend the TLC5940 (or the most recent iteration in that line). Does onboard 12-bit PWM, 16 channels, and open drain so you can in principle run an arbitrary number of LEDs on it
Re: (Score:1)
Re: (Score:2)
Just needs some cooling and PWM and there you go.
Heh. That's cute.
Actually, FWIW I'm going to use the 40W version of that in the next version of this light. The cooling is a *serious* problem. Good luck. I doubt you can even turn the 10W one on for more than about 20 seconds before it melts.
Am looking forward to tackling it once I have some funding again though =) It should end up being about a 3000 lumen RGB fixture, but it's going to cost a lot more for me to make it. Have to switch to 1/2" aluminum back plate, put on fans potentially, etc, etc.
$800 ?! (Score:4, Interesting)
Okay, I've done some Arduino stuff myself, and am familiar with the pricing on typical custom PCBs from Sparkfun. So I checked out the Saiko5 product page.
I mentally added up the custom wifi shield, the custom LED driver board, the LEDs, the Arduino itself, and thought damn, I bet they're gonna offer this for nearly a hundred bucks. Add on a rubber duck antenna, some wall wart or LIPO for power, and a basic case, and that's more like $150. Then I see the photos of heavy duty bomb-proof cases which appear to be machine-bent-then-anodized aluminum plate. Even 2mm plate is overkill and this looks a lot thicker. That's silly thick and heavy, even for stage pyrotechnics units, and it's gonna cost. There's no way I'd be interested in $200 for such a device, especially since they'd work best in grid/swarm configurations. The altogether price they offered was four times that, at $800. Even factoring for (1) niche market, (2) assembly disincentive [prefer DIY assembly], and (3) low count factory runs, this price is out of all sensibility.
Re: (Score:2)
Unfortunately you left out 4) amortized development costs, 5) what the market will bear, and potentially 6) licensing costs. Consider the engineering work that goes into something like this...easily a few hundred engineer-hours. Now consider that the fully-burdened cost for a junior engineer is close to $100/hr. It goes up from there. So now we're talking in the mid-five figures before you sell unit 1. That's *just* labor. Care to add in ancillary costs? As for what the market will bear, there are LE
Re:$800 ?! (Score:5, Informative)
Dear Speare,
As the person who designed the device and the case, I have to question your ability to do a valid cost analysis, but if you'd be interested in helping out with bringing the cost down we'd love to have you. You can join our hardware mailing list at http://saikoled.com/mailinglists/ Wramsdel is completely correct, I have to pay the initial software developers who spent hundreds of hours developing the base system so that it was in a usable state, and I think it's not terribly fair to argue that the thousand plus hours I put into design, prototyping, assembly, and programming is not valuable. This is a one-man shop, and it's taken me three years to get from my original light fixture covered on slashdot in 2008 (http://led-artwork.com [led-artwork.com]) to this one, and I can assure you that the time investment is well worth it in quality. These things are good enough to compete with CK light fixtures (although I still need to finish my DMX -> OSC converter, I'm kind of totally out of money at the moment though).
Most of the cost issue is that in small quantities *any* machining is expensive. Just having the 8 holes drilled and tapped into the aluminum piping was $17, for instance. If I was casting 1000 cases, and hiring FoxConn employees to assemble them, and not paying the software or hardware developers anything for their time, sure maybe the price could get down to $300, but $150 is crazy. The raw parts for the wifi module are $60 alone, not including any case whatsoever, nor the included arduino, nor the power supply, and so on.
Also, Wramsdel is completely correct that I have to license patents from CK/Philips to sell these, and although the agreement is confidential, the amount is not trivial (and took lawyer time and my time to make happen). Additionally, I am trying to sell these to clubs as well so that I can offer cheaper versions to hobbyists (see below for how to get them cheaper). They are comparable to CK fixtures of similar price and brightness, are easier to install and use, and have free software to make them actually do things, as opposed to spending another $3k on control hardware and software.
In any case, my goal with this is to get the price down to the point where I would happily buy lots of them. Since I'm poor, the only way I can do that is to get orders for enough of them that I can drop the price. Suggesting, however, that the price should be the cost of the components alone is unreasonable for any sane business. I want to be able to do this for a living and as a community service, not as a community service alone.
In any case, since I want to get this off the ground so I can drop the price, I will point out a few things that you can do to drop the price.
Re: (Score:1)
Re: (Score:3, Insightful)
No offense taken. I'm aware of the competition. No harm in trying though =) Every club I've taken them to so far has been pretty interested in them, but really the target market in terms of clubs is a place without any existing lighting, not a club with $300k+ of lighting already. The advantages of being wifi controlled from a computer, having a flex arm to point it wherever you want, and free software to do music analysis and light control without requiring actually hiring a lighting engineer is significan
Re: (Score:2)
I've been involved in costing and pricing real products. The short answer is, if manufacturing costs are more than 20% of expected retail, it's not worth building the product. (I originally learned this at a big company that makes test and measurement products - oscilloscopes and such. I didn't just make it up. And I've seen it at many other companies.)
Cost of sales is rarely less than 45% to 55%. This may be in the form of a big, expensive sales force, or the 100% markup taken by most stores and/or 10%
Disco lights! (Score:1)
LEDs! (Score:2)
Where's all the anti-gravity, Terawatt laser, and nuclear fusion experiments? This is a beginner Arduino project you might find on instructables. Awesome project, but come on MIT guys, we want more!
Re: (Score:1, Interesting)
the power electronics involved here aren't trivial. it was designed from scratch. 800 lumens is burn-your-eyes-out bright, not some piddly 5mm LED-blinker project you find on Instructables.
Re: (Score:2)
Actually, we posted it on instructables as well, so technically, it is exactly as powerful as the most powerful DIY LED project on there ;-)
http://www.instructables.com/id/Ultra-bright-LED-Color-Changing-Spotlight-using-Op/ [instructables.com]
Cheers,
So, let me get this straight.... (Score:2)
New dog, old tricks (Score:3, Interesting)
That's it? When I read "high powered", I was expecting switching 500-amp supplies to banks of flood lights. I wasn't expecting... this.
This is the same stuff that hobbyists [doityourse...istmas.com] and others [lightorama.com] have been doing for years. Their lights also perform outdoors, in occasional high winds, at extreme temperatures. The only thing that MIGHT be interesting here is the music analysis program, if it's capable of picking up actual musical qualities, rather than just levels of noise.
Re: (Score:2)
Wow... (Score:2)
I've been working on something similar... (Score:4, Informative)
Shamelessly linking my own blog here:
http://electronoblog.allanw.org/2010/10/triple-high-brightness-led-driver-arduino-shield/ [allanw.org]
The board is in Arduino shield form factor and it can drive RGB 700mA LED's of any voltage up to 30V. It has an onboard micro that communicates with I2C that allows you to dim the channels without having to do the PWM on the host micro. This is optional, and there will be cheaper versions that just takes in PWM input signals directly.
It seems like all these high power LED stuff is way overpriced. I designed this after seeing Sparkfun selling a similar board for $50! And now this, which costs at least $290 for a bare board.
I haven't gotten around to finishing it yet but I intend to sell these boards for only $25 for the basic feature version.
Re: (Score:2)
As the designer of this light fixture, I would love to have you participate in the project... I used the LM3404 for PWM control because of heat sinking issues, but I do prefer using an external chip for PWM signal generation. For this project though it just seemed like overkill since the Arduino has PWM outputs set up already.
I'd be happy to try to work with you to either drop the price of our stuff, make your stuff work more effectively, and so on. It's supposed to be an open project after all =)
Competitio
Re: (Score:2)
I did look into the LM3404 but I couldn't figure out how to set its current with a wide input voltage range.
The HV9918 I picked is ridiculously cheap at only $1 a chip. For my project the LED driver chip was the main BOM cost. For you it probably wouldn't reduce costs by much. Unfortunately my board has some high EMI emissions despite its extremely compact layout which I haven't been able to figure out. Then again, one of my other switching power supplies also had mysterious EMI so it could just be my layou
Re: (Score:2)
Oh... um, send me a note offline and I can help you design a LM3404HV that will take up to 72VDC and provide a stable 700mA output. National Semiconductor has some nice simulation tools to deal with it. Did you try using those and were still unable to get it to work well? I'd also mention that the current varying between 650 and 750mA depending on input voltage isn't *that* bad of a scenario. Generally an end user can't tell the difference anyway, especially with the dramatically different LED efficiency bi
Arduino? Yawn. (Score:3, Informative)
Re: (Score:2)
Re: (Score:2)
How often does one need a JTAG debugger anyway? You can do plenty without one.
I tend to use it all the time. Beats the pants off of adding a resource-using monitor, or trying to blink LEDs, or spit things out the serial port, or whatever.
Sure, if you're God's own programmer, you don't need a debugger, but us mortals like to use it when things don't go as expected.
Re: (Score:2)
Re: (Score:2)
8051? This processor is as old as bacteria... useful for some but It can't measure with AVR by any means. The instruction set is making even simple operation (say a=b;) tens instructions long, and these usually are 4 clocks per instruction. Dog slow by architecture and implementation.
duh, look at modern versions like from Silicon Labs -- single-clock instructions, real I/O ports. Nobody uses the Intel 12-clock 8051s any more.
Re: (Score:2)
As the person who made that design choice, it was because I want to make it accessible to hobbyists with minimal electronics experience. I'm not a moron, I have done work with FPGAs, and plenty of work with integrated atmels and PICs (as you can see from my older projects at http://led-artwork.com/ [led-artwork.com]
Don't worry, if I was targeting clubs I'd do it all on an FPGA with a built in network stack and hardware PWM outputs. But that's a lot harder, and no beginners would be able to use it. We probably still *will* do
Re: (Score:2)
My gripe, which you missed, was that a proper debug interface would be a great benefit for the newbie/hobbyist who is the likely end user of these things.
I said nothing about "doing it in an FPGA" (btw, I do FPGA design for a living, and don't get me started on embedding micros in FPGAs). I also never called you a moron :)
I like the idea of Arduino, just not its implementation.
Re: (Score:1)
Re: (Score:2)
That's funny. Because I'm so tired of engineers puffing up their own egos by downing the Arduino. I'm smart enough to know that there are far more elegant, powerful solutions than an Arduino for almost every possible situation. But I'm not educated enough to use them. Arduino is easy and accessible. Don't underestimate how attractive those qualities are for someone who simply wants a challenging hobby.
I humbly submit that if the Arduino included access to the AVR's debug facilities, the hobbyists would be very happy indeed. "Why doesn't this work as I expect? I dunno, lemme fire up the debugger and step through the code as it executes and see where it fails."
A little spastic... (Score:2)
Re: (Score:2)
The spasticity is entirely controlled by an open source puredata patch. Even a non-programmer could tune it until they like the behavior. I happen to like it as is =)
Feel free to join the music analysis development list at http://saikoled.com/mailinglists/ [saikoled.com] if you want to make it work better. You'll find that it's designed to make the barrier to entry minimal. I literally wrote the music analysis software in 45 minutes after the python server was done.
Re: (Score:2)
Expensive Lighting (Score:2)
I would love to control each of my lights, indeed each of my appliances, with a network application targeting their power switch (and more, if possible). But a WiFi chip in each light is expensive. People were carping about CFLs costing $10 each when incandescents cost $0.30 each; LEDs are still several times as expensive as CFLs for the same lumens. Adding WiFi is extremely expensive; Arduinos themselves aren't cheap.
But there's a wire connecting each of these devices. X10 has long used the 0V point in eve
Re: (Score:1, Offtopic)
If only they could find a way to install Linux inside the Arduino and then make beowulf clus.. OUCH! MY ARM! OK I'LL STOP!