Technical note: RF remote control as a replacement for IR remote control



Similar documents
AN588 ENERGY HARVESTING REFERENCE DESIGN USER S GUIDE. 1. Kit Contents. 2. Introduction. Figure 1. Energy Harvesting Sensor Node

CYPRESS SEMICONDUCTOR CORPORATION Internal Correspondence. Frequently Asked Questions. Contents. TITLE: Cypress s WUSB-NX Solutions for HID NPI

Zigbee-Based Wireless Distance Measuring Sensor System

Table of Contents Function Keys of Your RF Remote Control Quick Setup Guide Advanced Features Setup Troubleshooting

Introduction to Z-Wave. An Introductory Guide to Z-Wave Technology

Key Priorities for Sub-GHz Wireless Deployment

ZigBee Technology Overview

USB 3.0* Radio Frequency Interference Impact on 2.4 GHz Wireless Devices

TV Remote Controller Decoder

Remote Controls Radio Frequency or Infrared Content. Whitepaper by Martin Gotschlich, Infineon Technologies AG, 2010

Wireless Medical Telemetry Laboratory

Maximizing Range and Battery Life in Low-Cost Wireless Networks

The Heartbeat behind Portable Medical Devices: Ultra-Low-Power Mixed-Signal Microcontrollers

What is DECT? DECT stands for Digital Enhanced Cordless Telecommunications.

Technical Article. NFiC: a new, economical way to make a device NFC-compliant. Prashant Dekate

Note monitors controlled by analog signals CRT monitors are controlled by analog voltage. i. e. the level of analog signal delivered through the

User Manual Wireless HD AV Transmitter & Receiver Kit

Point of view HDMI Smart TV dongle Mini RF Keyboard

The Energy Harvesting Tipping Point for Wireless Sensor Applications

WIRELESS MAGNETIC CONTACT

Final Design Report 19 April Project Name: utouch

WIRELESS INSTRUMENTATION TECHNOLOGY

STM32L. Ultra-low-power Cortex -M3 devices

ABOUT YOUR SATELLITE RECEIVER

Receiver and Remote Controls

DT3: RF On/Off Remote Control Technology. Rodney Singleton Joe Larsen Luis Garcia Rafael Ocampo Mike Moulton Eric Hatch

Surveillance System Using Wireless Sensor Networks

2.0 System Description

Wireless Temperature

IR Communication a learn.sparkfun.com tutorial

Omni Antenna vs. Directional Antenna

Wireless Audio Video Sender

Application Note AN-00126

Key. ➍ Micro USB Port ➎ Operating System Toggle Keys ➏ Foam Screen Protectors. ➊ On/Off switch ➋ Bluetooth Connect Button (flashes when searching)

ZigBee Propagation for Smart Metering Networks

How to Simplify the Design of an RF Remote Control Using a Highly-Integrated Transmitter SoC

Understanding Range for RF Devices

The Internet of Things: Opportunities & Challenges

Logitech Advanced 2.4 GHz Technology With Unifying Technology

AN Application Note: FCC Regulations for ISM Band Devices: MHz. FCC Regulations for ISM Band Devices: MHz

Comparison of 2.4-GHz proprietary RF and Bluetooth 4.0 for HIS applications Page 1 of 6

Introduction to Silicon Labs. November 2015

Indoor/Outdoor Color Camera with Built-in 2.4 GHz Wireless Transmitter, plus X10 controlled power supply, and Video Receiver.

RESULTS OF TESTS WITH DOMESTIC RECEIVER IC S FOR DVB-T. C.R. Nokes BBC R&D, UK ABSTRACT

Chapter 7 Low-Speed Wireless Local Area Networks

IEEE n Enterprise Class Wireless LAN?

XBEE PROTOCOL COMPARISON

Application of Wireless Sensor Network and GSM Technology: A Remote Home Security System

Logitech Advanced 2.4 GHz Technology

Safety Warnings and Guidelines

Bidirectional wireless communication using EmbedRF

Bluetooth FM transmitter User Manual

Freescale Development Kits IEEE Wireless design made simple. freescale.com/802154

Wireless Phone Systems for your Organisation

UPS PIco. to be used with. Raspberry Pi B+, A+, B, and A. HAT Compliant. Raspberry Pi is a trademark of the Raspberry Pi Foundation

LoRa FAQs. 1 of 4 Semtech. Semtech Corporation LoRa FAQ

DKWF121 WF121-A B/G/N MODULE EVALUATION BOARD

Data Acquisition Module with I2C interface «I2C-FLEXEL» User s Guide

ZHONE VDSL2 TECHNOLOGY. Access Technology for the Future. November 2009 CONTENTS

Transmitter Speed. Instructions for use Betriebsanleitung Mode d emploi Instrucciones para el uso Istruzioni per l uso

Smart Thermostat page 1

Design of a Wireless Medical Monitoring System * Chavabathina Lavanya 1 G.Manikumar 2

Microchip Technology. February 2008 Valerio Moretto Slide 1

Wireless Telephone System Product Comparison

3. Identification of water pumps through RFID technology. 4. Wireless control of remote water pump using RF technology.

EECC694 - Shaaban. Transmission Channel

Infrared Remote Control Receiver Module IRM-2638T

880 Harmony Remote User Manual

5.8GHz Audio/Video Sender

Intelligent Street lighting management using ZigBee. Martin SCHULTE-HOBEIN Field Application Engineer, EMEA Digi International

Guangzhou HC Information Technology Co., Ltd. Product Data Sheet

HAM FOR HACKERS TAKE BACK THE AIRWAVES. JonM DEFCON 16

SX1272/3/6/7/8: LoRa Modem. Low Energy Consumption Design AN TCo. SX1272/3/6/7/8 LoRa Modem Design Guide WIRELESS & SENSING

Agilent GSM/EDGE Base Station Test with the E4406A VSA and ESG-D Series RF Signal Generators Product Overview

Lab Exercise Objective. Requirements. Step 1: Fetch a Trace

Weather Direct Displays show Lost Forecast (blank boxes in the picture icons)

Bluetooth SMART Advertise-Only Beacon Reference Design

ScreenBeam Mini 2 Wireless Display Receiver

C9 HD Video Conference Terminal

ATB50v1 GPRS / GPS Based Fleet Management Terminal. Datasheet

Various Technics of Liquids and Solids Level Measurements. (Part 3)

General Camera Information and use for NuAire Biological Safety Cabinets (BSC) and Isolators

Android based Alcohol detection system using Bluetooth technology

Data Transmission. Data Communications Model. CSE 3461 / 5461: Computer Networking & Internet Technologies. Presentation B

Application Note AN-00125

EP line Industrial Long Range Cordless System. Overview

Building a Basic Communication Network using XBee DigiMesh. Keywords: XBee, Networking, Zigbee, Digimesh, Mesh, Python, Smart Home

GSM Home Alarm System User Manual.

Constructing a precision SWR meter and antenna analyzer. Mike Brink HNF, Design Technologist.

1. Overview. WPT Wireless Range Tester Kit User Manual Doc No Rev Components Prerequisites for Site Survey

Sensors and Cellphones

Tire pressure monitoring

C O B A R 1 8R2 U s e r G u i d e P a g e 1. User Guide COBRA 18R2. Wireless Firing System.

PRORAE REMOTE HOST CONTROLLER: COMMUNICATION TROUBLESHOOTING GUIDE

Nokia E90 Communicator Using WLAN

HDTV Anywhere USER MANUAL / HDTV Anywhere ALL RIGHTS RESERVED MARMITEK

2.4G Bluetooth Datalink & ipad Ground Station User Guide V1.12

Tri-Band RF Transceivers for Dynamic Spectrum Access. By Nishant Kumar and Yu-Dong Yao

RECOMMENDATION ITU-R F (Question ITU-R 157/9) b) that systems using this mode of propagation are already in service for burst data transmission,

Targus Wireless Remote Presenter USER S GUIDE. Making Your Mobile Life Easier. Making Your Mobile Life Easier.

Transcription:

Technical note: RF remote control as a replacement for IR remote control Nordic Semiconductor s nrd24h1 RF Remote Control Reference Design is the ideal starting point for designers wanting to take advantage of RF s advantages over Infra Red for modern remote controls. The Reference Design integrates all critical functions and is relatively simple to develop into many different remote control concepts. With the hardware design and optimisation done, a remote control design team can focus on the application functionality needed to make their remote better than the competitions. IR (infrared) wireless communication is simple to design-in, robust, cheap to manufacture and yields a controller that can run for months on two to four AAA 1.5 V cells. However, IR remote controls were originally designed in the late seventies to replace ultrasonic devices when a greater range of functionality was required and are starting to show their age. For example, IR remotes are inconvenient to use when navigating the complex multi-layered menus typical of today s digital electronics. Moreover, users have to point the remote directly at the IR receiver on the equipment they wish to control which means they need a clear path unobstructed by people, furniture and walls. And IR is typically a uni-directional communications technology (bi-directional communication is possible, but it s expensive and prone to interference from other light sources). Contemporary consumers demand a user interface on their remote offering intuitive instructions and information about the media they re listening to or watching. RF remote controls promise to finally match the convenience of IR namely design simplicity, low cost and long battery life while providing consumers with wireless connectivity that can support the more advanced menu-based browse facilities now common to home entertainment devices. IR exposed IR is electromagnetic (EM) radiation of wavelengths longer than visible light, but shorter than RF spanning three orders of magnitude between 750 nm and 1 mm. IrDA, the Infrared Data Association, champions IR in the electronics sector and most offerings adhere to the organisation s standards, aiding interoperability. IR remote controls use IR LEDs to emit radiation that s focused by a plastic lens into a narrow beam. Data is encoded by modulating the beam to provide immunity from other IR sources such as fluorescent lights. The receiver uses a silicon photodiode to convert the IR radiation to a current for decoding by the receiver s MCU (see fig.1.). IR doesn t penetrate walls although it can be reflected by walls and ceilings - and so generally does not interfere with other devices in adjoining rooms. A simple IR remote comprises a keypad to input instructions, a resonator to provide a reliable clock base, an 8-bit MCU to detect key presses and modulate the IR signal and an LED to generate the IR.

Fig. 1. Schematic illustrating IR modulation and demodulation There are many modulation protocols but most are frequency or format variations of a few base protocols. Examples include amplitude modulation, frequency modulation or pulse modulation. For example, with pulse distance encoding, pulses remain the same length, while intervals between are either long or short (representing 0 and 1 respectively see fig.2.). This protocol is favoured by many consumer electronics companies and features a data payload of 8 bits address and 8 bits command, sent twice for reliability. Fig. 2. IR remote pulse distance encoding protocol In this example, a 9 ms train pulse precedes the data, followed by a 4.5 ms mark, then around 54 ms for the address and command information. IR communication is typically one way. That means the remote has now way of knowing if the signal has been received. The remote will dumbly repeat the command as long as a button is pressed. This example protocol provides repeat frames every 110 ms, meaning the IR remote control is transmitting for perhaps 90 ms during a half-second key press key press (see fig.3.). At, for example, 50 key presses per day, that s a duty cycle of around 0.005 percent.

Fig. 3. Pulse distance encoding full sequence structure While operating at, for instance, 2V, the remote draws around 100 mw. Negligible power is drawn while the remote is in standby mode. Two AAA cells connected in series, with a capacity of 900 mah, provide 2 x 1.5 V x 900 mah = 2700 mwh. Assuming no DC-to-DC conversion (to keep costs down), and discarding voltage reduction as the battery ages, battery life is 2700 mwh/100 mw = 27 hrs. However, with a duty cycle of 0.005 percent, users would not expect to change batteries for many months or even years. However, while IR s simplicity, low-cost and low-power consumption has ensured its widespread adoption, the technology is not without its weaknesses. Consider the consumer of a wall-mounted air conditioner for example; to change the temperature, the user either takes a chance that the IR beam will reflect from surfaces such as walls and ceilings or turns to ensure the remote aims directly at the air conditioner to ensure alignment of IR emitter and receiver. In a second example, the proliferation of media centers central PC-based entertainment devices serving as sources of music, video, and other digital files finds consumers wanting to change volume, channel or website from another room where satellite TV, speakers or monitor are situated. Traditional IR remote controls rely on line-of-sight (or at least direct reflection) and have a range restricted to a few meters. Third, consumers are increasingly demanding two-way communications. While it is theoretically possible to create two-way communication with IR, real life problems such as (light) interference and low data rate make this a poorly performing system. Moreover, attempting to incorporate two-way communications complicates the remote control s design, adds cost and drains battery power, cancelling out the inherent advantage of the IR remote design. The RF alternative RF has been an option for remote control for some time (it was first used over a century ago) but until now the technology s relative expense, design complexity and power consumption have made it uncompetitive with IR for the vast majority of applications. However, the development of a new generation of low power RF transceivers has changed all that. Nordic Semiconductor s ultra-low power and inexpensive nrf24le1 2.4 GHz transceiver with Gazell RF communications software is an ideal solution for designers wanting to develop a robust RF system with battery life equivalent or better that that of an IR-based design.

The very mention of RF design is usually enough to scare all but the most confident designer. But while it s true that RF design is not simple, Nordic Semiconductor has worked hard to ensure it s no longer solely the domain of the RF expert. Very high integration in the transceiver, and the availability of development kits and reference layouts, makes it possible for any competent electronics design engineer to incorporate wireless hardware into their latest product. To ease the design process, Nordic Semiconductor offers an RF remote control reference design, the nrd24h1. The device (transmitter) side of the nrd24h1 is implemented as hardware module fitted on a six-button remote control application board. The module includes a PCB antenna, a 2.4 GHz transceiver and an 8-bit MCU (see fig.4.). The RF module supports up to 49 button inputs plus status LEDs. An alternative layout is fewer input buttons combined with various serial interfaces for display support. Fig. 4. RF remote control development kit The reference design s host (receiver) is a production ready, full-speed USB dongle supporting the HID (Human Interface Device) class with descriptors for all commands defined in Windows Vista. A USB compliance certificate is included in the kit and test ID is obtained for USB.org. This means that providing changes to the supplied USB module are limited, USB compliance can be obtained simply by referring to this design. The nrd24h1 includes all firmware needed to make a remote control. The key part of this firmware is a complete two-way RF protocol stack for remote control applications. The protocol stack is implemented as a standalone software module providing an API (application programming interface) to the application layer. On top of this protocol stack, a simple application layer example, specific to the six button application board, is also included. Consequently, there is no need to get to grips with all the details of the RF protocol stack; programmers can instead focus on modifying and enhancing the application layer code. All the firmware for the reference design is provided as open source ANSIC code enabling anyone to use it directly or port it to their own microcontroller platform. The protocol stack provides an ultra-low power two-way communication link with frequency hopping capabilities, dubbed a frequency agility protocol (FAP). This means that one- or two-way remote controls can be implemented without having to worry about RF link up, synchronisation, coexistence with other RF systems or protocol power management. The protocol offers two modes: Low latency mode and low power mode.

In low latency mode, when a button is pressed the device (the remote control) powers up, transfers the command input to the host (USB dongle) and receives data back if requested. This cycle takes around 500 µs. If the first communication attempt is not successful, the protocol utilises the automatic acknowledge and re-transmit features of the nrf24le1 to re-try communication on several frequencies. This feature avoids loss of data due to multi-path fading or interference from other 2.4 GHz RF systems. (See fig.5(a).) Lab tests at Nordic Semiconductor have shown that in the typical domestic environment the system will need to re-transmit 4 to 5 times giving an average latency (including RF power on and link up) from button press to data acknowledgement by the USB dongle of 2.5ms. If the remote is in the presence of a strong Wi-Fi (802.11g or 802.11n) interference, this latency increases on average to 3.5ms. In this low latency mode, the nrf24le1 in the host (USB dongle) is permanently on (with an RF current consumption of 12.5mA). This current consumption is usually not a problem if the receiving apparatus is mains-powered (for example TV set or a computer). However, if the host side is batterypowered or power consumption is a restriction for other reasons, the protocol can be set in a low power mode. (See fig.5(b).) Fig. 5(a) and (b). Low latency and low power frequency agility protocol In lower power mode, increased latency is introduced to reduce the average current consumption on the host side. This mode can be used to meet low power requirement such as suspend mode on an USB bus (implemented in nrd24h1) or ECO requirements in other remote controlled applications such as TVs or stereo sets. The average current consumption (and hence latency) can easily be controlled by input parameters to the protocol stack and the latency will vary from a few milliseconds in the low latency mode up to 30 to 50 milliseconds when operating in the low power mode. This helps the design to meet ECO requirements (I average of two to four ma) and less than one second in the case of waking a suspended USB bus (USB dongle total I average < 0.5mA). In other words, latency can be chosen based on key design criteria, but in any case, the RF remote s speed of communication is inherently a lot faster than an equivalent IR remote. In low latency mode the latency is around 2.5 ms, in low power this increases to 30 to 50 ms. This compares with the 70 ms it typically takes for the IR remote control to transfer its first training sequence. Assuming the IR

receiver doesn t receive this first command sequence because of interference or obstruction a likely situation the minimum IR remote latency is greater than 110 ms (the time to the first repeat frame). While the benefit of this faster communication may not seem so important when considering only the basic remote command transfers typical today, it becomes increasingly important as the payload to be transferred increases. A good example is a remote control with a display, whereby the command from the remote to the host is short and simple, but the reply from the host comprises the large payload required to update the remote s display. The RF system s low latency ensures frequent refreshes and a pleasing consumer experience. While Nordic s transceivers are keenly priced, the RF solution s BOM, including peripheral devices is likely to be more expensive than an IR remote control s, but the difference is so low that it s outweighed by the added value of the extra features realised by RF technology. What s more, as a proprietary product, there s no drawn out ratification process for an nrf24le1- based product (although you do need to ensure your design meets local governmental regulations such as Europe s ETSI and the US FCC regulations). NORDIC SEMICONDUCTOR 2008, www.nordicsemi.com