Panasonic TV needs longer code

Get help and show off your TV-B-Gone kit!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
bmpan
 
Posts: 3
Joined: Wed Sep 10, 2014 2:28 am

Panasonic TV needs longer code

Post by bmpan »

Hello!
I ported the V1.2 code to a ATmega16, because the tiny85 8k Flash is already about 99% full. The mega16 has 16k of Flash, allowing me to test the DEBUG options and other nice stuff :-)

It works pretty fine on my old JVC CRT TV, but it won't turn off my 32" Panasonic LCD TV.
The reason is: To turn off the Panasonic, I need to hold the ON/OFF button for about 1 ~ 1.5 seconds, while most of the codes transmit only a few 100 milliseconds. I get a reaction from the TV early in the code sequence; the LED flickers short to indicate it was hit by a correct code.

Would it help to modify the software in order to repeat all codes 2 or more times? I will try to find out the difference between a short press and a long press using my original remote and an oscilloscope. Would it repeat the whole code, or will it send the preamble once, and then kind of "repeat" code?

I will also add a serial interface to the software. Thus I can control the tv-b-gone via RS232, and find out which of the 114 EU codes is the Panasonic one.

User avatar
bmpan
 
Posts: 3
Joined: Wed Sep 10, 2014 2:28 am

Re: Panasonic TV needs longer code

Post by bmpan »

The following are the results for my original remote, using a DSO:
Carrier frequency: 36.72 kHz
Timing Table on/off in ms:
0.42 / 0.45
0.42 / 1.31
0.42 / 74.5
3.50 / 1.75

Code pairs: 50, taking about 60 ms

If on/off button is held down, the very same code sequence gets repeated after a blank time of 74.5 ms.

So I guess I just have to repeat the complete code. However I did not find any code in the database using 36.72 kHz, may be due to tolerances?

User avatar
bmpan
 
Posts: 3
Joined: Wed Sep 10, 2014 2:28 am

Re: Panasonic TV needs longer code

Post by bmpan »

Update ;-)
My TV is a Panasonic TX-D32LN73F. Like all Panasonic gear and some other brands, it is based on KASEIKYO protocol, aka Japan protocol.

My software is now ready to emit any single code out of the database. So I found the TV responds to code_eu004Code which is included in WORLDcodes.c

code_eu004Code has 100 code pairs. As KASEIKYO has 50 code pairs = bits including start and stop bit, it is clear to see that the code is already sent twice. However I have to repeat eu004 three times to turn off the TV, so we need to transmit the single code about 6 times. I will check that again using single code.

My single code is 0xC4, 0x00, 0x00, 0x04, 0x00, 0x00, 0x40, 0x00, 0x11, 0x54, 0x11, 0x54,0x70, using a code compression of 2 bits per index. We need only 4 timing pairs, see last post.

User avatar
namratha
 
Posts: 1
Joined: Fri Apr 03, 2015 3:03 am

Re: Panasonic TV needs longer code

Post by namratha »

Code: Select all

0000 0070 0000 0032 0080 003E 0011 000D 0011 002F 0011 000D 0012 000D 0011 000E 0011 000E 0011 000D 0011 000E 0011 000E 0011 000E 0011 000D 0011 000D 0011 000E 0011 002E 0012 000D 0011 000E 0011 000E 0011 000D 0012 000D 0011 000E 0011 000E 0011 000D 0011 000D 0011 002F 0011 000D 0011 000E 0011 000E 0011 000E 0011 000D 0012 000D 0011 000E 0011 000E 0011 002E 0011 000E 0011 002E 0012 002E 0011 002E 0012 002E 0011 000D 0011 000D 0011 002F 0011 000E 0011 002E 0011 002E 0011 002E 0011 002F 0011 000D 0011 002E 0011 0AB5
This is the hex code for panasonic remote(power on button) . I wanted to know the hex forme at and protocol what they are using .

Locked
Please be positive and constructive with your questions and comments.

Return to “TV-B-Gone Kit”