[HuB’s] set of 5.1 surround sound speakers was gobbling up a bunch of electricity when in standby as evidenced by the 50 Hz hum coming from the sub-woofer and the burning hot heat sink on the power supply. He wanted to add a way to automatically control the systems and offer the new feature of disconnecting the power from the mains.
The first part was not too hard, although he used a roundabout method of prototyping. He planned to use the IR receiver on the speakers to control them. At the time, [HuB] didn’t have an oscilloscope on hand that he could use to capture the IR protocol so he ended up using Audacity (the open source audio editing suite) to capture signals connected to the input of a sound card. He used this to establish the timing and encoding that he needed for all eight buttons on the original remote control.
Next, he grabbed a board that he built using an ATmega168 and an ENC28J60 Ethernet chip. This allows you to send commands via the Internet which are then translated into the appropriate IR signals to control the speakers and a few other devices in the room. The last piece of the puzzle was to wrap an RF controlled outlet into the project with lets him cut mains power to the speakers when not in use. You can see the video demonstration embedded after the break.
[youtube=https://www.youtube.com/watch?v=Coa74-hGV-Q&w=470]
Might I suggest a power strip? You turn off the power strip when you do not have the speakers hooked up to your laptop.
Genius use of audacity!!!
lol… wow, talk about taking the long way home! Hope it was fun!
“50 Hz hum coming from the sub-woofer and the burning hot heat sink on the power supply.”
Sounds more like his sub is broken, there should be no hum and when not in use the heatsink should be cold.
I agree ducky. The sub amp is bad or the cabling feeding it is bad.
I have a different version of Genius 5.1 home theatre (very similar) and in standby, it’s absolutely cold and silent. I think something may be wrong with his.
Oh, also, cheers to a fellow Czech ! Small world.
Let me explain some more details. There’s no warm heatsink but the transformer is heating a lot in a stand-by. That’s typical for devices without switching power supply. That hum is coming from that transformer because is really big one, no one can really hear that, but I’m too sensitive when I go sleep, so it annoys me a little.
But the point of project it’s not control just the speaker but I can control any device/light with remote plugs and send IR signals to TV etc..
I have one a set of a similar type. Here is the service manual with inside schematics if anyone would need it http://www.scribd.com/doc/55612711/GENIUS-SW-HF-5-1-5000-RAR-MOJE . I was fixing it few weeks back. It got a 230V hit into the input line and all I needed to replace is the first input switching IC that was in the way at the cost of $2. I am also interested in the IR protocol codes as I dont have the remote anymore.
PS: another greetings from the czech rep.
I am interested to fix the noise from 230v, can you explain more concrete what input IC you have replaced, to fix it?
is the mafia 2 soundtrack :O ^^
with lwat on this one. Either find a power strip with a switch and so forth or a lamp style cord has switch built in and can be found at hardware stores cheap. Also useful are the remote AC outlets. You plug it in, plug in the device and ya get a nice lil fob thingy to control it with and tape to your main remote. see here:
http://www.google.com/products/catalog?q=remote+control+120v+outlet&hl=en&prmd=ivns&bav=on.2,or.r_gc.r_pw.&um=1&ie=UTF-8&tbm=shop&cid=9668350966394341543&sa=X&ei=z4vSTbqhH4XWgQfm-MHMCw&ved=0CHQQ8wIwAg&biw=1024&bih=614#
I was lucky enough to find one in a thrift store bin for 50c :) Works great!