Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Feeler: Interest in a universal IR to RS232 control box for CBIII

  1. #1
    Member
    Join Date
    Jun 2011
    Location
    Beverly Hills, CA
    Posts
    27

    Lightbulb Feeler: Interest in a universal IR to RS232 control box for CBIII

    I have pretty much all URC remotes for my various home systems, a lot of MX850s and several KP900s. There is no good, reasonably priced option from URC or even RTI for building an IR code sheet that will activate all of the Theta CBIII's RS232 discreet functions. I looked at the Xantech converter box but it is (a) pricey and (2) requires purchase of other components to make it work and (c) the programming of it looks tedious and rediculous.

    What I am working on is a "universal" ready-to-go black box that will accept standard IR codes from any universal remote and map them to the Theta RS232 commands automatically. The box is about the size of a pack of cigs, has an IR jack input and IR receiver window for accepting IR commands from any control system, and an RS232 output for direct connect to the Theta.

    The IR code sets and RS232 mappings are stored inside the black box. It is all plug and play. No time consuming configurations needed, all the "hard work" is done.

    I built a code sheet which has 80 different IR commands which map to 80 of the most common discreet functions on the Theta CBIII, full list below. The IR command set is also contained separately in a CCF file (Pronto CCF format, universal use with URC, RTI, etc) for easy import into your preferred remote control editing program. All you do is plug in the black box to power, rs232 to CBI - CBII - CBIII, stick an IR emitter on the blakc box or use the IR input jack, and then import the IR codes from the CCF file to your remote as appropriate.

    In short, by using the black box for IR to RS232 translation, you can access all of the Theta CBIII's discreet functions easily via any universal remote that can be edited.

    I'm trying to gauge level of interest from anyone else who might want one. cost of this project is about $300 and can be readily duplicated. Further commands can be added at any time, and I see no reason why this could not also work for any other RS232 device such as a GEN VIII, amps, etc.

    Mapped command list:

    CBIII Command/Function

    1. Select Input 1
    2. Select Input 2
    3. Select Input 3
    4. Select Input 4
    5. Select Input 5
    6. Select Input 6
    7. Select Input 7
    8. Select Input 8
    9. Select Input 9
    10. Select Input 10
    11. Select Input 11
    12. Select Input 12
    13. User Mute / Toggle Mute
    14. Source Change / Set Source 1
    15. Source Change / Set Source 2
    16. Source Change / Set Source 3
    17. Source Change / Set Source 4
    18. Source Change / Set Source 5
    19. Source Change / Set Source 6
    20. Power Main / Into Standby
    21. Power Main / Out of Standby
    22. Power Remote / Cycle
    23. Mode Select - Matrix
    24. Mode Select - Special Matrix
    25. Mode Select - Stereo
    26. Mode Select - Analog Direct
    27. Mode Select - Analog Matrix
    28. Mode Select - Mono
    29. Mode Select - Circle II Cinema
    30. Mode Select - Circle II Music
    31. Mode Select - Circle II Mono Matrix
    32. Mode Select - Pro Logic Iix Movie
    33. Mode Select - Pro Logic Iix Music
    34. Mode Select - Pro Logic Iix Mono Mx
    35. Mode Select - DTS NEO:6 Cinema
    36. Mode Select - DTS NEO:6 Music
    37. Master Volume, Increment
    38. Master Volume, Decrement
    39. Button 1
    40. Button 2
    41. Button 3
    42. Button 4
    43. Button 5
    44. Button 6
    45. Button A/D
    46. Button Mute
    47. Button Mode
    48. Button Tape Out
    49. Button Setup
    50. Button Balance
    51. Button Display IR
    52. Button Power Main
    53. Button Up
    54. Button Down
    55. Button Power Remote
    56. Button Status
    57. Button Left
    58. Button Right
    59. Button Phase
    60. Button Select Up
    61. Button Select Down
    62. Button Power Standby
    63. Button Power Activate
    64. Level Center Up
    65. Level Center Down
    66. Level Rear Left Up
    67. Level Rear Left Down
    68. Level Rear Right Up
    69. Level Rear Right Down
    70. Level Side Left Up
    71. Level Side Left Down
    72. Level Side Right Up
    73. Level Side Right Down
    74. Level Sub 1 Up
    75. Level Sub 1 Down
    76. Level Sub 2 Up
    77. Level Sub 2 Down
    78. Level Sub 3 Up
    79. Level Sub 3 Down
    80. Level Sub 4 Up
    81. Level Sub 4 Down
    Last edited by SysOp; 08-09-2011 at 09:07 AM.
    Regards,
    Kurt

  2. #2
    Site Founder And Administrator amirm's Avatar
    Join Date
    Apr 2010
    Location
    Seattle, WA
    Posts
    7,258
    Interesting project. How do you map the button to the RS-232 code? Surely it is not a random assignment of 81 keys to 81 codes. Wouldn't that necessitate having a configuration software? And how about sequencing such as power on and select input X?
    Amir
    Founder, Madrona Digital Audio, Video, Home Automation
    Contributing Editor, Widescreen Review Magazine

  3. #3
    Member
    Join Date
    Jun 2011
    Location
    Beverly Hills, CA
    Posts
    27
    Amir- The "mapping" is all done inside the black box. It contains the set of 81 RS232 codes as in my list above. Each of the Rs232 codes is mapped to a corresponding IR code. so when the box receives say, the IR code for #1 Select Input 1, it outputs the mapped RS232 code for Input 1 to the Theta.

    As far as macros and sequentials, you do that through your remote control editing software (Pronto, RTI, URC etc). You would simply create a new device in your remote software editor called "CBIII" (or whatever), then open the CCF file that contains the IR commands for the black box (all of these editors will open CCF files), and then copy / paste each IR code to your newly created device. You use your remote control editor software to create the macros / sequentials based on the individual IR codes learned from the CCF file.

    It is the exact same process as setting up any device within a software-editable remote control product. Example, if you create a device in your remote called "DirecTV" and import / learn the codes for it's commands, each of those learned commands is an individual IR code. You use your remote software to then create the macros / sequentials. Same process / concept.

    Make sense? (I'm explaining this with an assumption that you've worked with editable remote control products that come with a PC editor type of software- If not then this can indeed seem a bit confusing)
    Regards,
    Kurt

  4. #4
    Site Founder And Administrator amirm's Avatar
    Join Date
    Apr 2010
    Location
    Seattle, WA
    Posts
    7,258
    My company does full audio/video integration business so I am quite familiar with the whole idea . I thought at first you said no software configuration was necessary in any way and I couldn't then figure out how you configured the mapping. So translating what you are saying, your black box has a set of IR codecs and those are always mapped one to one to a corresponding RS-232 code. Then I do my button assignments in the remote config software. yes?

    If so, seems like we are into creating a custom device driver. Why not do that for the CBIII instead and be done with it? Yes you would have to use a base station but then you could go RF which is more convenient than IR.
    Amir
    Founder, Madrona Digital Audio, Video, Home Automation
    Contributing Editor, Widescreen Review Magazine

  5. #5
    Member
    Join Date
    Jun 2011
    Location
    Beverly Hills, CA
    Posts
    27
    Amir- got it, I guess it is hard to be crystal clear in a forum post.. ;p

    Yes you nailed it- Basically, I mean there is 'no configuration' as in you do not have to muck around with finding a device that will do the IR<>RS232 translating, spend hours mapping IR codes to RS232 codes, and then hope it will integrate with your existing control system. The box acts as a 'universal translator' for any standard IR-based system. The "device driver" in this case is the CCF file with the specific IR codes, which can be imported to any remote control editor program.

    To talk to the black box, you would use the pre-programmed IR codes in the CCF file and just import the codes you need into your remote editor software. The box handles the corresponding RS232 mappings according to which IR command you chose. I also created a "user guide" like my list above that tells you what each number 0-80 of IR code does in relation to each RS232 command.

    Using my MX850 editor software, I handle it like this:

    1. open my config file for the living room in MX editor
    2. add a new device called "CBIII"
    3. add 4 pages to the device (six programmable lcd buttons per page for this particualr remote, plus all of the hard keys)
    4. open the Univeral Browser in the MX Editor. With the Universal Editor, open the CCF file. It displays all 81 IR codes in order, they are all numbered 0-80. I have a reference doc that has each command listed and the matching numbers 0-80.
    5. drag / drop the specific codes I need into the CBIII device hard buttons and LCD buttons. Name each one as appropriate. Example, if I wanted to use the PLIIx Movie discreet code I would drag / drop command number 15 to one of the LCD buttons in the MX850 editor, and name the button "PL2MOV".
    6. set up any macros as needed, assign the IR output of the new CBIII device to port 1 of my URC MRF350 base station. Save file.

    The MX850 sends its commands via RF to the MRF350 base station, the base station receives RF and sends the commands via IR emitter on port 1 to the black box. The black box accepts the IR command and sends the appropriate mapped RS232 command to the CBIII. Easy-peazy
    Last edited by SysOp; 08-09-2011 at 12:01 PM.
    Regards,
    Kurt

  6. #6
    Member
    Join Date
    Jun 2011
    Location
    Beverly Hills, CA
    Posts
    27
    On the topic of device driver- that is a different ball of wax, and it ends up becoming limited to the device it was created for. If you already have a Crestron or AMX, then you already have native RS232 translation and control built in to the system, as well as a CB device driver provided. This method i'm proposing only applies to those who do not have Crestron or AMX nd existing RS232 controls in place, but rather, URC / RTI / Pronto, or any other software editable IR/RF remote based system, and you would like to be able to use all of the Theta discreet control codes. For these systems, the black box approach will work for all of them universally.

    Lets use URC as an example. Their mid range to upper remotes all have IR and RF capability. Plus, they have a good swath of available base stations that accept RF, and route IR. However, they do NOT offer an IR or RF to RS232 solution. They only have an IP to RS232 offering, and frankly, you may not want to re-design your system from the ground up for IP based control just to gain the RS232 functionality on one device. Alternatives? none that are cost effective. Xantech does sell a universal IR to RS232 device, but have you ever tried to program one? holy hell. forget it. Plus, you have to buy the power supply separately, so all in you're pushing $700 just in the hardware and you still need to spend hours programming the codes and testing it. Lame. The average DIY HT enthusiast will not be able to work with this, and the average integrator would never be able to charge enough labor to cover time spent setting it up 50+ CBIII codes.

    So my solution proposes to resolve all of these issues for CBI II III IIIHD owners or integrators- a ready to rock IR>RS232 box that can be set up / used very quickly, and blend with any IR/RF control system.

    I will be testing my "beta" model over the next week, will post on how it goes.
    Regards,
    Kurt

  7. #7
    Site Founder And Administrator amirm's Avatar
    Join Date
    Apr 2010
    Location
    Seattle, WA
    Posts
    7,258
    Sounds good Kurt. Look forward to your progress.
    Amir
    Founder, Madrona Digital Audio, Video, Home Automation
    Contributing Editor, Widescreen Review Magazine

  8. #8
    Member
    Join Date
    Jun 2011
    Location
    Beverly Hills, CA
    Posts
    27
    Thanks- It's an interesting endeavor borne out of frustration / no suitable alternatives. I was mostly curious if anyone else is in the same boat with their CB controller.

    I see your point on the 'device driver' and thinking on this further, that is sort of what this is, but in a universally applicable package. The CCF file and IR codes inside it is the 'device driver', which you import to your remote. The black box is the 'device'. You send the learned IR codes from your remote via RF to your RF/IR base station, the base station sends the IR to the to the black box, and it tells the theta what to do via RS232. Or, if you don't use a RF/IR base station, simply send IR fom the remote to the black box, since the black box also has an IR receive window on it.
    Regards,
    Kurt

  9. #9
    Member
    Join Date
    Jun 2011
    Location
    Beverly Hills, CA
    Posts
    27
    Amir- Running through final testing. This turned out to be a lot more complex than originally anticipated. You could say that I've built a "device driver in a box", that accepts universal IR commands to trigger any of the Theta CB functions via RS232. I have the IR commands in RC5 format, each one labeled, in a universal CCF file. Essentially you would use your RTI or URC or Pronto software edtor to open the CCF file, then drag / drop the specific command you want into your remote buttons. Then just plug in the black box to power and RS232 on the Theta, make sure the Theta's baud rate is set to `115200, and then send your IR commands to the black box via emitter bug or jack input. That's it.

    Super slick so far- I have this working excellent via IR bug attached to the front of the black box, and also via direct IR jack input on the back (the box has both types of IR inputs available). I am using a URC MX850 to store the IR commands, it transmits via RF to a URC 350RF base station, which sends the IR command to the black box.

    The nice thing I noticed about RS232 control is the CB is very fast to respond! Much faster than IR control, for certain.

    Once I confirm this works rock solid, I'm going to look into packaging it as a product. I figure it could help out at least a few CB owners and system inegrators. It should work equally as well for the CBII and CBI, at least per control specs, but I cannot confirm. For the CBIIIHD any newly introduced commands can easily be added and field updated, so far I have not seen any new RS232 command docs specific to the HD upgrade on Theta's site.

    The box is field upgradable with firmware updates as needed. I figure the "package" will come with the box (about the size of a deck of cards), RS232 cable, power supply, and male/male RS232 gender adapter coupler (the black box and the Theta both have female RS232 ports). I'm using the highest setting available on the box and Theta CB for baud rate - 115200k - so things are nice and responsive.
    Last edited by SysOp; 08-22-2011 at 02:40 PM. Reason: spelling
    Regards,
    Kurt

  10. #10
    Site Founder And Administrator amirm's Avatar
    Join Date
    Apr 2010
    Location
    Seattle, WA
    Posts
    7,258
    Glad to hear the progress you are making Kurt. Embedded software development can be challenging after one gets spoiled with the rich environment on the PC.
    Amir
    Founder, Madrona Digital Audio, Video, Home Automation
    Contributing Editor, Widescreen Review Magazine

Page 1 of 2 12 LastLast

Similar Threads

  1. Universal Healthcare...
    By John72953 in forum Medical News We Can Use
    Replies: 69
    Last Post: 08-14-2011, 09:41 PM
  2. Interest in New Transports
    By amirm in forum General Audio Discussions
    Replies: 77
    Last Post: 06-11-2011, 05:30 AM
  3. Universal Demo DVD
    By RBFC in forum General Video Discussions
    Replies: 4
    Last Post: 08-31-2010, 02:39 PM
  4. Universal 3D Glasses
    By Steve Williams in forum General Video Discussions
    Replies: 6
    Last Post: 06-26-2010, 06:05 PM
  5. Just released War of the Worlds Blu Ray D-Box Code and "2012" D-Box code.
    By Health Nut in forum D-Box, Crowson, Buttkicker and Motion Tactile Systems
    Replies: 5
    Last Post: 06-04-2010, 07:49 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •