Signal Analyzer for Infrared Remote Control

Similar documents
Document: Datasheet Date: 22-Mar-11 Model #: 3679 Product s Page:

AN10210 Using the Philips 87LPC76x microcontroller as a remote control transmitter

AN10210 Using the Philips 87LPC76x microcontroller as a remote control transmitter

AC : INFRARED COMMUNICATIONS FOR CONTROLLING A ROBOT

Hello, and welcome to this presentation of the STM32 Universal Synchronous/Asynchronous Receiver/Transmitter Interface. It covers the main features

AN3174 Application note

COMP asynchronous buses April 5, 2016

Wireless to Infrared Converter for ipad

RL78/I1A APPLICATION NOTE. Lighting Communications Using RL78/I1A (Transmission) Introduction. Target Devices. Contents. R01AN3193EJ0100 Rev.1.

Tektronix DPO Demo 1 Board Instruction Manual

IR Communication a learn.sparkfun.com tutorial

34COM/60SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD

Digital Photo Navigator

Advantages and disadvantages

ArtDMX DMX control software V1.4

BASIC-Tiger Application Note No. 058 Rev Wireless Communication with IrDA. Gunther Zielosko. 1. Basics of infrared communication

Lesson 3 Infrared Controlling Car

White Paper Using the MAX II altufm Megafunction I 2 C Interface

Table of Contents. Taking a First Look 2 Intelligent Remote Control 2 Before You Start 4

University of New Hampshire InterOperability Laboratory Ethernet Consortium

Signals and Encoding

HP 48 I/O Technical Interfacing Guide

Digital Fundamentals

epos Touchkit Manual (for Windows XP)

EITF35 - Introduction to the Structured VLSI Design (Fall 2016) Interfacing Keyboard with FPGA Board. (FPGA Interfacing) Teacher: Dr.

Features DISPLAY DECODING INPUT INTERFACING. ICM7211AMlPLZ LCD Code B Microprocessor Direct Drive -40 to Ld PDIP* (Pb-free)

Firmware Updating Tool for USB Card Reader. Firmware Updater. User s Manual. For Windows XP, XP x64, 2000 CAUTION

Description INPUT INTERFACING

B-Works 2 User s Guide

BV4615. Dual Interface Zero Keypad. Product specification. Dec 2009 V0.a. ByVac Page 1 of 11

Flymote C2. Introduction. IR Learning, Air Mouse, QWERTY Keyboard Combo. User Manual

Laboratory Finite State Machines and Serial Communication

1 MALP ( ) Unit-1. (1) Draw and explain the internal architecture of 8085.

University of New Hampshire InterOperability Laboratory Ethernet Consortium

AeroMouse User s Manual

Computer Basics. Dayton Metro Library

ProntoPro Intelligent Remote Control. User Guide

Manual Dell Inspiron Notebook 1545 Battery Not Charging Fix

Bluetooth was originally started as a project by the Ericsson Company.

Cox Business Online Backup Administrator Guide. Version 2.0

ECE 4450:427/527 - Computer Networks Spring 2017

CREATED BY M BILAL & Arslan Ahmad Shaad Visit:

Sten-SLATE ESP Kit. Description and Programming

Fig.12.5 Serial Data Line during Serial Communication

4-Megabit 2.7-volt Only Serial DataFlash AT45DB041. Features. Description. Pin Configurations

EX-HDU HDMI, AUDIO & USB EXTENSION

(Mac computer) Displayed images from projector become an interactive whiteboard with U-Pointer

Unpacking... 3 Getting Started... 3 Tour of the Remote... 4 Hard keys...4 Interactive LCD screen...5

Table of Contents. Introduction 2 1. Intelligent Remote Control 2 2. Charging the Remote Control 3

8 in Right. User s Manual. 8 Functions in Right Button.

Winford Engineering ETH32 Protocol Reference

User s Manual. Touch Panel Driver. Important

RW1026G Revision History Version Date Description

LDO Current Foldback/Current Limiter Circuits

DS1676 Total Elapsed Time Recorder, Erasable

COMP 273 Winter asynchronous I/O April 5, 2012

Data Communications & Computer Networks. Digital Data Communications Techniques

SD CARD DVD/VCD/CD/MP3/DIVX/MPEG-4 XO1525 USB MOD D200P. User s Manual

CHAPTER TWELVE - Memory Devices

MODEL: B09015-LAP-DALI Interface-M

1 / 14. User Manual. Getting started with UP02 program upgrade tool

INTEGRATED CIRCUITS. PCA bit I 2 C and SMBus I/O port with interrupt. Product data sheet Supersedes data of 2004 Jul 27.

CHAPTER 1. Welcome to WalkGuard- IPCam

TOF-Watch SX Monitor

SIM2 Multimedia. Lumis 3D-S IR Control

Univ-FB_MD80383_AUS.fm Seite 2 Dienstag, 24. Januar : Overview Safety instructions Scope of application...

FeliCa Card User's Manual Excerpted Edition

Firmware Update Manual for Sony Cyber-shot digital still cameras

#61-844SW ThermalVision Software Instruction Manual

Wireless transfer of screening data from ALGO 3i Screener to PC

SSD1803. Product Preview. 100 x 34 STN LCD Segment / Common Mono Driver with Controller

RESEARCH & DEVELOPMENT

QOMO PRODUCTS TROUBLE SHOOTING QUICK GUIDE

Input and output Systems. Peter Rounce - room G06

TV1 Digital Player User s Manual

LOG Storm Studio. User's Guide. Revision Jan Byte Paradigm

中显液晶 技术资料 中显控制器使用说明书 2009年3月15日 北京市海淀区中关村大街32号和盛大厦811室 电话 86 010 52926620 传真 86 010 52926621 企业网站.zxlcd.com

10-Gigabit Ethernet Consortium

Embedded Systems and Software. Serial Interconnect Buses I 2 C (SMB) and SPI

KNX Communication. KNX Association

SPACEMOUSE SYNTHESIS OF JOYSTICK AND TRACKBALL. Technical DATA: Electrical DATA

A variety of ECONseries modules provide economical yet flexible solutions. Waveform Generation

Student Quick Reference Guide

CPEG300 Embedded System Design. Lecture 8 Timer

Vividia HM-250 HDMI/LCD/USB/TV Portable. Digital Measurement Microscope

16COM/40SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD

DIAGNOSTICS PN# / / FSP

Microsoft Xbox 360 Universal Remote Control Xbmc

SILICON MICROSTRUCTURES

Archives About ARCHOS TV+ General Questions I have installed a firmware/plug-in/game file on my Archos TV+ but it is not recognized by the device. You

LadibugTM Visual Presenter Image Software User Manual

CSCI-1680 Physical Layer Link Layer I Rodrigo Fonseca

This guide will help you with many of the basics of operation for your Epson 485wi BrightLink Projector with interactive functionality.

Stereotypes. Stereotype: recurring combination of elements in an object or class. Example: <<signal>> mouse_click :

User manual for Cable mode programmable remote control (V11) Programmable remote control User Manual (cable mode version)

USB Compliance Checklist

Bit-Perfect, HDD/USB 24/96 Integrated Audio Player

Troubleshooting Q&A. My CLIÉ handheld is not working properly. About CLIE Launcher. I cannot perform a HotSync operation.

DS1625. Digital Thermometer and Thermostat FEATURES PIN ASSIGNMENT

ANNA UNIVERSITY QB ( )

Transcription:

More products at http://www.sunrom.com Document: Datasheet Date: 26-Jul-13 Model #: 1145 Product s Page: www.sunrom.com/178 Signal Analyzer for Infrared Remote Control The board receives IR signals from existing remote controls and displays the waveform on PC through USB interface. It is powered from USB itself and uses inbuilt windows driver. PC software can show complete capture signal or you can zoom to particular signal area of interest. The captured information can be used to view, recognize or reproduce the signal. Anyone ever tried to decode an IR remote would know how difficult it is to create programming to decode the signal without accurately measuring signal length. During our development work, we came across many remote controls of different kinds and all kind of formats from our customers, so we developed a solution which can easily capture the remote control signals without the need to open it or destroy it. After we got the accurate data from remote controls, we used that information to identify the type of remotes and make decoder program. We also used this information to create encoders ICs for IR remote controls.

Features The board is designed with high-speed USB micro-controller and high accurate measuring in micro second resolution. Receive the signals directly from the remote controller, no need to destroy or open the remote controller when testing. The intact waveform can be showed clearly and steadily on PC; most of the oscilloscope doesn t show this way. It can test the width of pulse, the length of code, Number of bits, lead code, system code, key code, repeat code, etc Support 35 to 41KHz signals carriers remotes from all are between this frequency. Uses inbuilt windows USB drivers so no need to install or troubleshoot external drivers. Appears to windows as HID input device. The program run under Windows XP or Windows 7/8(32 & 64 bit OS), the interface is functional, friendly & easy to use. Supports any waveform Zoom in, Zoom out & bit number indicator. Get time between any two points. Receive correctly the commands from TV, VCR, VCD, DVD, AC remote controllers, or any. More Images 2 Sunrom Technologies Your Source for Embedded Systems Visit us at www.sunrom.com

PC Software Download software setup from the product page http://www.sunrom.com/178 After running setup you will get icon on desktop or start software from start menu. You can connect the board to USB before starting software or after starting. Sequence does not matter as the software will keep searching for hardware until found. This makes the solution truly plug and play. This PDF file also opens when you click on View Help button. If you have not connected the hardware to USB you will get following message. Now it s time to get an infrared remote in front of board and press any key to start using. 3

Here is the screen for RC5 type remote control. We can now zoom into particular sample. To zoom in select mouse from left to right. Zoom out by selecting right to left. Here is the zoomed signal, you can zoom even further to each bit. On top you can see bit numbers, and below are timings. 4

NEC type remote signals looks like this, You can see the starting signal and then repeat pulses. Let s zoom into signal to view its more details. 5

Locating type of protocol of your remote Once you have information of what type of signal your remote is transmitting, it s time to identify the type of protocol it is following. Normally you will come across major three types of protocol in use in today s products unless you are using some custom remote or obsolete remote. 1. Philips RC5 Protocol 2. NEC Protocol (Also called JVC protocol, Most Widely used in AC remotes) 3. Sony SIRC Protocol Let us cover each protocol details in this document Philips RC5 Protocol The RC5 code from Philips is possibly the most used protocol by hobbyists, probably because of the wide availability of cheap remote controls. The protocol is well defined for different device types ensuring compatibility with your whole entertainment system. Features of Protocol 5 bit address and 6 bit command length Bi-phase coding (aka Manchester coding) Carrier frequency of 36kHz or 38kHz Constant bit time of 1.778ms (64 cycles of 36 khz), Different timing for 38Khz, Should be adjusted in decoder part by monitoring first two bits. Manufacturer Philips Modulation RC5 Modulation The protocol uses bi-phase modulation (or so-called Manchester coding) of a 36kHz IR carrier frequency. All bits are of equal length of 1.778ms in this protocol, with half of the bit time filled with a burst of the 36kHz carrier and the other half being idle. A logical zero is represented by a burst in the first half of the bit time. A logical one is represented by a burst in the second half of the bit time. The pulse/pause ratio of the 36kHz carrier frequency is 1/3 or 1/4 which reduces power consumption. Protocol The drawing below shows a typical pulse train of an RC-5 message. This example transmits command $35 to address $05. 6

RC-5 Pulse Train The first two pulses are the start pulses, and are both logical "1". Please note that half a bit time is elapsed before the receiver will notice the real start of the message. The 3rd bit is a toggle bit. This bit is inverted every time a key is released and pressed again. This way the receiver can distinguish between a key that remains down, or is pressed repeatedly. The next 5 bits represent the IR device address, which is sent with MSB first. The address is followed by a 6 bit command, again sent with MSB first. A message consists of a total of 14 bits, which adds up to a total duration of 25 ms. Sometimes a message may appear to be shorter because the first half of the start bit S1 remains idle. And if the last bit of the message is a logic "0" the last half bit of the message is idle too. As long as a key remains down the message will be repeated every 114ms. The toggle bit will retain the same logical level during all of these repeated messages. It is up to the receiver software to interpret this auto repeat feature. NEC Infrared Transmission Protocol The NEC IR transmission protocol uses pulse distance encoding of the message bits. Each pulse burst (mark RC transmitter ON) is 562.5μs in length, at a carrier frequency of 38kHz (26.3μs). Logical bits are transmitted as follows: Logical '0' a 562.5μs pulse burst followed by a 562.5μs space, with a total transmit time of 1.125ms Logical '1' a 562.5μs pulse burst followed by a 1.6875ms space, with a total transmit time of 2.25ms When a key is pressed on the remote controller, the message transmitted consists of the following, in order: a 9ms leading pulse burst (16 times the pulse burst length used for a logical data bit) a 4.5ms space the 8-bit address for the receiving device the 8-bit logical inverse of the address the 8-bit command the 8-bit logical inverse of the command a final 562.5μs pulse burst to signify the end of message transmission. The four bytes of data bits are each sent least significant bit first. Figure 1 illustrates the format of an NEC IR transmission frame, for an address of 00h(00000000b) and a command of ADh (10101101b). Example message frame using the NEC IR transmission protocol. 7

Notice from Figure 1 that it takes: 27ms to transmit both the 16 bits for the address (address + inverse) and the 16 bits for the command (command + inverse). This comes from each of the 16 bit blocks ultimately containing eight '0's and eight '1's - giving (8 * 1.125ms) + (8 * 2.25ms). 67.5ms to fully transmit the message frame (discounting the final 562.5μs pulse burst that signifies the end of message). Repeat Codes If the key on the remote controller is kept depressed, a repeat code will be issued, typically around 40ms after the pulse burst that signified the end of the message. A repeat code will continue to be sent out at 108ms intervals, until the key is finally released. The repeat code consists of the following, in order: a 9ms leading pulse burst a 2.25ms space a 562.5μs pulse burst to mark the end of the space (and hence end of the transmitted repeat code). Figure illustrates the transmission of two repeat codes after an initial message frame is sent. 8

Sony SIRC Protocol It appears that 3 versions of the protocol exist: 12-bit (described on this page), 15-bit and 20-bit versions. The 15-bit and 20-bit versions differ in the number of transmitted bits per command sequence. Features 12-bit, 15-bit and 20-bit versions of the protocol exist (12-bit described here) 5-bit address and 7-bit command length (12-bit protocol) Pulse width modulation Carrier frequency of 40kHz Bit time of 1.2ms or 0.6ms Modulation SIRC Modulation The SIRC protocol uses a pulse width encoding of the bits. The pulse representing a logical "1" is a 1.2ms long burst of the 40kHz carrier, while the burst width for a logical "0" is 0.6ms long. All bursts are separated by a 0.6ms long space interval. The recommended carrier duty-cycle is 1/4 or 1/3. Protocol The picture above shows a typical pulse train of the SIRC protocol. With this protocol the LSB is transmitted first. The start burst is always 2.4ms wide, followed by a standard space of 0.6ms. Apart from signaling the start of a SIRC message this start burst is also used to adjust the gain of the IR receiver. Then the 7-bit Command is transmitted, followed by the 5-bit Device address. In this case Address 1 and Command 19 is transmitted. Commands are repeated every 45ms(measured from start to start) for as long as the key on the remote control is held down. 9