Help with a UIRT Condensed Code lookup table!

Interested in integrating USB-UIRT support into an application? Look here!

Moderator: jrhees

Help with a UIRT Condensed Code lookup table!

Postby AndyH » Wed Jun 14, 2006 3:19 pm

OK, I have been trying to work with the condensed codes for a project, and I have found I'll need between 800 and 2400 entries in the lookup table! Any suggestions on how to shorten the list of entries in the look up table?

Modulation is PWM, the carrier is 38900 Hz
The signal starts with a header of three spaces: Pulses, Pause, Pulses. The widths can be 3 milliseconds, 6 milliseconds, or 9 milliseconds. The first pulse is always 3 milliseconds.

After the header is 5 - 9 data bits (I don't know why they chose a variable length protocol, probably to save battery time)

1 = 2 milliseconds pause, 2 milliseconds burst
0 = 2 milliseconds pause, 1 millisecond burst

The long burst are because this is outdoor equipment. I am adapting to someone else’s firmware, and cannot change the protocol.

Any help shortening the table will be appreciated!

-AndyH
Waiting to grok it.
AndyH
 
Posts: 2
Joined: Wed May 03, 2006 4:35 pm
Location: Indianapolis, IN

Postby jrhees » Thu Jun 15, 2006 2:29 pm

Andy,

Seems like there are a lot of variables in the code set.

Some questions:

Do the header pulses vary in length randomly?

Can you post a few of the condensed codes you are seeing?

Thanks,

Jon
jrhees
Site Admin
 
Posts: 1652
Joined: Tue Jan 28, 2003 11:49 pm


Return to Developers

Who is online

Users browsing this forum: No registered users and 19 guests