So I bought an Arduino Uno last week and worked through the basic tutorials i could do with the equipment the kit i bought came with. Those went fine and I enjoyed them.
Now I'm working on my first project and the reason i bought an Arduino board in the first place. My goal is to use the Arduino, with the ethernet shield, to create an IR blaster for my home theater. The Arduino would wait for a connection from a program on my computer or an App on a smartphone and once connected, the program would send the Arduino codes which it will output via a few IR LED's therefore controlling my home theater.
To start, I'm trying just to read codes from my remotes and output them via the arduino. So far, the only thing that works is reading and repeating the codes from an Apple remote and controlling my Mac Mini. I was able to turn on my Xbox360 once but it wouldn't turn off and after that, it wouldn't work at all. My surround sound system and my TV have not responded to anything.
I've tried using Ken Shirriff's libraries but I can't get them to work. I've also tried using Ken's xbox360 update but that never worked.
When I read the power code from my Panasonic TV remote (N2QAYB000570), the code that's read by the Receive demo in Ken's Library isn't recognized, and I'm given the raw code.
Raw (76): 12726 3500 -1700 500 -400 450 -1250 500 -400 500 -350 500 -400 450 -400 500 -400 450 -400 500 -400 450 -400 500 -400 450 -400 500 -350 500 -1250 500 -400 450 -400 500 -400 450 -400 500 -400 450 -400 500 -350 500 -400 450 -400 500 -1250 500 -400 450 -400 500 -400 450 -400 500 -350 500 -400 500 -350 500 -400 450 -1300 450 -400 500 -1250 500 -1250 500
I could just use the "sendRaw" function but that requires the frequency the remote uses and I don't know that. I also have no idea how to find out.
Also to note: For my surround sound receiver, the code reader from the library reads it as NEC while the remote itself says its RC6. I tried sending it as both but neither worked.
I noticed in the comments on the blog post with the IR library, someone wrote a panasonic protocol but i couldn't get it to work. The receive function still didn't recognize code from my Panasonic TV remote. The send function produced compiler errors.
I have also tried using these tutorials from Ladyada (Here and here) but those also only worked for the Mac Mini again.
My circuit has been Arduino pinout -> 100 Ohm resistor -> IR LED -> Gnd. When checking to make sure the IR LED was even transmitting (with a camera), i noticed that the LED on the Arduino is much dimmer than the real remote. I removed the resistor and sure enough, it was brighter but still much dimmer than the real remote. I've seen places recommend a transistor and i plan on buying one to add but i don't see how it would help my current problems seeing as, even without the resistor, only the mac mini would work.
I apologize for the long post but I have spent 45 of the last 72 hours working on this to no avail. So my questions are these:
How can I get the IR libraries to work?
How can I find the frequency of IR signals without an oscilloscop?
What do i need to do to get the Panasonic protocol added and working?
Any general tips on getting this working or Arduino's in general?