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:
Screen Innovations Projector Screen Pronto Hex Codes - Available Soon
This thread has 2 replies. Displaying all posts.
Post 1 made on Tuesday May 19, 2015 at 16:35
Jon Wilder
Lurking Member
Joined:
Posts:
May 2015
2
Hi all. I'm new here to Remote Central and thought I'd share my latest remote control project/challenge.

So I've been working with a client that owns a Screen Innovations projector screen and it's one of their older ones. This one uses an NECB22 controller board in it, which uses a PIC16C54C microcontroller. Screen Innovations was able to provide me with the hex code data, but not in Pronto format.

This customer is expecting us to program it to his URC MX980i universal remote control, which only takes hex codes in Pronto format.

I've been really researching the controller in this projector screen. It's one of their older ones and apparently their screen controllers are designed and manufactured off site so they have no technical data on them whatsoever. So I embarked on a journey to reverse engineer this controller both inside and out.

If you ever encounter one of these projector screens that is hexagonal in shape and uses the NECB22 controller board in it, here is what I know -

The IR data uses the NEC format with the exception that bytes are sent and received MSB first. I'm not yet clear on the carrier frequency that it uses but I'm pretty sure it uses a 38kHz carrier frequency. The data decoded by the IR sensor is inverted from this logic, but as sent from the remote, the bit timing is as follows -

Lead in bit is a 9mS high followed by a 4.3mS low

Logic low is a 550uS high followed by a 550uS low

Logic high is a 550uS high followed by a 1.8mS low

Lead out bit is a 550uS high followed by a 20mS low

Each command sends 4 bytes. The first and second bytes are a device code and are the 1's compliment of each other. The third and fourth bytes are the command bytes, again both are each others' 1's compliment.

Example...screen up is 0xB1 0x4E 0x90 0x6F -

0xB1 = 10110001
0x4E = 01001110

0x90 = 10010000
0x6F = 01101111

The data stream is sent with the lead in bit first, followed by all 4 bytes sent in the order listed as one 32-bit value MSB first. The last data bit sent is proceeded by a lead out bit of 550uS high, followed by a 20mS low. All this for a total of 34 bytes.

Following articles written here on Remote Central, I came up with the following Pronto hex code for the screen up function -

0000 006D 0000 0022 015F 00A4 0015 0044 0015 0015 0015 0044 0015 0044 0015 0015
0015 0015 0015 0015 0015 0044 0015 0015 0015 0044 0015 0015 0015 0015 0015 0044
0015 0044 0015 0044 0015 0015 0015 0044 0015 0015 0015 0015 0015 0044 0015 0015
0015 0015 0015 0015 0015 0015 0015 0015 0015 0044 0015 0044 0015 0015 0015 0044
0015 0044 0015 0044 0015 0044 0015 02F8

I have not tested this code yet but will be by the end of the week.

I have also been working on writing new firmware on a PIC16F628A microcontroller for this projector in case I'm unsuccessful in getting this to work. The URC CCP software has hex codes for lighting controllers made by Screen Innovations that also use the NEC MSB first format. Everything about the signals sent out by the URC remote is identical except for the codes themselves. My new firmware will allow the projector screen to work with those codes while also working with its original codes.

Anyone who is well versed in pronto code please feel free to correct my above pronto code. I calculated the values assuming a 38kHz carrier frequency and was aiming for the criteria listed above.
Post 2 made on Wednesday May 20, 2015 at 12:33
Barf
Long Time Member
Joined:
Posts:
August 2013
350
Wow. This is re-inventing the wheel. The NEC protocol is well known, and implemented in a number of different programs and equipment. Please check out IrScrutinizer, it will save you a lot of time.

The good news is that you got the numbers right! Your hex signal decodes as NEC (NEC2 really), D=141, and F=9. But note that "MSB" or "LSB" is nothing than how you interpret the parameters. For example, 141 = 0x8D = 0b10001101, Read it backwards, and you have 0b10110001 = 0xB1 (= 177), which is exactly the device number you came up with! (IrScrutinizer contains a nice "pocket calculator" for this, btw.) (In Java, this is the function Integer.reverse(int), btw.)
OP | Post 3 made on Sunday May 31, 2015 at 11:43
Jon Wilder
Lurking Member
Joined:
Posts:
May 2015
2
Well as it turned out my pronto codes above didn't work. Not sure why but I suspect that it has to do with not knowing the carrier frequency of the IR. I tried codes for both 38kHz and 40kHz and neither worked.

However, following advice from Screen Innovations, I was finally able to get the URC remote to learn in the original remote. Here's how we did it -

1) Activate learn mode on the URC software.

2) Place the remotes "eye to eye", but place your hand between the two remotes.

3) Press and hold the button on the original remote that you wish to learn in.

4) While holding the button, remove your hand from between the two remotes.

5) Once you see the "Learn OK" message in the URC software, release the button on the original remote.

6) If you do not get the "Learn OK" indication upon performing these steps, adjust the remote positioning and repeat steps 1-5.

Once we performed these steps (and we did have to do some buttons 2 or 3 times before we got the "Learn OK" indication), the URC remote successfully learned in the original remote.


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