Author Topic: IR code?  (Read 5365 times)

0 Members and 1 Guest are viewing this topic.

Offline hmmpicTopic starter

  • Newbie
  • Posts: 5
IR code?
« on: September 13, 2010, 02:42:43 pm »
Hello

I working on a IR remote for a Panasonic heat pump. But I cant find any information on the IR.

I have make some measurement on the IR code and here are the logic dump.



What I found is:
When looking at the smallest pulse it is: 435us, this mean that it start with:
8 Low (pulses) - 3 High (pulses)
From Trigger to marker B is always the same!! It start with 8L then 3H
From Marker B to D is the one there change. It start with 8L then 3H

Is there some help?
 

Offline hmmpicTopic starter

  • Newbie
  • Posts: 5
Re: IR code?
« Reply #1 on: September 13, 2010, 03:04:02 pm »
Hi

My explanation is maybe bad.
The 8L and 3H is equal to 8*435=3,4ms / 3*435=1,3ms.
The starting point is at Trigger then you see L for 3,4ms and then H for 1,3ms.
After it the code came. Then you see a long H=(about)10ms. Then the real part start with the same 8L=3,4ms and 3H=1,3ms.
A L is 1*435.
A H is 2*435.

All above is just my best guess.
 

Offline hmmpicTopic starter

  • Newbie
  • Posts: 5
Re: IR code?
« Reply #2 on: September 13, 2010, 03:43:55 pm »
Hi

The problem is not to decode this dump, but figure out how the code is build up:-) I can decode it by hand myself(now I save 60$).
There are lot of keys on the remote, therefore it is not this dump but the data structure i'am looking fore.
You think the same as my first guess 8bit=1byte but maybe Panasonic have some special structure in the ir code.

Hints?
 

Offline scrat

  • Frequent Contributor
  • **
  • Posts: 608
  • Country: it
Re: IR code?
« Reply #3 on: September 13, 2010, 03:49:29 pm »
It is important that you tell us if this signal is taken from the LED voltage or the logic chip (MCU or other) IO pin. Usually there is some encoding in the middle: IR signaling is usually modulated on top of a square-wave carrier, so that anything that is not varying at a certain frequency (36kHz, a site says) is not considered to be signal. This is to make transmission more robust.
However, 1/(2*435us) -> 46kHz is not a standard frequency
http://en.wikipedia.org/wiki/Consumer_IR

Perhaps your timing measure could be not that accurate, and the signal is a 36kHz standard one. Look on the net for RC-5 and RC-6 standards.
One machine can do the work of fifty ordinary men. No machine can do the work of one extraordinary man. - Elbert Hubbard
 

Offline hmmpicTopic starter

  • Newbie
  • Posts: 5
Re: IR code?
« Reply #4 on: September 16, 2010, 02:07:31 pm »
Little confusing about this ir code from the Panasonic remote.

I now hook a ir-transistor and a normally scope(Rigol) to look at the freq. It is 36Khz!

Then I use a logic analyzer and a IR-module with 36Khz (SFH5110-36) and here are some logic dump.

The IR1 and IR2 is one key press on the remote!
IR1 is send first and is _not_ changing at all, all time the same.
IR2 is the part there change with the key on the remote.

I looked at the RC6 code but this will not fit in it.

You see a marker "C" on both dump, it is the overlap in the too print!

IR1:

IR2


 

Offline migsantiago

  • Frequent Contributor
  • **
  • Posts: 381
  • Country: 00
    • MigSantiago's Web Site
Re: IR code?
« Reply #5 on: September 16, 2010, 02:49:11 pm »
I've decoded the RC6 protocol used in the Xbox 360 media remote controller.

Maybe it can help you:

http://www.migsantiago.com/index.php?option=com_content&view=article&id=11:protocolo-rc6-y-media-remote-control-xbox-360&catid=2:articulo&Itemid=27

I also made a simple encoder to clone one of the buttons of the controller.
 

Offline scrat

  • Frequent Contributor
  • **
  • Posts: 608
  • Country: it
Re: IR code?
« Reply #6 on: September 16, 2010, 03:40:28 pm »
The IR1 and IR2 is one key press on the remote!
IR1 is send first and is _not_ changing at all, all time the same.
IR2 is the part there change with the key on the remote.

I looked at the RC6 code but this will not fit in it.

You see a marker "C" on both dump, it is the overlap in the too print!

I'm not sure I understand right: is IR1 a zoom of IR2?
It would be very helpful if you set time scale to 0.889ms (one base time in RC-6 standard), or if you could export raw data (then it will be easy to make a plot with the desired scale).
One machine can do the work of fifty ordinary men. No machine can do the work of one extraordinary man. - Elbert Hubbard
 

Offline hmmpicTopic starter

  • Newbie
  • Posts: 5
Re: IR code?
« Reply #7 on: September 18, 2010, 04:35:52 pm »
@migsantiago
Thanks for the nice link, it help me going on:)
I now have a working pic code generator. It was not RC6 coding, what it is I still don't know.
 ;)
 

Offline migsantiago

  • Frequent Contributor
  • **
  • Posts: 381
  • Country: 00
    • MigSantiago's Web Site
Re: IR code?
« Reply #8 on: September 18, 2010, 05:12:48 pm »
@migsantiago
Thanks for the nice link, it help me going on:)
I now have a working pic code generator. It was not RC6 coding, what it is I still don't know.
 ;)

Well, I am not 100% that the xbox media controller uses RC6. The only proof I have is the tiny sitcker the controller has... it says RC6 ir.  :P
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf