IQRF RC-04 User manual
IQRF RC-04 is a versatile, programmable remote controller that offers a wide range of possibilities. With its built-in IQRF transceiver module, the RC-04 allows for wireless communication and control of various devices and systems. The device is easy to program via RF, enabling users to customize its functionality according to their specific needs. With its compact size, low power consumption, and user-friendly interface, the RC-04 is an ideal solution for various applications, including home automation, industrial control, and more.
Advertisement
Advertisement
RC-04
IQRF Programmable remote controller
User's Guide
© 2011 MICRORISC s.r.o.
www.iqrf.org
MNRC04_110926 Page 1
RC-04
Description
RC-04 is a universal user programmable IQRF remote controller with bidirectional communication.
It is a generic equipment, i.e. the hardware is fixed and the user can realize specific functionality by software for internal microcontroller. This can be uploaded by the user via RF
(which is the only way how to upload the code into the device).
Applications
• Portable controller
• Automation
• Voting systems
• Wide usage facilities
Key features
• Built-in IQRF transceiver module
• Programmable via RF only
• Architecture based on TR-52, FSK
• On-board PCB antenna
• 4 pushbuttons, 2 LEDs
• Bidirectional communication – high security in comparison
to unidirectional systems
• High performance
• Sleep mode with ultra low power consumption
• Coin battery
• Low cost
Simplified schematics
© 2011 MICRORISC s.r.o.
www.iqrf.org
MNRC04_110926 Page 2
RC-04
Electrical specifications
RF transceiver
RF IC
Microcontroller
Antenna
Frequency band
RF output power
Battery
Supply current
Sleep mode
Additional watchdog supply current
Run mode
Additional supply current
(typical values unless otherwise stated) built-in, based on the TR-52B architecture
MRF49XA (Microchip)
PIC16F886 (Microchip)
PCB shortened ¼ wave whip
868 MHz or 916 MHz, multiple channels (SW selectable) up to 3.5 mW, programmable in 7 steps
Lithium 3V, 210 mAh coin cell CR2032 depends on application SW (see TR-52B datasheet for details)
0.8 µA (all peripherals shut down)
2 µA typ., 4 µA max. (watchdog enabled)
1 mA @ 8 MHz (RF circuitry in standby mode)
0.6 mA (RF circuitry on)
2 mA (one or two LEDs on)
Rx mode
STD mode
LP mode
XLP mode
Tx mode
Temperature range
Dimensions
Weight:
13 mA
3.5 mA (depends on interferences)
600 µA max. (depends on interferences)
14 mA – 24 mA (according to RF output power)
0 °C to +70 °C
58 mm x 42 mm x 14 mm
29 g (with the battery and the charm chain)
Absolute maximum ratings
Stresses above those values may cause permanent damage to the device. Exposure to maximum rating conditions for extended periods may affect device reliability.
Supply voltage (VCC):
Storage temperature:
3.5 V
-40 °C to +85 °C
Hardware
RC-04 is a generic equipment, i.e. the hardware is fixed and the user can realize specific functionality by software for integrated transceiver module only.
Power supply
RC-04 is supplied from the coin non-rechargable battery.
Sleep mode
It is possible to switch off all functions and peripherals to minimize current. For Sleep mode control refer to demo software included. The power can not be switched off at all (unless removing the battery), the Sleep mode is used instead of this.
Tip: User SW should allow wake-up the controller after pushbutton(s) press. See demo SW included.
Pushbuttons and LEDs
Functionality of all four pushbuttons and both LEDs is fully under user software control.
RF transceiver
Integrated IQRF wireless transceiver based on the TR-5xB architecture. User SW uploading is possible via IQRF wireless upload only (without opening the case).
Antenna
Built-in PCB antenna on the RC-04 board.
© 2011 MICRORISC s.r.o.
www.iqrf.org
MNRC04_110926 Page 3
RC-04
Software
Demo application
This demo illustrates unidirectional non-networking communication between the RC-04 controller and the CK-USB-04 kit equipped with the TR-52B module connected to PC with the IQRF IDE Terminal running. The RC04_simple.c program is intended for the controller and the E02-RX (one of basic IQRF examples) for the TR module in the CK kit.
Both are available on IQRF CD and IQRF website. To upload the RC04_simple.hex to the RC-04 via RF – see
Application note AN009 – IQRF wireless upload. Switching to RF PGM mode after reset is enabled by default.
In idle state the controller stays in Sleep mode allowing wake-up by any pushbutton. After wake-up the battery voltage is checked and LEDs flashing indicates pressing the button and accumulator condition. Then respective command is sent to CK-USB-04 and the controller gets to sleep again.
Buttons
•
•
•
•
•
•
S1
S2
S3
S4
S3 + S4 for more than 5 s
S2 for more than 0.7 s
LED indication
• button S1 to S4
•
RF PGM indication
Function text sent: "S1x" x=0 if battery O.K. otherwise x=1 text sent: "S2x" -"text sent: "S3x" -"text sent: "S4x" -"enter RF PGM mode leave RF PGM mode
1 x flash green (battery O.K.) / red (battery exhausted).
See the Application note AN009 – IQRF wireless upload.
Caution: Select the proper version of Demo according to IQRF OS version (2.11 or 3.xx) implemented in RC-04.
To distinguish OS version, catch Module Info which is always sent by this Demo application just before switching to
RF PGM mode in IQRF IDE Terminal. Show hexa checkbox should be checked. OS version is in buffer moduleINFO[4]. See the picture above and IQRF OS User's guide.
Example: moduleINFO[0–7]:
[0] [1] [2] [3] [4] [5] [6] [7]
3C 5D 00 01 30 03 39 11 moduleINFO[4] = 30 means OS v3.00
moduleINFO[4] = 2B means OS v2.11
© 2011 MICRORISC s.r.o.
www.iqrf.org
MNRC04_110926 Page 4
RC-04
Caution!
The only way how to upload user application into the RC-04 is RF PGM (wireless programming, ICWP). Demo application RC04_simple.c invokes the enableRFPGM function first. It ensures that after every reset (due to reconnecting the battery) the device is switched to RF PGM mode and can possibly be reprogrammed. This feature can be removed (by disableRFPGM), but it should not be done unless there is another reliable way how to invoke back the RF PGM mode using runRFPGM after pressing a pushbutton. See the demo application, refer to AN009
Application note for details. If being omitted the device can not be reprogrammed any more. Recovery is possible by the manufacturer only.
Tip: Always use enableRFPGM during development.
Product information
•
Pack list
RC-04 remote controller with charm chain, battery inserted, the RC04_simple demo uploaded, in Sleep mode
•
•
•
•
Recommended options
CK-USB-04
TR-52BA
CAB-USBABMICRO-100
GW-USB-04
•
Ordering code
RC-04
Programmer / development kit for wireless upload (RF PGM)
Additional TR module for the CK-USB-04 for wireless upload (RF PGM)
USB cable to connect CK-USB-04 to PC
Complete comfortable RF PGM programmer (alternative to all above)
RC-04 Remote controller
•
•
•
Document history
110926
110303
100629
Slightly updated. Caution added.
Updated for IQRF OS v3.00 (and CK-USB-04)
First release
© 2011 MICRORISC s.r.o.
www.iqrf.org
MNRC04_110926 Page 5
Sales and Service
Corporate office
MICRORISC s.r.o., Delnicka 222, 506 01 Jicin, Czech Republic, EU
Tel: +420 493 538 125, Fax: +420 493 538 126, www.microrisc.com
Partners and distribution
Please visit www.iqrf.org/partners
RC-04
Quality management
ISO 9001 : 2009 certified
Complies with ETSI directives EN 30279 V.1.2.1:99, ETS 30683:97, ETSI EN 301489-1:00,
ETSI EN 300220-1:00, ETSI EN 300390-2V.1.1.1:00
Complies with FCC directives FCC CFR, Title 47, Part 15, Section 15.209, FCC CFR, Title 47, Part 15, Section 15.249
Complies with Directive 2002/95/EC (RoHS)
Trademarks
The IQRF name and logo are registered trademarks of MICRORISC s.r.o.
PIC, SPI, Microchip, RFM and all other trademarks mentioned herein are property of their respective owners.
Legal
All information contained in this publication is intended through suggestion only and may be superseded by updates without prior notice. No representation or warranty is given and no liability is assumed by MICRORISC s.r.o. with respect to the accuracy or use of such information.
Without written permission it is not allowed to copy or reproduce this information, even partially.
No licenses are conveyed, implicitly or otherwise, under any intellectual property rights.
The IQRF products utilize several patents (CZ, EU, US)
On-line support: http://iq-esupport.com
© 2011 MICRORISC s.r.o.
www.iqrf.org
MNRC04_110926 Page 6
Advertisement