In the quest to add some mood lighting in his basement, [Mohonri] found an infrared wireless remote that is able to control several RGB LED strips. The only problem with this remote is the inability to control it via a wall-mount panel or even a computer. Obviously this would not stand for such a swank basement, so [Mohonri] did the reasonable thing and reverse engineered one of these remotes.
The build started with ripping the remote apart and figuring out how it ticks. [Mohonri] found the small IR LED transmitter and hooked up an oscilloscope to capture some data. After a bunch of trial and error and a big help from relevant documentation he had the entire button matrix – and thus the functions available to the LED strip – available to output via wall panel or computer.
[Mohonri] hasn’t completed his build yet; this was just the reverse engineering and documentation stage. Now, though, it shouldn’t be hard to control the RGB LED strips through an Arduino, a computer, or even an Android/iOS device with a small IR LED plugged into the headphone jack.
Isn’t this the wrong way to go? The PWM in these cheap units is low frequency and has choppy fading.
I would have rather made a new PWM controller that accepts the old remote as an input along with computer commands and a wall panel.
That’s exactly what I did with my IKEA DIODER lamps.
The result is pretty damn good: http://dl.dropbox.com/u/615699/LED bedroom lighting/index.html
Code:
https://github.com/DarkFox/LED_controller
Derp, fixing first link: http://dl.dropbox.com/u/615699/LED%20bedroom%20lighting/index.html
That is one small Bedrroom. You should lower the ceiling by installing a baldachin to make it a cozy lovehole. Girl love baldachines ;)
That’s the whole point–design a receiver that’s compatible with the cheap remotes out there, but with better implementation and more features.
“The only problem with this remote is the inability to control it via a wall-mount panel or even a computer. ”
I contol them just fine from a computer or wall panel. LEarn the IR, re send the IR. REally easy to do.
FAILtroll, Run along child.
seems that someone doesn’t know what LIRC is.
I use these in my theater, took me 10 minutes to learn the IR codes and have the XBMC box to control them.
Sounds like you are the Fail Troll.
Would you mind sending me these codes on email?
thanks
Chris
http://doityourselfchristmas.com/wiki/index.php?title=Ren4Flood
Just Gona leave this here, To very affordable PWM controllers AC AND DC. Called “Renard”
I hacked the exact same lighting controller.
My approach was to completely replace the controller on the board with an atmega328 and program a new firmware which accepts commands via a wireless home automation protocol named FS20.
I also took the time to decap the controller that’s onboard because the marking of the chip had been grinded off. Turns out it is an 8bit 8051 derivative with 4kb flash from a small company whose name I’ve already forgotten and since I didn’t have the programming equipment for this I went for a complete replacement.
Thanks for the details. I was about to comment too that I bought these exact LEDs and controllers in Shenzhen, China (see link). I plan to hack them a bit too.
Thanks a bunch for this. I was just about to upgrade my home network with some kind of nrf24l01-to-IR AVR and this is one kind of task for it.
The folks at µc.net developed an IR-Multiprotocoll-Decoder: http://www.mikrocontroller.net/articles/IRMP (german, giyf). It’s capable of decoding nearly every IR-Code used in todays remotes and it’s originally made for AVR, but can be used on PICs too.
I wrote a big article (in Russian) about the universal algorithm for receiving signals from almost any remote control. The code is very simple, small, and very reliable. Google-translated page with my article.
I have one of these, I’d love to just replace it with an arduino or something.
I have a very similar RGB lighting strip setup on the back of my TV, and I just use my Harmony remote to automatically control the lighting depending on what activity I’m doing. Not as much work, but the result is quite cool.
I made a video about this:
http://www.youtube.com/watch?v=XJVtTfUpXBM
I’ve a few different models of these; though they appear identical(the remotes), they are not always cross-controller compatible(the led driver).
Would have been simpler to use a learning remote with a 6 pin “JP1” header then download the captured codes.
With that data there’s software to put together code sets to upload to other JP1 programmable remotes or to devices like the Logitech Harmony remote line and similar “super remotes”.
I got one of these a couple weeks ago. The day after I installed it it suddenly decided to swap the channels from RGB to GRB, then a few minutes later to RBG and it has stayed there ever since. It still works perfectly but none of the colors are right. I haven’t bothered to look inside because it still works and it’s in a really difficult location to access.
I’m a bit curious about how that’s even possible as someone who’s spent a lot of time designing electronics. Not that I’m particularly surprised or upset by this. When I buy the cheapest of something directly from China, I don’t really expect it to even work out of the box, that’s just a bonus.
Did you ever find out what caused the channels to swap? I had a similar situation lately when my 2-year old nephew got the hold of the remote. I have no doubt that the little boy is an electronics genius but I have trouble getting him to tell me what he did with it and how to fix it.
Try pressing the “Fade7” button in the bottom right corner, I think there’s 1-7 options, watch out, I think it’s a sign that your controller (not the remote) is starting to go. Same thing happened to me
Mine did the same thing after 2 weeks when I was pushing buttons (to train lirc on my RPI). I can’t get the green and red channels back to normal. Did yours ever go back?
I must’ve missed a part because I don’t see how copying IR code can be described as reverse engineering.
I have two of those but if I had less projects waiting in a pile, I’d switch the internal circuitry of the controller way before sniffing the IR (which would then be completely useless since you just have to make it the way you want to control it).
Still, thanks for sharing the information you got from it. Pretty sure you made someone’s project way easier.
Ugh. I hate those controllers.
See, I work with LEDs all the time, and when I come across something like this (and this isn’t the worst, mind you), I just get sad. There are just too many things wrong with it!
The best option would be to use an Arduino with some mosphets to control LED Strips. Much more customizability, and much less bull crap.
Does anyone have a guide on how to control led strip like this one via arduino, raspberry pi or similar?
Treat it as 1 giant single RGB led, use N-mosfets as these are usually a common anode
My original question was because of problem with powering the led strip, mosfet will probably do the trick. Do you have any suggestions on which particular model (or however it is called) to get? I have a 5m (300 rgb leds) strip, I’m not sure what is the expected power consumption.
Hi All, I installed this 5050 LED at the bottom of my car and just found out the stock controller does not allow fading of 1 color. The “Fade3” and “Fade7” is fading of multiple color. Can any guru here kindly suggest what should i do to achieve the fading of a single color? is there a way to reprogram the stock LED controller?