ChipCenter Questlink
SEARCH CHIPCENTER
Search Type:
Search for:




Knowledge Centers
Product Reviews
Data Sheets
Guides & Experts
News
International
Ask Us
Circuit Cellar Online
App Notes
NetSeminars
Careers
Resources
FAQ
EE Times Network
Electronics Group Sites

IR REMOTE-CONTROLLED VIDEO MULTIPLEXER


Circuit Cellar Online
THE MAGAZINE FOR COMPUTER APPLICATIONS
Circuit Cellar Online offers articles illustrating creative solutions
and unique applications through complete projects, practical
tutorials, and useful design techniques.

IR REMOTE-CONTROLLED VIDEO MULTIPLEXER

Lessons from the Trenches by Peter Gibbs

Start ý The Objectives ý Circuit Operation ý Decoding the URIC ý Short Program ý The Multiplexer Design ý Software ý Sources and PDF

THE MULTIPLEXER DESIGN

For the video multiplexer design, I only required buttons 0 through 7 for 8-channel selection, and I used the memory (Mem) button to start the scanning mode. Close examination of Table 1 shows that, to decode a specific button from among the nine buttons, only bits 1, 5, 6, 7, 9, and 10 are required (bit 7 is retained for decoding button 1, see Table 2 and Figure 2). All other bits were identical for this button group.

Bitstream

Key

1

2

3

4

5

6

7

8

9

10

11

12

0

0

0

0

0

0

0

1

0

1

1

0

0

1

0

0

0

0

0

0

1

0

0

0

0

0

2

0

0

0

0

0

0

1

0

1

0

0

0

3

0

0

0

0

1

0

1

0

0

0

0

0

4

0

0

0

0

1

0

1

0

1

0

0

0

5

1

0

0

0

1

0

1

0

0

0

0

0

6

1

0

0

0

0

0

1

0

1

0

0

0

7

1

0

0

0

1

0

1

0

0

0

0

0

Mem

1

0

0

0

0

1

1

0

0

0

0

0

Table 2ýThe bitstream pattern of the nine keys used in the final design can be seen here.

Because of the simple software decoding scheme I used (although the memory button is used for selecting the scan mode), any button not decoded will initiate this mode. Note that, depending on the UIRC used and the protocol of the manufacturer, the count values mentioned above will vary. Also, using a faster microcontroller would require a 16-bit variable because the count could exceed 255.

Figure 2ýIýve provided the logic equations used in Listing 2 to decode the nine keys from Table 2.

 

PREVIOUSNEXT


Circuit Cellar provides up-to-date information for engineers. Visit www.circuitcellar.com for more information and additional articles.
For subscription information, call (860) 875-2199, subscribe@circuitcellar.com or subscribe online. ýCircuit Cellar, the Magazine for Computer Applications. Posted with permission.
Click here to get your listing up.

Copyright © 2003 ChipCenter-QuestLink
About ChipCenter-Questlink  Contact Us  Privacy Statement   Advertising Information  FAQ