Part 1: Textbook Stuff. NEC Repeat Key down—skip over header pulse NEC read mode Save Address Get 8 bits.

Slides:



Advertisements
Similar presentations
I/O Organization popo.
Advertisements

8086 [2] Ahad. Internal! External? 8086 vs _bit Data Bus 20_bit Address 8_bit Data Bus 20_bit Address Only external bus of 8088 is.
Interrupts, Low Power Modes and Timer A (Chapters 6 & 8)
Copyright © 2005 Rockwell Automation, Inc. All rights reserved. 1 Micro Logix 1100 RSLogix 500 LAB#2 Timing, Counting & Comparing.
IR Control Materials taken from a variety of sources including IR Remote for the Boe-Bot by Andy Lindsay.
Hierarchy of Design Voice Controlled Remote Voice Input Control Path Speech Processing IR Interface.
CSCI 4717/5717 Computer Architecture
A Play Core Timer Interrupts Acted by the Human Microcontroller Ensemble from ENCM415.
CS 333 Introduction to Operating Systems Class 11 – Virtual Memory (1)
1 Lecture 2: Review of Computer Organization Operating System Spring 2007.
1 Computer System Overview OS-1 Course AA
CS-334: Computer Architecture
Software Three Main Functions Records/Monitors Zero Detection Points Gives our PWM a starting point Data used to dynamically adjust carrier frequency Detects.
COMP201 Computer Systems Exceptions and Interrupts.
UNIT 8 Keypad Interface Contact Closure Counter Exceptions (Interrupts and Reset)
ENEE 440 Chapter Timer 8254 Register Select The 8254 timer is actually 3 timers in one. It is an upgraded version of the 8253 timer which was.
8254 Counter/Timer Counter Each of the three counter has 3 pins associated CLK: input clock frequency- 8 MHz OUT GATE: Enable (high) or disable.
MICROPROCESSOR INPUT/OUTPUT
CNG 140 C Programming (Lecture set 9) Spring Chapter 9 Character Strings.
MCU: Interrupts and Timers Ganesh Pitchiah. What’s an MCU ?
CHAPTER 3 TOP LEVEL VIEW OF COMPUTER FUNCTION AND INTERCONNECTION
Gauge Operation and Software by Scott A. Ager. Computer Recommendations 750 MHz Pentium III 64 Meg SRAM 40 Gig Hard Drive 1024 x 768 graphics CD Writer.
1 CMPT 471 Networking II IGMP (IPv4) and MLD (IPv6) © Janice Regan,
(More) Interfacing concepts. Introduction Overview of I/O operations Programmed I/O – Standard I/O – Memory Mapped I/O Device synchronization Readings:
Lecture 11: TI MSP430 Timers Compare Modes
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction Purpose  This course provides an overview of the CPU architecture.
ECE 447: Lecture 8 Timer System (1). ECE 447: 68HC11 Timer System 1.Generating delays - imposing a specific delay between two points in the program by.
Time Measurement Capture Mode of the Capture/Compare/PWM module is used for time measurement. TMR1 or TMR3 16-bit value transferred to 16-bit capture.
1 Workshop Topics - Outline Workshop 1 - Introduction Workshop 2 - module instantiation Workshop 3 - Lexical conventions Workshop 4 - Value Logic System.
A Play Core Timer Interrupts Acted by the Human Microcontroller Ensemble from ENCM511.
Computer Architecture Lecture 2 System Buses. Program Concept Hardwired systems are inflexible General purpose hardware can do different tasks, given.
EEE440 Computer Architecture
Timer Timer is a device, which counts the input at regular interval (δT) using clock pulses at its input. The counts increment on each pulse and store.
ECS642U Embedded Systems Cyclic Execution and Polling William Marsh.
ECEG-3202 Computer Architecture and Organization Chapter 3 Top Level View of Computer Function and Interconnection.
(A Very Short) Introduction to Shell Scripts CSCI N321 – System and Network Administration Copyright © 2000, 2003 by Scott Orr and the Trustees of Indiana.
Instructor: Alexander Stoytchev
Toshiba IR Test Apparatus Project Ahmad Nazri Fadzal Zamir Izam Nurfazlina Kamaruddin Wan Othman.
Monitoring Volume Level Application - End of Project Presentation Made by: Roi Abecasis Maxim Meltsin Supervisor: Boaz Mizrahi.
Dr Mohamed Menacer College of Computer Science and Engineering, Taibah University CE-321: Computer.
Lecture 1: Review of Computer Organization
System Software Design Colin Gatlin May 12, 2009 Western Washington University.
Internet Protocol Version 4 VersionHeader Length Type of Service Total Length IdentificationFragment Offset Time to LiveProtocolHeader Checksum Source.
Group 1 chapter 3 Alex Francisco Mario Palomino Mohammed Ur-Rehman Maria Lopez.
Timer 1 and 2 operation, PWM Principles. Timer 1 Operation.
Page 62 in Chassaing. The.start directive links the section name to start at location address. For the section to have a valid starting address, the.start.
A Play Core Timer Interrupts Acted by the Human Microcontroller Ensemble from ENCM415.
Chapter 3 System Buses.  Hardwired systems are inflexible  General purpose hardware can do different tasks, given correct control signals  Instead.
Instructor: Alexander Stoytchev CprE 281: Digital Logic.
Analogue to Digital Conversion © D Hoult analogue signal © D Hoult 2011.
TV Remote As A Wireless Mouse For PC.
Timer and Interrupts.
Instructor: Alexander Stoytchev
Programmable Interval Timer
Chapter 3 Top Level View of Computer Function and Interconnection
Communication Protocol
Instructor: Alexander Stoytchev
Analogue to Digital Conversion
A Play Core Timer Interrupts
Computer System Overview
BIC 10503: COMPUTER ARCHITECTURE
A Play Lab. 2 Task 8 Core Timer Interrupts
Computer System Overview
Presentation transcript:

Part 1: Textbook Stuff

NEC Repeat Key down—skip over header pulse NEC read mode Save Address Get 8 bits Read data Verify single pulse Repeat Valid Repeat Save data Valid key 38KHz Pulse Position During first pulse: set up to read 8 bits Read 8 more bits & ignore the inverted address Space <6T? Set repeat flag

JVC 38KHz Measure first pulse (16bit) JVC read mode read space > 8* Threshold ? Read addr & data Read addr Repeat? Read data Same as previous? Valid Repeat Verify /Addr & /Data Valid key no yes

RCA (and Xbox)

Philips RC-6 Leader pulse Normal bits Leader and trailer bits

Panasonic

Daewoo

Sony

Sharp

Philips RC-5

Protocol Summary

Remote Control Recognition (“textbook”) Group 1: includes a large header –NEC – 16:8 mark/space (38KHz) –JVC – 16:8 (38KHz) –RCA – 8:8 (56KHz) –RC-6 – 6:2 (36KHz) –Panasonic – 8:8 (38KHz) –Daewoo – 16:8 (38KHz) Group 2: short header –Sony – 4 (40KHz) Group 3: no header –Sharp (38KHz) –RC-5 (36KHz) Pulse Position Codes –NEC, JVC, RCA, Panasonic, Daewoo, Sharp Manchester –RC-5, RC-6 Pulse width –Sony Set pulse threshold = 5 Max pulse > 5T? Analyze Max pulse > 3T? Sharp Count total pulses until large space Yes: Group 1 NEC Yes Measure shortest pulse (= T) Measure longest & shortest spaces Measure longest pulse Max pulse > 12T Yes Evaluate # of pulses > 12? No RC-5 Sony Max pulse > 7T # of pulses > 20? Yes Determin e if stop bit is used Yes No Daewoo JVC No RC-6 # of pulses > 24? Panasonic RCA/Xbox Yes No Yes No

Part 2: Reality

Findings From Actual Measurements Vendors do not necessarily have unique protocols –Example: Sharp uses NEC plus their own NEC protocol is the “standard” for off-brand remotes –Even name-brands use it for many models Sony is unique—no variants and no one else uses it Several variants of the NEC protocol –Toshiba & Daewoo use NEC with somewhat different timings –JVC uses same header structure but different Addr/Data Sharp is unique RC5 used by many vendors RCA not the same as RC5, as suggested in on-line info Caveat: measurements only done on OLD remotes –Used an X10 UR-19a to generate the signals

Some Measurements

Revised Recognition Logic Group 1: NEC –large header, 32 bit payload Group 2: JVC –large header, 17 bit payload Group 3: Sony –short header, 12 bit payload Group 4: Sharp –no header, 15 bit payload Group 5: RC-5 –no header, 10 bit payload Group 6: RCA –short header, large number of spaces > 2T Group 7: RC-6 –Short header, max # of pulses Pulse Position Codes –NEC, JVC, Sharp, RCA Manchester –RC-5, RC-6 Pulse width –Sony Max pulse >7T? Analyze Max pulse > 3T? Sharp Count total pulses until large space Yes: Group 1& 2 & 6 NEC Yes Measure shortest pulse (= T) Measure longest & shortest spaces Measure longest pulse # of pulses > 30 Yes Evaluate # of pulses > 12? No RC-5 RC-6 # of pulses < 15? JVC Sony RCA/Xbox Yes No No: Groups 3,4,5 and 7 Count total pulses greater than 2T Measure length of header space after break (repeat) # of >2T spaces > 30 No: Groups 1&2 No: Group 4, 5

Remote Control Input Entry: IR receiver routine Read the remote Pulse on? (=‘0’) Return with zero (‘no key’) Yes Valid header? Return with zero (‘no key’) Same as last key? Yes Short delay Return with key variable delay with key up check Valid addr? Return with zero (‘no key’) Yes No Key released? Yes Return with zero (‘no key’); disable repeat for next key Note: this is “as written”, and it works Convert remote key to keycode Timer Interrupt