Noob question - Hex Codes

USB infrared remote control receiver/transmitter. Get one for $20, including worldwide shipping.

Noob question - Hex Codes

Postby tempmj » Fri Nov 30, 2012 3:07 pm

It's been forever since i've played with my IRToy and i've forgotten everything i've learned about it. I have updated the firmware using update-USBIRToy.v22.bat and can communicate with WinLIRC to send a code from a library they provided. However what i'm trying to do is send a hex code. All the WinLIRC codes i found seemed to be raw codes. From my remote control vendor, the hex code list is below. How do i send these hex codes with the USB IR Toy? What program/procedure would i use? Sorry for the dumb question, i've searched the forum and couldn't find the information.

30 : KEY_0
31 : KEY_1
32 : KEY_2
33 : KEY_3
34 : KEY_4
35 : KEY_5
36 : KEY_6
37 : KEY_7
38 : KEY_8
39 : KEY_9
0C : DELETE (CLEAR)
0D : ENTER
AF : VOL_UP
AE : VOL_DOWN
9E : CHANNEL_UP
9D : CHANNEL_DOWN
99 : GUIDE
AD : MUTE
9C : LAST (RECENT)
1B : EXIT (EXIT_TO_TV)
5D : KEY_A (WIN95_APP)
88 : KEY_B (APP2)
89 : KEY_C(APP3)
2F : INFO
25 : LEFT
26 : UP
27 : RIGHT
28 : DOWN
2B : OK
B1 : BACK
8A : GO_INTERACTIVE (APP4)
12 : MENU
E4 : VIDEO_ON_DEMAND
9A : RECORDED_TV
A8 : REPLAY
B0 : SKIP
A9 : STOP
13 : PAUSE
FA : PLAY
E1 : RECORD
95 : REWIND
94 : FAST_FORWARD
00 : NONE
E9 : POWER (POWER_TOGGLE)
8C : KEY_RED (RED)
8D : KEY_GREEN (GREEN)
8E : KEY_YELLOW (YELLOW)
8F : KEY_BLUE (BLUE)
E6 : OPTIONS
E3 : TELETEXT
B3 : PLAY_PAUSE
E7 : FAVORITES
EA : DUAL (ALTAUDIO)
EB : SEARCH
EC : HELP (APP5)
ED : EXCLUSIVE (APP6)
Check out my site at http://www.controllerprojects.com I'm always open for some input or suggestions
User avatar
tempmj
Jr. Member
Jr. Member
 
Posts: 98
Joined: Mon Jul 12, 2010 9:27 pm
Location: Virginia

Re: Noob question - Hex Codes

Postby RadiatorTwo » Fri Nov 30, 2012 4:22 pm

You can use WinLirc with such Hexcodes.
A config would look like below. (Example for one of my Remotes)
The Problem here will be the Header with the data of your remote. If all your configs are in RawMode my config won´t help you I think.
But you can try to create a header with irrecord from WinLirc.
Also you can record the signals with irrecord if the hexcodes won´t work.

Code: Select all
begin remote

  name  Philips TV
  bits            8
  flags RC6|CONST_LENGTH
  eps            30
  aeps          100

  header       2667   889
  one           444   444
  zero          444   444
  pre_data_bits   13
  pre_data       0xEFF
  gap          108000
  toggle_bit_mask 0x10000
  rc6_mask    0x10000

      begin codes
          power                    0xF3
          source                   0xC7
          teletext                 0xC3
          display                  0xA2
          subtitle                 0xB4
          format                   0x0A
          red                      0x92
          green                    0x91
          yellow                   0x90
          blue                     0x8F
          guide                    0x33
          info                     0xF0
          ok                       0xA3
          up                       0xA7
          down                     0xA6
          left                     0xA5
          right                    0xA4
          menu                     0xAB
          option                   0xBF
          volup                    0xEF
          voldown                  0xEE
          mute                     0xF2
          chup                     0xDF
          chdown                   0xDE
          1                        0xFE
          2                        0xFD
          3                        0xFC
          4                        0xFB
          5                        0xFA
          6                        0xF9
          7                        0xF8
          8                        0xF7
          9                        0xF6
          0                        0xFF
          mhegcancel               0xCE
          pp                       0xF5
      end codes

end remote
RadiatorTwo
Newbie
Newbie
 
Posts: 17
Joined: Sat Nov 24, 2012 7:39 am

Re: Noob question - Hex Codes

Postby dukey » Mon Dec 03, 2012 8:03 am

You can use irrecord to turn a raw config into hex codes. I can't remember how exactly but it should work. Just load irrecord via command line with the correct plugin and the config name

http://www.lirc.org/html/irrecord.html

Try those with the windows version, it should work.
dukey
Full Member
Full Member
 
Posts: 208
Joined: Thu Jul 08, 2010 2:18 pm


Return to USB Infrared Toy