Go Down

Topic: arduino & TV communication using IR (Read 510 times) previous topic - next topic

D.J.B

Jun 23, 2011, 12:52 am Last Edit: Jun 23, 2011, 02:04 am by D.J.B Reason: 1
In this link:
http://www.arcfn.com/2009/08/multi-protocol-infrared-remote-library.html

the hardware side consists of a....
IR Receiver
IR Transmitter

if you just wanted to control a TV using the arduino you wouldnt need the receiver am i right or does the TV need to communicate back to the arduino?....
Infrared is completely  new for me :)

johnwasser

You would not need the receiver if you just want to control a TV from the Arduino and you know what codes to send.

The receiver will be handy if you don't know the codes to send and need to read them from the existing remote control.
Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

D.J.B

i was thinking about that aswell but i wasnt too sure, if i had to read the codes coming from the remote would i just hook the receiver up and get it to print the codes in to the serial monitor??

D.J.B

after doing some research i presume this might be a hard topic (for a beginner) :)
all the more fun! will i be able to transmit back out the code that i receive from the remote in hope that it will make the TV do what i want it to?
will codes need to be reversed?? :/

Big Oil

I had to use the receiver to figure out the code for each button:
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1277840151

If your remote isn't supported by the library you can use the raw codes like in this guy's strange project:
http://www.instructables.com/id/Fart-Operated-Random-Channel-TV-Remote/

Chagrin

There are two main types of sensors that work with infrared: infrared detectors (2 wire) and infrared receivers (3 wire). Receivers are tuned to listen to specific IR frequencies, normalize the signal, and filter out all the noise while detectors would leave all of this up to you. It's impractical to use an IR detector with a remote control as you will spend so much time worrying about ambient light and you'll have a hard time getting a clear signal at a distance of more than a few feet.

With IR receivers, you need to be careful in selecting your IR receiver module because the various modules are designed to work with specific, branded IR remote protocols. I.e. Sony is different than Panasonic. There are also modules for "learning remotes" that accept a wide range of protocols and "fixed gain" modules that are the only type that have no requirements as to the timing required for a "low" in the 38khz pulse frequency sent to them. A good chart can be found at the Vishay web site with respect to the variety that is out there: http://www.vishay.com/ir-receiver-modules/. If you poke around in their datasheets you'll find descriptions of the IR pulse patterns that they are each designed to detect.

The PNA4601M receiver that Big Oil's link uses appears to be a fixed gain receiver.

D.J.B

i understand how it all works just wondering if someone can assist abit more in the receiving and converting the code part :)

Go Up