Remote Control for T.V.

Hello,

I am trying to capture the codes emitted by an Infrared remote control and play them back in order to automate my home theater. I am using a "Jeteye PC" infrared receiver/transmitter (it converts the IR pulses into information that the standard RS232 interface uses).

I can not seem to figure out how to capture the data that this device sends to my serial port. I have tried several ways and I can only receive the odd peice of the data. I am quite new to VB2005, I used to use VB4, but it is not like riding a bike and I have lost a lot of my skill.

Has anyone tried this sort of idea if so, could you be nice enough to share some experience / source code

Thank you



Answer this question

Remote Control for T.V.

  • mitasid

    Thank you,

    I will give hyperterminal a try, I didn't even think of that. I have played around with VB2005 serial port item with little success. It looks like it is a powerfull item that you can use, however I guess it is an experiance kind of thing. I will let you know how this works, if it does...

    thanks again,

    Chris


  • Dawa

    Oh, Oh, Serial Port question!

    Your first bet is to use hyperterminal to ensure that you can capture reliably (or not!) and have a look at what data you do capture. You'll have to decipher the protocol, to a certain extent, because you want to know exactly what a 'message' consists of.

    Then, create a program in VB that replicates the ability to capture data. VB has a serial port control in the tool box. Put it on a form, and hit the good old standby key (F1) to get help on that control. I've been poking around it and it looks pretty good: now I just need a computer with a serial port... .

    Hope that gets you started.



  • Remote Control for T.V.