Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Controlling a TV

Status
Not open for further replies.

ChriX

Member
I have a problem in that I need to send a button press over infra-red to a Panasonic TV when it is turned on. So, TV and PIC circuit are turned on, then after a second or two the PIC will send the infra red signal, in this case to switch the TV into AV mode.

I found an rdf file that works with my TV using iR Shell on my PSP. The contents are as follows, but obviously with more than one button defined:

Code:
CIRCLE=AV
0000 0070 0000 0032 007f 0041 0010 0010 0010 0030 0010 0010 0010 0010 000f 0010 0010 0010 0010 0010 0010 0010 0010 0010 000f 0010 0010 0010 0010 0010 0010 0010 0010 0030 0010 0010 000f 0010 0010 0010 0010 0012 000f 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0030 000f 0010 0010 0010 0010 0010 0010 0010 000f 0010 0010 0010 0010 0010 0010 0010 0010 0030 0010 0010 000f 0030 0010 0010 0010 0010 0010 0011 0010 0010 0010 0010 0010 0030 0010 0010 000f 0030 0010 0010 0010 0010 0010 0010 0010 0010 000f 0030 0010 0ac1

This code has the desired effect when in use on the PSP, but I have no idea where to start to try and get the PIC to transmit the same signal using an LED.

Help? :)
 
You might have a look at my IR PIC tutorial, which uses Sony SIRC's codes, but shows how to transmit IR codes from a PIC - you would just need to work out what the code has to be!.
 
Ahha, I didn't realise you had a tut on this. Is this Sony code a standard that Sony happened to create or is it only used by Sony equipment?
 
Not up on all remote protocols, but I can tell you Sony will not work on other equipment. The all-in-one remotes, you select from a table on brands (Sony, Sanyo, etc) and some have multiple types..

Sony DSS is one of the worst ones.

If you add a IR rx to your design, you can train if from your TV remote control, digitize it in RAM and send it back out of your IR tx. Some universal remotes have this and they call it learning mode.
 
ChriX said:
Ahha, I didn't realise you had a tut on this. Is this Sony code a standard that Sony happened to create or is it only used by Sony equipment?

As far as I know only Sony use SIRC's, but it's a nice simple system to both receive and transmit.

Generally manufacturers tend to use their own specific remote control systems, except many manufacturers use the Philips RC5 system - basically because Philips are a component and IC manufacturer as well as a TV manufacturer.
 
Thanks for that last link, the PowerIR software looks to be just what I need. Tried to get some phototransistors in but for some reason Rapid have sent me bi-colour LEDs labelled as phototransistors. :?
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top