Introduction: How to Add an IR Remote to a Speaker System
In this project I will show you how I created an additional circuit for my speaker system in order to control it wirelessly with a homemade IR remote. Let's get started!
Step 1: Watch the Video!
The video gives you an overview on what you need to do to create your own IR receiver and transmitter. During the next steps I will present you additional information.
Step 2: Order Your Parts!
Here you can find a parts list with example seller for your convenience (affiliate links):
Aliexpress:
1x Perfboard with copper dots: https://s.click.aliexpress.com/e/_dXx2Zv5
1x Arduino Pro Mini: https://s.click.aliexpress.com/e/_d62ALdV
1x ATmega328-PU: https://s.click.aliexpress.com/e/_dTETZT0
1x 16MHz Crystal: https://s.click.aliexpress.com/e/_dTSpuWK
2x 22pF Capacitor: https://s.click.aliexpress.com/e/_dU4FEsB
5x 10kΩ, 1x100Ω, 3x2kΩ Resistor: https://s.click.aliexpress.com/e/_dTPpXjt
1x IR LED: https://s.click.aliexpress.com/e/_dYXEUL8
4x Tactile Switch: https://s.click.aliexpress.com/e/_dXIIMcP
3x BC637 NPN BJT: https://s.click.aliexpress.com/e/_dW7Jg2S
1x Button Cell Holder: https://s.click.aliexpress.com/e/_d8ZuilC
1x Button Cell: https://s.click.aliexpress.com/e/_dXAu3XY
Amazon.de:
1x Perfboard with copper dots: http://amzn.to/2aAt9xO
1x Arduino Pro Mini: http://amzn.to/2aCkv3s
1x ATmega328-PU: http://amzn.to/2aCkIUm
1x 16MHz Crystal: http://amzn.to/2aAtcJW
2x 22pF Capacitor: http://amzn.to/2aAtcJW
5x 10kΩ, 1x100Ω, 3x2kΩ Resistor:http://amzn.to/2aAsWdV
1x IR LED: http://amzn.to/2aAsH2N
4x Tactile Switch: http://amzn.to/2aAtmB2
3x BC637 NPN BJT: http://amzn.to/2aCkPzl
1x Button Cell Holder: http://amzn.to/2aAt9Ot
1x Button Cell: http://amzn.to/2aCkKeP
Ebay:
1x Perfboard with copper dots: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...
1x Arduino Pro Mini: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...
1x ATmega328-PU: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...
1x 16MHz Crystal: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...
2x 22pF Capacitor: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...
5x 10kΩ, 1x100Ω, 3x2kΩ Resistor: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...
1x IR LED: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...
4x Tactile Switch: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...
3x BC637 NPN BJT: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...
1x Button Cell Holder: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...
1x Button Cell: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...
Step 3: Create the Circuit!
Here you can find the schematic as well as reference pictures for the transmitter and receiver. You can also find the schematic here: https://easyeda.com/GreatScott/IRRemote-j0cMKIGfh
Step 4: Upload the Code!
Here you can download the code that you need upload to your Arduino Pro Mini and ATmega328-PU before testing out your circuits.
Remember to download and include the necessary libraries in your folder:
IRRemote: https://github.com/z3t0/Arduino-IRremote
Step 5: Success!
You did it! You just created your own IR receiver and transmitter!
Feel free to check out my YouTube channel for more awesome projects:
http://www.youtube.com/user/greatscottlab
You can also follow me on Facebook, Twitter and Google+ for news about upcoming projects and behind the scenes information:
1 Person Made This Project!
- Lfrost088 made it!
7 Comments
6 years ago
I just love watching these videos. Not only are they highly informative, but relaxing as well.
6 years ago
why IRsend irsend; on code doesn't work ,the problem say : 'IRsend ' does not name a type
Reply 6 years ago
I had the same problem, try reinstalling the ir library and delete '#include<Irremote.h' and include it again with the Funktion 'include library' on the Arduino ide, then it should work ;)
Reply 6 years ago
thank you
6 years ago
Where in the code is the pin of the ir led stated? I can't seem to find it.
Reply 6 years ago
Look in the schematic
6 years ago
This one looks so creative..
I probably have to do a similar one in my set up soon...
Author- You have done a great job in power saving.. Thumbs UP