Your Universal Remote Control Center
RemoteCentral.com
Discrete Code Hunter Forum - View Post
Previous section Next section Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Topic:
R HEX codes
This thread has 14 replies. Displaying all posts.
Post 1 made on Saturday January 1, 2011 at 20:42
xenton
Long Time Member
Joined:
Posts:
July 2008
11
Was looking for discrete codes for my new hitachi 42' LCD TV and found some to try on the hitachi website, trouble is they aren't in pronto hex format they are here:

[Link: hitachi-america.us]

I have just started reprogramming my RU940 after about 2 years (have now replaced every device on there)

Is there some way to convert them into the right format?

Tanks in advance.
Post 2 made on Saturday January 1, 2011 at 21:11
3FG
Select Member
Joined:
Posts:
August 2009
1,861

We know that Hitachi uses the NEC1 IR protocol. The document shows AV1 as 50AF 21DE  The  left 2 (hexadecimal) digits are the device number: 50 hex or 80 in decimal notation.  The AF is the binary complement of 50, so 50 +AF add to FF.  This is the standard NEC approach, so it is only necessary to specify the first 2 digits.  The function number is 21 hex or 33 in decimal.

You can convert 50 21 to Pronto Hex using www.monmailbox.com/~raph//irhex_converter.html.  Don't worry that it says Yamaha; both companies use NEC1.
It should look like
0000 006D 0022 0002 0155 00AA 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0015 0015 0040 0015 0015 0015 0040 0015 0040 0015 0040 0015 0040 0015 0015 0015 0040 0015 0015 0015 0040 0015 0040 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0015 0015 0015 0015 0015 0015 0040 0015 0040 0015 0040 0015 0040 0015 0015 0015 0040 0015 0040 0015 05ED 0155 0055 0015 0E47

More generally, you can use MakeHex and the MakeHex GUI to generate the Pronto Hex for nearly any IR protocol (not just NEC).
MakeHex
Makes clean IR sequences from IR protocol files. See the readme file for more information. [Link: hifi-remote.com]
MakeHex GUI[Link: hifi-remote.com]]

 

OP | Post 3 made on Saturday January 1, 2011 at 21:51
xenton
Long Time Member
Joined:
Posts:
July 2008
11
Thank you so much, I had downloaded makeHEX but gave up as there was no hitachi.irp, but there is a NEC1. thanks for the link, and for making me aware their is a GUI for makeHEX.

I am very grateful. If it would be useful how would I go about getting the generated pronto hex codes added to the database for others to use?

Thanks again.
OP | Post 4 made on Saturday January 1, 2011 at 22:58
xenton
Long Time Member
Joined:
Posts:
July 2008
11
Hmm,

I got the codes across to my device fine but they will not operate the TV. It is a L42VC04 Hitachi LCD. The remote is an RC 1800. I put a learned code through decode CCF and it was telling me that the protocol was RC5 device ID 12

I'm going to bed now as its late here will try again in the morning.
OP | Post 5 made on Tuesday January 4, 2011 at 17:11
xenton
Long Time Member
Joined:
Posts:
July 2008
11
Have tried a few codes from the Hitachi website now and still no luck. I fired off an email to [email protected] and got the unhelpful response "I am sorry to advise that I am unable to make available any discrete IR codes for your Hitachi L42VC04 TV."

I will try some more codes at the weekend, any suggestions welcome (for HDMI 1, HDMI2, AV1, power off and power on)
OP | Post 6 made on Tuesday January 4, 2011 at 17:14
xenton
Long Time Member
Joined:
Posts:
July 2008
11
Just another quick thought: would it be possible to generate all possible device codes from one of the learnt codes from the actual remote and try all those?

How would I go about doing that?
Post 7 made on Tuesday January 4, 2011 at 17:47
johnsfine
IR Expert
Joined:
Posts:
September 2002
5,159
On January 1, 2011 at 22:58, xenton said...
I put a learned code through decode CCF and it was telling me that the protocol was RC5 device ID 12

Are you sure that was device ID 12, not function 12?

If it was device ID 12, what function number was decoded by decodeCCF and what function was it?

If it was the power toggle signal (in rc5, almost always function number 12) what device ID was it?

On January 4, 2011 at 17:14, xenton said...
Just another quick thought: would it be possible to generate all possible device codes from one of the learnt codes from the actual remote and try all those?

It is very easy with MakeHex to generate all possible function codes for one device ID of RC5 protocol.

A typical device would have the same protocol (such as RC5) and same device ID for all its commands and different function numbers for each command.

When using MakeHex to create all 128 possible function codes for one RC5 device ID, there are a variety of possible automated methods for building a CCF file containing those codes on 128 numbered buttons for testing. The Hex2CCF program is one of the simpler command line methods.

I haven't looked at the current status of GUI tools connected to MakeHex, so there may be even easier ways to get the results into a CCF file than there were when I last did such things.

Warning: Some stupid manufacturer of TV's once built in a command to erase the firmware of the TV (making the TV useless) upon receipt of a specific RC5 function code that could not be generated by the original remote, but was included in the set of codes generated by MakeHex (and was also an ordinary command on the remote of a similar TV from a different manufacturer). I don't think Hitachi is doing anything that stupid in their TV's, but my advice on how to use MakeHex should not be considered as indicating that I am certain Hitachi has not built in something that stupid.

BTW, the NEC1 codes you linked in the first post are ordinary Hitachi TV codes. An RC5 code is not. If you really learned the Hitachi remote TV button you thought you learned and DecodeCCF decoded it the way you said (you read the output of DecodeCCF correctly) then I suspect Hitachi put their brand name on a TV that was designed for a different brand.

Last edited by johnsfine on January 4, 2011 18:08.
Post 8 made on Tuesday January 4, 2011 at 19:27
Jasonvp
Select Member
Joined:
Posts:
July 2008
2,404
I checked the Nevo database and they a L42VC04U which uses RC5 and Device Number 1.

E.G.
Power Toggle
5000 0000 0000 0001 0001 000C

There were no discrete's listed but that doesn't mean they don't exist though. You will just have to generate and test them all as said above.
OP | Post 9 made on Thursday January 6, 2011 at 03:25
xenton
Long Time Member
Joined:
Posts:
July 2008
11
Thanks very much for that helpful information, It was the power toggle I learned so it probably was function 12 rather than device 12. Thanks for your warning, I will try generating all possible codes, just to see if it does have any discrete codes.
OP | Post 10 made on Saturday January 8, 2011 at 14:21
xenton
Long Time Member
Joined:
Posts:
July 2008
11
Hopeful progress -

Spent ages banging my head against a brick wall as IR panels eouldn't work for me and I couldn't get hex2ccf to work all because my file had a .HEX rather than a .hex extension, changed that and got a ccf file but not a correct conversion, however one of the buttons appeared to be a discrete code for selecting the digital TV tuner only doable off the factory remote with a source toggle button.

The command ID has to be in binary for hex2ccf so have just changed that and have a better looking ccf, with all the buttons in order now (before I and not enough buttons or panels and the number 5 repeated many times).


There are discretes for input TV and DTV and strangely codes that will take you straight to the various subsections of the main menu. There are discretes for stereo and mono sound. My mind boggles as to why they would put any of these in but no useful discrete on/off or useful inputs.

At least I have learnt how to get the protocol and device number form a remote any then get all the possible codes into a CCF, so not a complete waste I suppose.

Last edited by xenton on January 8, 2011 14:49.
Post 11 made on Saturday January 8, 2011 at 14:57
Jasonvp
Select Member
Joined:
Posts:
July 2008
2,404
When using IR Panels make sure the MakeHex Output file is set to Decimal otherwise it will not work.

When importing or pasting RC5 hex codes into ProntoEdit the hex string will still start with 0000. If you want even cleaner codes you need to enter them manually in the 'Button Properties/Action/Add IR' and select the 'Advanced' Button'. Then select RC5 and enter 1 (one) as the 'System Code' and the 'Function Number' from MakeHex which matches the Function you need will be the 'Command Code'. This will give you a hex code that starts with '5000' which will eliminate any Toggle Bit problem.

It is odd it doesn't have ON and OFF seeing it has all those other ones. Maybe they are using a different System Code (Device Number for them) or even using RC5x or RC6 codes. Really need the info from Hitachi.

Last edited by Jasonvp on January 8, 2011 15:29.
Post 12 made on Saturday February 19, 2011 at 06:21
PS2
Long Time Member
Joined:
Posts:
October 2005
76
Thanks for all the information posted here.

I have a Hitachi Plasma TV and have been unable to find the discrete codes for HDMI input.

I have been able to confirm that the TV uses the NEC codes. However, besides finding some IR codes using device code 50 for basic functions like digits, volume, power, I have been unable to find any of the other functions on the remote nor any discretes for HDMI which makes me believe that another device code is used.

Is there any way to reverse engineer the device code from the hex code read by the Pronto?
Post 13 made on Saturday February 19, 2011 at 13:04
3FG
Select Member
Joined:
Posts:
August 2009
1,861
I can't tell what you want to do, or what remote you'd like to use.

However, you can use IRTool to convert Pronto Hex to IR protocol, device and function numbers for common IR protocols.

Device 50 is (using NEC1 IR protocol) is the typical device number for Hitachi TVs.  Note however, that most of us would refer to it as device 80, which is the decimal equivalent of 50 (hexadecimal format).  This link shows that the discretes are also device 80.  Bear in mind that your TV may not support discrete input functions.

HDMI 2 Device Code: 80 (0x50) Function: 32 (0x20)
0000 006D 0022 0002 0157 00AC 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0016 0015 0041 0015 0016 0015 0041 0015 0041 0015 0041 0015 0041 0015 0016 0015 0041 0015 0016 0015 0041 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0016 0015 0016 0015 0041 0015 0041 0015 0041 0015 0041 0015 0041 0015 0016 0015 0041 0015 0041 0015 0689 0157 0056 0015 0E94

Input 1 Device Code: 80 (0x50) Function: 33 (0x21)
0000 006D 0022 0002 0157 00AC 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0016 0015 0041 0015 0016 0015 0041 0015 0041 0015 0041 0015 0041 0015 0016 0015 0041 0015 0016 0015 0041 0015 0041 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0016 0015 0016 0015 0016 0015 0041 0015 0041 0015 0041 0015 0041 0015 0016 0015 0041 0015 0041 0015 0689 0157 0056 0015 0E94

Input 2 Device Code: 80 (0x50) Function: 34 (0x22)
0000 006D 0022 0002 0157 00AC 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0016 0015 0041 0015 0016 0015 0041 0015 0041 0015 0041 0015 0041 0015 0016 0015 0041 0015 0016 0015 0041 0015 0016 0015 0041 0015 0016 0015 0016 0015 0016 0015 0041 0015 0016 0015 0016 0015 0041 0015 0016 0015 0041 0015 0041 0015 0041 0015 0016 0015 0041 0015 0041 0015 0689 0157 0056 0015 0E94

Input 3  Device Code: 80 (0x50) Function: 35 (0x23)
0000 006D 0022 0002 0157 00AC 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0016 0015 0041 0015 0016 0015 0041 0015 0041 0015 0041 0015 0041 0015 0016 0015 0041 0015 0016 0015 0041 0015 0041 0015 0041 0015 0016 0015 0016 0015 0016 0015 0041 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0041 0015 0041 0015 0016 0015 0041 0015 0041 0015 0689 0157 0056 0015 0E94

Input Front Device Code: 80 (0x50) Function: 36 (0x24)
0000 006D 0022 0002 0157 00AC 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0016 0015 0041 0015 0016 0015 0041 0015 0041 0015 0041 0015 0041 0015 0016 0015 0041 0015 0016 0015 0041 0015 0016 0015 0016 0015 0041 0015 0016 0015 0016 0015 0041 0015 0016 0015 0016 0015 0041 0015 0041 0015 0016 0015 0041 0015 0041 0015 0016 0015 0041 0015 0041 0015 0689 0157 0056 0015 0E94

HDMI Front Device Code: 80 (0x50) Function: 37 (0x25)
0000 006D 0022 0002 0157 00AC 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0016 0015 0041 0015 0016 0015 0041 0015 0041 0015 0041 0015 0041 0015 0016 0015 0041 0015 0016 0015 0041 0015 0041 0015 0016 0015 0041 0015 0016 0015 0016 0015 0041 0015 0016 0015 0016 0015 0016 0015 0041 0015 0016 0015 0041 0015 0041 0015 0016 0015 0041 0015 0041 0015 0689 0157 0056 0015 0E94

HDMI 1 Device Code: 80 (0x50) Function: 61 (0x3D)
0000 006D 0022 0002 0157 00AC 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0016 0015 0041 0015 0016 0015 0041 0015 0041 0015 0041 0015 0041 0015 0016 0015 0041 0015 0016 0015 0041 0015 0041 0015 0016 0015 0041 0015 0041 0015 0041 0015 0041 0015 0016 0015 0016 0015 0016 0015 0041 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0041 0015 0689 0157 0056 0015 0E94

Air/Cbl Device Code: 80 (0x50) Function: 118 (0x76)
0000 006D 0022 0002 0157 00AC 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0016 0015 0041 0015 0016 0015 0041 0015 0041 0015 0041 0015 0041 0015 0016 0015 0041 0015 0016 0015 0041 0015 0016 0015 0041 0015 0041 0015 0016 0015 0041 0015 0041 0015 0041 0015 0016 0015 0041 0015 0016 0015 0016 0015 0041 0015 0016 0015 0016 0015 0016 0015 0041 0015 0689 0157 0056 0015 0E94
Post 14 made on Saturday February 19, 2011 at 19:11
PS2
Long Time Member
Joined:
Posts:
October 2005
76
On February 19, 2011 at 13:04, 3FG said...
I can't tell what you want to do, or what remote you'd like to use.

However, you can use IRTool to convert Pronto Hex to IR protocol, device and function numbers for common IR protocols.

Thanks for the suggestion. I will give IRTool a try.

I tried the hex code for HDMI 1 and it does not work for me.
Post 15 made on Wednesday December 14, 2011 at 13:35
RemoteQuest
Long Time Member
Joined:
Posts:
October 2008
245
Any new help on Hitachi TV codes? I know this thread is pretty old.

Hitachi has several ccf downloads on their site but they have stopped adding any since 2009. I have a client with a 2010 slim LED set model LE22S314 and it does not respond to any of the previous Hitachi codesets, even "good" sets from Only One Remote using 2-3 different code sets they have offered.

I talked with their tech support and it appears Hitachi outsourced this model from a company named Orion. Their tech support is no help at all unfortunately.

I am going to try and learn a few commands from the client original remote and decode them and see if I learn anything new.

I am also trying codes learned in from the Nevo DB as suggested earlier in this post. The ones for the Hitachi model L42VC04U from Nevo indeed learned in as RC5 codes.

Dave
RemoteQuest


Jump to


Protected Feature Before you can reply to a message...
You must first register for a Remote Central user account - it's fast and free! Or, if you already have an account, please login now.

Please read the following: Unsolicited commercial advertisements are absolutely not permitted on this forum. Other private buy & sell messages should be posted to our Marketplace. For information on how to advertise your service or product click here. Remote Central reserves the right to remove or modify any post that is deemed inappropriate.

Hosting Services by ipHouse