• GND pin ---> Arduino GND pin
  • VCC pin ---> Arduino 5V pin
  • SIG pin ---> Arduino A0 pin

  • Cathode ---> Arduino GND
  • Anode ---> 1K Ohms ---> Arduino pin 3 (PWM)
NOTE: I forgot to add the 1K ohms resistor to my prototype but it's wise to include it. 

  • Right Pin --->  Arduino 5V pin
  • Middle Pin ---> Arduino GND pin
  • Left Pin ---> Arduino 11 pin (PWM)
Done it. Thanks
<p>OK - I am reading my cable box remote volume down codes, but each sample is completely different from the prior (see below for my serial window output after pushing the down volume 5 times). Is there some kind of pseudo-random code sequence? Also, when you say to &quot;Record the short number generated when you pressed your remote button.&quot; Do you mean the row of numbers with the fewest numbers? Because when I press volume down on my remote, I get only one group of 3 rows of numbers. </p><p>Your help would be appreciated, as I wish to get this working.</p><p>944C8D98</p><p>Unknown encoding: 944C8D98 (32 bits)</p><p>Raw (22): 300 -650 350 -1700 300 -650 350 -950 150 -1550 300 -1200 300 -1150 350 -1000 350 -1000 100 -1450 300 </p><p>A974063A</p><p>Unknown encoding: A974063A (32 bits)</p><p>Raw (18): 350 -600 350 -1700 300 -650 300 -2700 300 -1200 300 -1100 400 -1000 350 -2550 300 </p><p>1DD876BC</p><p>Unknown encoding: 1DD876BC (32 bits)</p><p>Raw (18): 300 -650 300 -1750 300 -650 300 -2700 300 -1200 250 -1250 300 -950 400 -2550 300 </p><p>8771921F</p><p>Unknown encoding: 8771921F (32 bits)</p><p>Raw (18): 300 -650 300 -1750 250 -700 300 -2650 350 -1150 300 -1000 450 -1150 300 -2550 250 </p><p>D4185E7E</p><p>Unknown encoding: D4185E7E (32 bits)</p><p>Raw (20): 300 -650 350 -950 150 -600 300 -650 300 -2700 300 -1200 300 -1200 250 -1050 350 -2550 300 </p>
<p>Nice post! I am in the process of building one, and an idea came to me. Instead of forcing the user to train the device with their remote control, couldn't the Arduino simply store and transmit *every* IR code for *every* TV and cable/satellite/DSL box known to man? I also like the comment someone else made about including the volume up logic (which I plan to implement), so the thing is self-regulating. Looking forward to putting this little friend to work in my living room!</p>
Very cool :) How hard would it be to have it keep the volume at a certain level turn the tv down for the commericials and then back up when the quieter show comes back on.
I would love something like this too. It's not just commercials, but sometimes movies go from whisper quiet to explosion loud and I'd love a device that just kept the TV at a certain range, automatically raising the volume up and down as needed.
<p>I'm doing this but I'm having trouble with the code. the IDE will not compile it, due to countless errors. anyone else have trouble, or understand the code in depth?</p>
<p>Hopefully you solved your compilation error problems by now, but I initially had some issues too, because of multiple IRremote.h files in my Arduino library search path. I removed the offending library and it now compiles OK.</p>
<p>This is too complicated for little ole me and I was wondering, are there any tv's that control the volume without extra equipment?</p><p>Missy <br>gaynel13@gmail.com</p>
<p>Missy, See my reply to nancy.lowery above for two such models.</p>
<p>I wish I could just go buy something like this. My father-in-law lives with our family and he is hard of hearing so he puts the volume so loud I have headaches every day. He refuses to turn it down, he has already blown speakers on one of our TV's. I do not know how to control his behavior. </p>
<p>There is at least one commercial product that I found while researching this topic. It is branded with either Terk or Audiovox. I found the Audiovox unit on ebay just now (<a href="http://www.ebay.com/itm/NEW-IN-BOX-Audiovox-VR1-Automatic-TV-Volume-Control-/151863771222?hash=item235bc94056:g:~W8AAOSw14xWLsrY" rel="nofollow">http://www.ebay.com/itm/NEW-IN-BOX-Audiovox-VR1-Au...</a>) and the Terk at (http://www.ebay.com/itm/TERK-BY-AUDIOVOX-TV-VOLUME-REGULATOR-STOPS-LOUD-COMMERCIALS-TV-VOLUME-CHANGES-/281841526306?hash=item419f106622:g:FXMAAOSw14xWMP2x). According to review online, the Terk is a better quality product. Neither of these requires programming or IR learning, etc. Just needs to be connected between the audio source (e.g., cable box) and the TV.<br>Good luck.</p>
Great job.
<p>What level of volume (Sound) should I set in my Sony LED TV and Tata Sky set top box? Maximum TV volume is 100 points and maximum set top box volume is 20 points. How much should I set both the volumes so that I get optimum audible sound?</p>
<p>When I experience annoying loud television advertisements, I send an email to the advertiser that I am boycotting their products. If enough people do the same, the practice will stop.</p>
<p>big respect for u </p>
<p>you didn't include &quot;IRromote.h&quot; and while i have it, the code has presented some problems in my IDE, did you change it from the IR library online?</p>
It seems i'm only one who can't make it work. <br> <br>Noise level == 45 <br> <br>Blinking led on pin 13 tells that microphone is working. <br> <br>But IR led on pin3 is not blink (it visible with any mobile camera). If i reconnect IR LED to pin13 - it blinks. <br>IF i connect any other LED to pin 3 ---&gt; no blinking too <br>If i load those simple example that make onboard LED blinks and set the pin 3 - IR LED start blink. <br> <br>What's wrong? <br> <br>Arduino Mega 2560
I had the same problem and found the solution in the source code of the IRremote library: on the ATmega2560 the IR diode must be connected to pin 9, see https://github.com/shirriff/Arduino-IRremote/blob/master/IRremoteInt.h
Nice! <br>This could be used on pubs, restaurants, and the like! <br>Gone to my Blog: <br>3D Printers from India, Nano-printing 3D printers, and an Arduino that shuts up TV ads! http://faz-voce-mesmo.blogspot.pt/2013/02/impressoras-3d-uma-da-india-outra-nano.html
Glad you like it. It's more challenging in public places because of the ambient noise. But it's not difficult to read the audio signal directly from the headphone jack instead of an open mic. This could be Rev2 of the gadget.
Go for it, but don't forget to Patent it, because I see all kinda crazy stuff being sold, that's not useful as that one idea...
This project is based on all sorts of open source and open hardware ideas so it's only fair that it remains open :)
Right you are, but if someone makes money out of manufacturing those, isn't there somewhere, some open source support thing, you can send some kind of royalties?
Great project! Everybody should have one before they totally get brainwashed...I wanted something like this for decades! There were some devices many years ago to zero the volume when advertisements start but some marketing lobby stopped them to sell or built in to the TVs. Now I have to congratulate you...for me it is too late, I don't have TV for years now, because of the ads.
Merci! I think dumping the TV is the ideal solution. The internet is enough nowadays.
Excellent project. I need one of these. :D
Thanks! If you build one please share your experience. The Arduino program can benefit from more intelligence with additional timing parameters. I might update it in an upcoming version.

About This Instructable


121 favorites


Bio: Did I unplug the solder iron?
More by techbitar: IR Remote Control Station for Android - TURN THE TV DOWN SensoDuino: Turn Your Android Phone into a Wireless Sensors Hub for Arduino Modify The HC-05 Bluetooth Module Defaults Using AT Commands
Add instructable to: