TECHNICAL INFORMATION MANUAL Revision 00 – 18 March 2016 R4301P UHF Long Range Reader with GPRS/WIFI
Visit the Ion R4301P web page, you will find the latest revision of data sheets, manuals, certifications, technical drawings, software and firmware. All you need to start using your reader in a few clicks! Scope of Manual The goal of this manual is to provide the basic information to work with the Ion R4301P UHF Long Range Reader with GPRS/WIFI.
Federal Communications Commission (FCC) Notice (Preliminary) This device was tested and found to comply with the limits set forth in Part 15 of the FCC Rules. Operation is subject to the following conditions: (1) this device may not cause harmful interference, and (2) this device must accept any interference received including interference that may cause undesired operation.
Index… Scope of Manual ...........................................................................................................................................................................2 Change Document Record ............................................................................................................................................................2 Reference Document ....................................................................................................................
10 11 12 13 USING THE GSM ................................................................................................................................................................ 43 SIM card placement ....................................................................................................................................................................43 Setting up the GSM module ..........................................................................................................
1 INTRODUCTION Product Description © The Ion (Model R4301P) is the top-of-the-range portal reader of the easy2read Family. CAEN RFID has carefully designed the device taking into account customer requests and on-field experience on RFID installations. The result is not only an UHF reader, it's a unique combination of outstanding RFID reading performances, computing power and communication capabilities.
Installation Notice The Ion R4301P reader could be mounted either horizontally or vertically. Locate the four mounting slots on the reader, as illustrated below. All measurements are in millimetres. Fig. 1.
Development Kit The R4301PDK (Ion) RFID UHF Portal Reader Development Kit is available: Fig. 1.3: Ion R4301P - RFID UHF Portal Reader Development Kit The R4301PDK (Ion) reader development kit is a complete RFID set up, for a quick implementation of RFID solutions. It includes: n. 1 R4301P (Ion) RFID UHF Portal Reader n. 1 Power Supply n. 1 Circular polarized antenna (WANTENNAX019 - ETSI or WANTENNAX020 - FCC) (in Mod. R4301PDK) n. 1 GPRS antenna (in Mod. R4301PDKGPR) n. 1 Set of Labels n.
Ordering Options Reader Code WR4301PXAAAA WR4301PXGPRS WR4301PXWIFI WR4301PDKAAA Development Kit WR4301PDKGPR WR4301PDKWFI Accessories WANTENNAX019 WANTENNAX020 WANTENNAX018 WANTENNAX021 WALIM0000003 WCAVOAAAX005 WCAVOAAAX006 WRA0003XAAAA WRA0002XAAAA Description R4301P - Ion - RFID UHF Portal Reader R4301P - Ion - RFID UHF Portal reader with GPRS R4301P - ION - RFID UHF Portal reader with WIFI Interface R4301PDK - Development kit with R4301P reader, antenna, cable, power supply and demo tags R4301PDK
2 GETTING STARTED Introduction This guide will help you to get started with your new Ion R4301P reader. For more detailed information on reader configuration, connections and setup options please refer to the next chapters. To begin, you need first to download and install the .NET framework 2.0 (only required if .NET is not already installed on your PC). Connecting to the Ion R4301P Reader By default, the Ion R4301P is configured with the static IP address 192.168.0.1.
3 ION EXTERNAL INTERFACES DESCRIPTION Connectors The Ion R4301P reader is equipped with the following ports: Fig. 3.1: Ion R4301P Connectors View Power supply The power supply connector shall be used to provide Ion R4301P with the DC supply voltage in the range 9V ÷ 36V. The part number of the connector is KPJX-3S-S by KYCON and mates with KYCON P.N. KPPX-3P (to be used on the supply voltage cable), see § Fig. 3.2: Ion R4301P Plug Cable Connector page 12.
In the following picture the drawing of KPPX-3P is shown. Fig. 3.2: Ion R4301P Plug Cable Connector A standard power supply AC/DC adapter 24Vdc output voltage (mod. WALIM0000003) for the Ion R4301P reader is available for purchase (see § Ordering Options page 9). Ethernet port The Ethernet interface of Ion R4301P can be used to connect the reader to a 10/100/1000BaseT network using a RJ45 cable.
GPIO ports The Ion R4301P reader has 13 GPIO bi-directional pins to be used to control external device or to send trigger signals to the reader. The default configuration of all the GPIO lines after a power on reset or a general reset is set to Input.
In the following table the pinout of the GPIO DB15 socket connector is shown. Connector external shell is connected to GND.
Fig. 3.6: Ion R4301P USB Connector Pins Position GSM/GPRS antenna port (only in Mod. WR4301PXGPRS) RF port for the external GSM/GPRS antenna is a 50Ω SMA jack connector. The suggested antenna to be used with Ion R4301P/GPRS reader is Amphenol P.N. TAN015-1100104BS. Ion R4301P/GPRS is approved to operate with 1dBi gain max. antennas connected to the GSM/GPRS port. Antenna VSWR shall be lower than 2:1 in order to achieve optimum performances: the use of antenna with VSWR > 10: 1 can damage the module.
RS232 The Ion R4301P RS232 port is available on a DB9 socket connector. The pinout is the following: Pin # 1 2 3 4 5 6 7 8 9 - Signal TX RX GND CTS RTS Shell Description Not connected TX output RX input Not connected Ground Not connected CTS input RTS output Not connected External shell (connected to Ground) Tab. 3.8: Ion R4301P RS232 Connector Pinout Fig. 3.7: Ion R4301P DB9 Socket Connector Pins Position RFID antenna ports The Ion R4301P has 4 antenna ports available on 50Ω RP-TNC jack connectors.
LEDs The Ion R4301P top cover panel houses the following LEDs (see § Fig. 3.9: Ion R4301P Top Cover LEDs page 17): LED POWER RF ACTIVE GSM/GPRS FAULT 1 ANTENNA 2 FUNCTION Power ON RFID Transmitting activity GSM/GPRS modem or WIFI interface power ON Communication activity Boot phase Ready to work Selected TX antenna TYPE Green LED Blinking Yellow LED Blinking Blue LED Blinking Blue LED Red LED OFF Yellow LED Tab. 3.9: Ion R4301P Top Cover LEDs Fig. 3.9: Ion R4301P Top Cover LEDs 1 In Mod.
4 ION READER CONFIGURATION Introduction The Ion R4301P Reader can be configured using either the configuration web interface or the standard linux bash shell available via the serial port. In the following paragraphs we will guide you through the reader configuration using both the methods. Reader Configuration using the Web Interface The Ion Web Interface is built around Webmin, a well-known web-based configuration tool for Linux systems.
Configure Ethernet settings To change the network configuration of the Ion R4301P reader using the web interface: 1. Select the Network Configuration option in the Networking menu: 2.
3. On the Activated at Boot tab, enable the eth0 switch and click on the eth0 label: 4. Fill the Boot Time Interface Parameters form and press the save button: The new settings will become effective at next reader reboot. Set Date and Time To change the reader date and time using the web interface: 1. Select the System Time option in the Hardware Menu. 2.
Reader Configuration using the serial port By default, a standard bash shell is available on the Ion serial port; to access the reader using this method, you have first to configure your preferred serial terminal monitor (Hyperterminal, minicom, etc...) with the following settings: Baud rate: 115200 b/s Data bit: 8 Stop Bit: 1 Parity: None Flow Control: None To login, type root at the Username prompt and rootroot at the Password prompt.
Set Date and Time To set date and time on the Ion reader, you can use the linux date command; as an example, to set the current time and date to 29 May 2012, 16:30:00 type: root@ion:~# date -s “29 May 2012 16:30:00” The above command sets the system time only.
4 For example, to enter again the bash shell from the development virtual machine you can type: develop@ion:~# ssh where is the IP address of the Ion reader. How to restore the R4301P default factory settings Follow the instructions below for resetting the Ion firmware to its factory default. 1. Download the latest zipped Ion R4301P image from Ion R4301P web page and unzip it. 2. Flash the Ion R4301P image into an USB flash drive (at least 4 GB of memory).
6. Press the right arrow to move until “Boot” and enter this option by pressing “Enter” key: 7.
8. Select the USB pen drive using the down arrow and change it to Boot Option #1 using the “+/-“ keys: 9. Press the ESC key, go to “Save&Exit” using the right arrow and select “Save Changes and Exit”. Press Enter.
10. If everything is ok the bootloader should boot from the USB disk image as shown in the picture: 11. Type root at the Ion login prompt and rootroot at the password request. 12. When entered in the bash shell type the following command: /opt/install and then press enter. 13. Wait 15-20 minutes until a "System halted" message appears on the screen: 14. Power off the reader and remove the USB flash drive. 15. Power on the reader. 16.
ION READER CONFIGURATION - Ion Technical Information Manual 27
17. When the Ion login prompt appears the restore procedure is completed and the Ion is ready to be used again.
5 ION GPIO Using Ion GPIO Interface The Ion has 13 general purpose input and output (GPIO) interfaces. You can use them to control external devices and/or get specific signals from the environment. The GPIO lines can be managed directly from the console Linux shell of the reader.
6 ION CAENRFIDD DAEMON Introduction The caenrfidd daemon represents the server side implementation of the CAEN RFID protocol, it handles the request coming from the host computer and sends back the replies after having executed the requested actions. The client side of the CAEN RFID protocol is implemented by the CAEN RFID SDK (Software Development Kit). Configuring the daemon The caenrfidd daemon can be configured by modifying its configurations files.
# # Default: # log_level = error # Log to stderr # # Enable logging to standard error too. # # Default: # log_to_stderr = false # Lock file # # Set the lock file name. # # Default: # lock_file = "/var/lock/caenrfidd" # PID file # # Set the PID file name. You can kill the program by using the command: # $ kill # # Default: # pid_file = "/var/run/caenrfidd.pid" # Run as user # # If executed as root the server will drop privileges to the specified # user.
The CAENRFID Ion The Ion reader configuration file is by default: # Package generated configuration file # See the caenrfidd(8) manpage for details # # CAENRFID (read only) configuration settings # # Reader Manufacturer # # Define custom reader manufacturer ID. # # Default: # vendor = 21336 # CAEN # Reader Model # # Define custom reader model ID.
# # Default # q = 3 # # # # # # # # Session Define the default session for the query algorithm. Allowed values are: S0, S1, S2 and S3 Default session = "S0" The settings are self-explanatory.
7 DEVELOPING APPLICATION FOR THE ION READER Introduction The Ion R4301P reader supports C, Java and C# applications. Your application communicates with the Ion through one of two RFID services: The caenrfidd server, which controls the reader by the CAEN RFID communication protocol. For more information on the caenrfidd server, see § Configuring the daemon page 30. For more information on the CAEN RFID easy2read communication protocol refer to the SDK (Software Development Kits) library.
Note: once the import procedure is finished you may need blessing the new machine by edit the machine settings and then just pressing the Ok button. Using the development virtual machine Once you started the development virtual machine, you can login with username user and password useruser. The superuser root password is rootroot instead.
8 ION GETTING STARTED WITH C Development code installation If you want to develop C applications using our CAENRFID C library you must first install the libcaenrfid development 5 package into your development virtual machine : develop@ion:~# sudo aptitude install libcaenrfid-dev New and standard API Package libcaenrfid-dev containes the header files required for developing C applications using the CAENRFID C API (SDK Software Development Kit).
CAENRFIDTag *tag; int size; char *str; int ret; if (argc < 2) { fprintf(stderr, "usage: %s: \n", argv[0]); exit(EXIT_FAILURE); } /* Start a new connection with the CAENRFIDD server */ ret = CAENRFID_Init(TCP, argv[1], &handle); if (ret != CAENRFID_StatusOK) { fprintf(stderr, "cannot init lib (err=%d)\n", ret); exit(EXIT_FAILURE); } /* Do the inventory */ ret = CAENRFID_InventoryTag(&handle, string, &tag, &size); if (ret != CAENRFID_StatusOK) { fprintf(stderr, "cannot get data (err=%d)\n", ret);
New API usage example On the contrary to the standard API, only three functions are required to perform a basic inventory cycle using the new API: caenrfid_open(), caenrfid_inventory() caenrfid_close() The code below shows how to use them. #include #include #include #include #include #include .......................
/* Close the connection */ ret = caenrfid_close(&handle); if (ret < 0) fprintf(stderr, "improper caenrfidlib closure!\n"); return 0; } Note that this time the caenrfid_old.h file is no longer needed. To compile the code, you can use the make command: develop@ion:~# make inv_test cc inv_test.c -lcaenrfid -o inv_test When the compile operation is finished you can test the program from your virtual machine: develop@ion:~# .
9 ION GETTING STARTED WITH JAVA Introduction This quick guide will explain how to start developing in Java with your CAEN RFID R4301P reader. It starts from the assumption that you have already installed the Development Virtual Machine as described by the relevant chapter and 6 that you will use it as the development platform .
myReader.Disconnect(); } catch (Exception err) { System.out.println(err.toString()); } } } This simple java code instructs the reader, indicated by the IP address passed as the only argument, to execute an inventory cycle and print on the console window the EPC code of the first detected tag, if at least one is detected. Compile the proposed code into the java bytecode: develop:~# javac –cp “./:./CAENRFIDLibrary.jar:./RXTXcomm.jar” CAENTest.java In the above command line the CAENRFIDLibrary.
Optional: using the Eclipse IDE A simple project like the one we described in the previous paragraphs can be managed using a simple text editor and the command line but managing more complex projects may require the usage of an Integrated Development Environment. Here is explained how to install and configure the Eclipse IDE in order to create application for the Ion reader.
10 USING THE GSM SIM card placement In order to insert the SIM card inside the reader the cover shall be opened by removing the 6 screws (please see the red circle in the Fig. 10.2: SIM holder position page 43 for the correct position). Fig. 10.1: Bottom cover screws position The SIM card shall be inserted in the GPRS modem SIM holder. Fig. 10.
Setting up the GSM module The Ion R4301P reader has an (optional) internal GSM/GPRS module that can be used to send/receive SMS or as Internet gateway. Here some basic instructions about how to send SMS and how to connect to the Internet using the GSM/GPRS module. The GSM/GPRS module is connected to the system through the second serial port (the first is used for the console) mapped to the pseudo-file /dev/ttyS1.
Surfing the Internet In order to connect to the Internet using the internal GSM/GPRS moduel, you can use the wvdial program. Just edit its configuration file named /etc/wvdial.
ppp0 Link encap:Point-to-Point Protocol inet addr:109.114.117.107 P-t-P:109.114.126.226 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 RX packets:4 errors:0 dropped:0 overruns:0 frame:0 TX packets:5 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:64 (64.0 B) TX bytes:97 (97.0 B) The routing table and the file /etc/resolv.conf should be modified accordingly in order to establish the internet connection.
11 UPGRADE PROCEDURE Upgrade the Ion packages The Ion R4301P reader operating system is a standard Linux Debian installation so the upgrade procedure is based, as any Debian system, on the aptitude tool. Here we show the basic usage of this method in order to upgrade or install new packages on the system, for further details on the aptitude tool please refer to the specific documentation (see § Debian Documentation on line resource).
libmagic1 libnspr4-0d libnss3-1d libogg0 libpango1.0-0 libpango1.
12 ION TECHNICAL SPECIFICATIONS Technical Specifications Table Frequency Band Output Power CPU Memory Operating System Scripting Host Interface Protocols Antenna Connector Receiving Capability Standard Compliance Digital I/O Connectivity Wireless Communication Internal Interfaces IP Rating MTBF Dimensions DC Power Operating Temperature Weight 902÷928 MHz (FCC part 15) 865.600÷867.600 (ETSI EN 302 208) Up to 32 dBm (1.6W) conducted (ETSI) Up to 30 dBm (1W) conducted (FCC) Intel Atom E3815 CPU @ 1.
Reader – Tag Link Profiles Ion R4301P reader supports different modulations and return link profiles according to EPC Class1 Gen2 protocol. In the following table are reported all available profiles and the compatibility with the different regulations: Link profile # 1 2 3 Regulation ETSI FCC FCC Modulation PR–ASK; f=40kHz PR–ASK; f=40kHz DSB–ASK; f=160kHz Return Link Miller (M=4); f = 300kHz Miller (M=4); f = 250kHz FM0; f = 400kHz Tab. 12.
GPIO Port Electrical Characteristics Parameter VOL VOH Output current (low level) Output current (high level) VIL VIH Input current Internal pull-up resistor Min Typ. 2.0 -0.5 2 Max 0.4 5.0 12 0.3 0.8 5.5 0.5 10 Unit V V mA mA V V mA kΩ Tab. 12.
13 ION REGULATORY COMPLIANCE FCC Compliance This equipment has been tested and found to comply with Part 15 of the FCC Rules. NOTE: a. Any changes or modification not approved by CAEN RFID could void the user’s authority to operate the equipment. b. Ion R4301P, R4301PXGPRS and R4301PXWIFI readers are approved for operation with the following antennas: RFID ports: power rating 1W max.; CAENRFID antenna Mod. WANTENNAX020 Circular polarized antenna 8.5dBc (US) GSM/GPRS port: Amphenol Mod.