Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

[AVR] Hacking IR Remote and controlling the TV using Arduino UNO, TSOP and IR LED

Status
Not open for further replies.

ambitious.probe

Newbie level 2
Joined
Oct 30, 2013
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Location
Karachi, Pakistan, Pakistan
Activity points
4
I want to control a TV (any genre) from Arduino UNO, instead of the remote of the TV. For this purpose I am trying to get the signals from Remote into arduino and then transmit the same codes from Arduino using an IR LED to the TV. For this purpose, I am following this tutorial http://www.instructables.com/id/How-to-control-your-TV-with-an-Arduino/?ALLSTEPS
However, I have decoded the signals and have got ON/OFF time in microseconds, according to the program but when I am trying to send the signals to TV, it is not working that is I am unabled to control the TV using Arduino and IR LED.

What is the mistake that I am making?
 

BrunoARG

Full Member level 4
Joined
Aug 15, 2014
Messages
214
Helped
38
Reputation
76
Reaction score
38
Trophy points
28
Location
Buenos Aires, Argentina
Activity points
2,177
Once you "see" the signal the remote control sends to the TV the only thing you have to do is save it in a few bits and transmit it again with the correct timing.

The transmission bit-to-bit delay can be measured so you can obtain that timing to send the data synchronically.

If you save the data bits in a "int" (16bit or 2 bytes variable) you could output the logic state of a bit in any pin and use the "<<" operator to send the next bit after a time you have already measured.

You must be wrong with the timing. If not, check the emitter LED: What kind is it in the remote control? Sometimes an about 33KHz emitter is used to avoid ambient light in the receiver.
 

ctownsend

Advanced Member level 2
Joined
Nov 27, 2004
Messages
574
Helped
93
Reputation
188
Reaction score
63
Trophy points
1,308
Location
Canada
Activity points
3,650
What is the mistake that I am making?
Get a logic analyzer. Measure the output of the remote. Then connect the logic analyzer to the output pin on your microcontroller to see if it is doing what it should.
 

BrunoARG

Full Member level 4
Joined
Aug 15, 2014
Messages
214
Helped
38
Reputation
76
Reaction score
38
Trophy points
28
Location
Buenos Aires, Argentina
Activity points
2,177
You could make your own logic analyzer with a parallel port or a MCU with a huge memory to save the adquired data and USB or serial communication to a pc. To search is a good option..
 

paulfjujo

Advanced Member level 4
Joined
Jun 9, 2008
Messages
1,390
Helped
280
Reputation
560
Reaction score
268
Trophy points
1,363
Location
France 01800
Activity points
9,719
hello,


i used this PC software to decod an IR telecommande for Pellets Heater.
. successfuly to find out the coding and then decode it with a PIC
need only a photodiode (PGH1) direct connected on Micro input of cardsound..
this test describeb HERE
 

BrunoARG

Full Member level 4
Joined
Aug 15, 2014
Messages
214
Helped
38
Reputation
76
Reaction score
38
Trophy points
28
Location
Buenos Aires, Argentina
Activity points
2,177
Check if the data sent by the MCU equals the one you measured with the sofware. Then, if it does check if the LED is emitting (with a cell phone camera you should see a violet light in the screen).
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top