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.
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.
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.