R4300P UHF Long Range Reader with GPRS Technical Information Manual Revision n.
Visit Ion R4300P Web Page and 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 provi de the basic i nformation to work with the Ion R4300P UHF Long Ra nge Rea der wi th GPRS.
CAEN RFID srl Vi a Vetra i a , 11 55049 Vi a reggi o (LU) - ITALY Tel . +39.0584.388.398 Fa x +39.0584.388.959 i nfo@ca enrfi d.com www.ca enrfi d.com © CAEN RFID s rl – 2013 Disclaimer No pa rt of this ma nua l ma y be reproduced i n a ny form or by a ny mea ns , el ectroni c, mecha ni ca l , recordi ng, or otherwi s e, wi thout the pri or wri tten permi s s i on of CAEN RFID.
Index .. Scope of Manual............................................................................................................................................................................. 2 Cha nge Document Record.............................................................................................................................................................. 2 Reference Document..............................................................................................................
11 12 13 SIM ca rd placement...................................................................................................................................................................... 48 Setti ng up the GSM module ......................................................................................................................................................... 49 Sending a SMS message .........................................................................................................
1 Introduction Thi s Chapter gives genera l i nforma ti on a bout the Ion R4300P Reader.
General Information The ION (Model R4300P) i s the top -of-the-ra nge porta l rea der of the ea s y2rea d © Fa mi l y. CAEN RFID has carefully designed the device ta king into account customer requests a nd on -fi el d experi ence on RFID i ns tallations. The result i s not only a n UHF reader, it's a unique combination of outstanding RFID reading performances, computi ng power a nd communi ca ti on ca pa bi l i ti es .
R4300P (Ion) RFID UHF Portal Reader Development Kit i s a va i l a bl e: Fig. 1.2: Ion R4300P - RFID UHF Portal Reader Development Kit The R4300P (Ion) reader development kit is a complete RFID set up, for a quick implementa ti on of RFID s ol uti ons . It i ncl udes : n. 1 R4300P (Ion) RFID UHF Porta l Rea der n. 1 Power Suppl y n. 1 Ci rcul a r pol a ri zed a ntenna (i n Mod. R4300PDK) n. 1 GPRS a ntenna (i n Mod. R4300PDKGPR) n. 1 Set of La bel s n. 1 A927Z Tempera ture Logger Ta g n.
Installation Notice The Ion R4300P reader could be mounted either hori zonta l l y or verti ca l l y. Loca te the four mounti ng s l ots on the rea der, a s i l l us tra ted bel ow. Al l mea s urements a re i n mi l l i metres . Fig. 1.
2 Getting Started Thi s chapter provi des simple s teps to quickly s tart using the Ion R4300P Reader.
Introduction Thi s gui de wi l l hel p you to get s ta rted wi th your new Ion R4300P rea der. For more detailed i nformation on reader confi gura ti on, connecti ons a nd s etup opti ons pl ea s e refer to the next cha pters . To begi n, you need first to download a nd install th e .NET fra mework 2.0 (only required if .NET is not alrea dy i ns ta l l ed on your PC). Connecting to the Ion R4300P Reader By default, the Ion R4300P i s configured with the s tatic IP a ddress 192.168.0.1.
3 Ion R4300P External Interfaces Description Thi s Chapter gives a description of the Ion R4300P Reader externa l i nterfa ces .
Connectors The Ion R4300P rea der i s equi pped wi th the fol l owi ng ports : Fig. 3.1: Ion R4300P Connectors View Power supply The power s upply connector shall be used to provide Ion R4300P wi th the DC s upply vol tage i n the ra nge 9V ÷ 36V. The pa rt number of the connector is KPJX-3S-S by KYCON a nd mates with KYCON P.N. KPPX-3P (to be us ed on the s uppl y vol ta ge ca bl e), s ee § Fig. 3.2: Ion R4300P Plug Cable Connector pa g. 13.
A s ta ndard power supply AC/DC a dapter 24Vdc output vol ta ge (mod. WALIM0000003) for the Ion R4300P rea der i s a va i l a bl e for purcha s e (s ee § Ordering Options pa g. 8). Ethernet port The Ethernet i nterface of Ion R4300P ca n be used to connect the reader to a 10/100/1000BaseT network us i ng a RJ45 ca bl e.
Fig. 3.3: Ion R4300P GPIO Output Configuration Equivalent Schematic In ca s e a GPIO l ine is configured a s an i nput line, the pin i s a logic port with Schmitt tri gger i nput with a vol ta ge ra nge from 0V to 5V. Fig. 3.
13 14 15 - GPIO9 GPIO11 DC_BYPASS Shel l Genera l -purpos e IO #9 Genera l -purpos e IO #11 Input supply vol tage bypass (500mA max) Externa l s hel l (connected to Ground) Tab. 3.4: Ion R4300P GPIO Connector Pinout Fig. 3.5: Ion R4300P DB15 Socket Connector Pins Position Warning: a voi d connecting the DC_BYPASS signa l to a ny of GPIO pi ns , otherwi s e the rea der ca n be perma nentl y da ma ged. USB host ports Ion R4300P rea der has 2 USB 2.
GSM/GPRS antenna port (only in Mod. WR4300PXGPRS) RF port for the externa l GSM/GPRS a ntenna i s a 50Ω SMA ja ck connector. The s ugge s ted a ntenna to be us ed wi th Ion R4300P/GPRS rea der i s Amphenol P.N. TAN015-1100104BS. Ion R4300P/GPRS i s a pproved to opera te wi th 3dBi ga i n ma x. a ntenna s connected to the GSM/GPRS p ort. Antenna VSWR shall be lower than 2:1 i n order to a chieve optimum performances: the use of a ntenna with VSWR > 10: 1 ca n da ma ge the modul e.
RS232 Ion R4300P RS232 port i s a va i l a bl e on a DB9 s ocket connector. The pi nout i s the fol l owi ng: Pin # 1 2 3 4 5 6 7 8 9 - Signal TX RX GND CTS RTS Shel l Description Not connected TX output RX i nput Not connected Ground Not connected CTS i nput RTS output Not connected Externa l s hel l (connected to Ground) Tab. 3.7: Ion R4300P RS232 Connector Pinout Fig. 3.
LEDs The Ion R4300P top cover pa nel hous es the fol l owi ng LED s (s ee § Fig. 3.9: Ion R4300P Top Cover LEDs pa g.19): LED POWER RF ACTIVE GSM/GPRS FAULT1 ANTENNA2 FUNCTION Power ON RFID Tra ns mi tti ng a cti vi ty GSM/GPRS modem power ON Communi ca ti on a cti vi ty Boot pha s e Rea dy to work Sel ected TX a ntenna TYPE Green LED Bl i nking Yellow LED Bl i nki ng Bl ue LED Bl i nki ng Bl ue LED Red LED OFF Yel l ow LED Tab. 3.8: Ion R4300P Top Cover LEDs Fig. 3.
4 Ion R4300P Reader Configuration Thi s Chapter gives i nformation a bout the Ion R4300P Reader confi guration.
Introduction The Ion R4300P Reader can be configured using either the configuration web interface or the standard linux bash s hel l a va ilable vi a 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 Li nux s ys tems .
Configure Ethernet settings To cha nge the network confi gura ti on of the Ion R4300P rea der us i ng the web i nterfa ce: 1. Sel ect the Network Configuration opti on i n the Networki ng menu : 2.
3. On the Acti va ted a t Boot ta b, e na bl e the eth0 s wi tch a nd cl i ck on the eth0 l a bel : 4. Fi l l the Boot Time Interface Parameters form a nd pres s the s a ve button: The new s etti ngs wi l l become effecti ve a t next rea der reboot. Set Date and Time To cha nge the rea der da te a nd ti me us i ng the web i nterfa ce: 1. Sel ect the System Time opti on i n the Ha rdwa re Menu. 2.
Reader Configuration using the serial port By default, a standard bash shell is a vailable on the Ion serial port; to a ccess the reader us i ng thi s method, you ha ve fi rs t to configure your preferred serial terminal monitor (Hyperterminal, minicom, etc...) with the fol l owi ng s etti ngs : Ba ud ra te: 115200 b/s Da ta bi t: 8 Stop Bi t: 1 Pa ri ty: None Fl ow Control : None To l ogi n, type root a t the Us erna me prompt a nd rootroot a t the Pa s s word prompt.
Set Date and Time To s et date a nd ti me on the Ion reader, you ca n use the linux date command; a s an exa mpl e, to s et the current ti me a nd da te to 29 Ma y 2012, 16:30:00 type: root@ion:~# date -s “29 May 2012 16:30:00” The a bove command s ets the s ystem ti me onl y.
For exa mpl e, to enter a ga i n the ba s h s hel l from the devel opment vi rtua l ma chi ne 4 you ca n type: develop@ion:~# ssh where i s the IP a ddres s of the Ion rea der. How to restore the R4300P default factory settings Fol l ow the i ns tructi ons bel ow for res etti ng the ION fi rmwa re to i ts fa ctory defa ul t. 1. Download the latest zipped I on R4300P i mage from Ion R4300P web page and unzip i t. 2.
8. Wa i t 15-20 mi nutes until a "System halted" message a ppears on the s creen: 9. Power off the rea der a nd remove the USB fl a s h dri ve. 10. Power on the rea der. 11.
12. When the i on l ogin prompt a ppears the restore procedure is completed a nd the ION i s rea dy to be us ed a ga i n.
5 Ion R4300P GPIO Thi s Chapter gives a description of the usage of Ion R4300P Reader GPIOs using the cons ol e ba s h s hel l .
Using Ion GPIO Interface The Ion has 13 general purpose input a nd output (GPIO) i nterfa ces . You ca n us e them to control externa l devi ces a nd/or get s peci fi c s i gna l s from the envi ronment. The GPIO l ines can be managed directly from the console Linux shell of the rea der.
6 Ion R4300P CAENRFIDD Daemon Thi s Chapter i ntroduces the caenrfidd daemon, the s erver s i de i mpl ementa ti on of the CAENRFID protocol .
Introduction The caenrfidd da emon represents the server side i mplementation of the CAEN RFID protocol , i t ha n dl es the reques t comi ng from the host computer and sends back the replies a fter havi ng executed the requested actions. The client side of the CAEN RFID protocol i s i mpl emented by the CAEN RFID API. Configuring the daemon The caenrfidd da emon can be configured by modifying its configurations files.
# 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. # # Note: the selected user shold be able to read/write USB devices! # # Default: # user = "daemon" user = "root" # # # # # # # # # # # # # Listening port Change the default listening port.
# # Default: # vendor = 21336 # CAEN # Reader Model # # Define custom reader model ID. # # Default: # model = "(null)" model = "R4300P" # Ion # Reader radios list # # Define which radios are connected to the reader and each per radio # configuration data. # # Note: # * antennae ID numbering starts fro m 0. # * invalid antenna IDs are simply discarted.
7 Developing Application for the Ion R4300P Reader Thi s Chapter explains how to use our developing vi rtual machines.
Introduction The Ion R4300P reader s upports C, Ja va and C# a pplications. Your a pplication communicates with the Ion through one of two RFID s ervi ces : The caenrfidd s erver, which controls the rea der by the CAEN RFID communi ca ti on protocol . For more i nformation on the caenrfidd s erver, s ee § Configuring the daemon pa g. 32. For more i nforma ti on on the CAEN RFID API, s ee the CAEN RFID API documenta ti on.
Using the development virtual machine Once you s tarted the development vi rtual machine, you can l ogin wi th us erna me user a nd pa s s word useruser. The s uperus er root pa s s word i s rootroot i ns tea d. You ca n use the development machine as the preferred development environment for the Ion R4300P reader s ince the i ns talled s ystem i s very s imilar to the system installed on the rea der i ts el f.
8 Ion R4300P Getting Started with C Thi s Chapter explains how to get s ta rted wi th C progra mmi ng on the Ion R4300P Reader.
Development code installation If you wa nt to develop C a pplications using our CAENRFID C l i brary you must first insta l l the libcaenrfid devel opment pa cka ge i nto your devel opment vi rtua l ma chi ne 5: develop@ion:~# sudo aptitude install lib caenrfid-dev New and standard API Pa cka ge libcaenrfid-dev containes the header files required for developing C a ppli ca ti ons us i ng the CAENRFID C API .
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); exit(EXIT_FAILURE); } /* Report results */ for (i = 0; i < size; i++) { str = bin2hex(tag[i].ID, tag[i].Length); if (!str) { fprintf(stderr, "cannot allocate memory!\n"); exit(EXIT_FAILURE); } printf("%.*s %.*s %.*s %d\n", tag[i].Length * 2, str, MAX_LOGICAL_SOURCE_NAME, tag[i].LogicalSource, MAX_READPOINT_NAME, tag[i].
New API usage example On the contra ry to the s tandard API, only three functions a re required to perform a basic i nventory cycl e using the new API: caenrfid_open(), caenrfid_inventory() caenrfid_close() The code bel ow s hows how to us e them. #include #include #include #include #include #include .......................
ret = caenrfid_close(&handle); if (ret < 0) fprintf(stderr, "improper caenrfidlib closure!\n"); return 0; } Note tha t thi s ti me the caenrfid_old.h fi l e i s no l onger needed. To compi l e the code, you ca n us e the make comma nd: develop@ion:~# make inv_test cc inv_test.c -lcaenrfid -o inv_test When the compi l e opera ti on i s fi ni s hed you ca n tes t the progra m from your vi rtua l ma chi ne: develop@ion:~# .
9 Ion R4300P Getting Started with JAVA Thi s Chapter explains how to get s tarted with JAVA programming on the Ion R4300P Reader.
Introduction Thi s quick guide will explain how to s tart developing i n Ja va wi th your CAEN RFID R4300P rea der. It s ta rts from the a s sumption that you have already i nstalled the Development Vi rtual Machine as described by the relevant chapter a nd 6 tha t you wi l l us e i t a s the devel opment pl a tform .
In the a bove command line the CAENRFIDLibrary.jar a nd the RXTXcomm.ja r fi l es a re s uppos ed to be i n the s a me di rectory of the source code. As a result you’ll obtain the CAENTest.class bytecode file that ca n be executed wi th the fol l owi ng comma nd l i ne: develop:~# java –cp “./:./CAENRFIDLibrary.jar:./RXTXcomm.jar” CAENTest 10.0.32.201 where 10.0.32.201 i s the IP a ddres s of your Ion rea der.
Optional: using the Eclipse IDE A s i mple project like the one we described in the previous paragraphs can be managed using a simpl e text edi tor a nd the command line but mana gi ng more compl ex projects ma y requi re the us a ge of a n Integra ted Devel opment Envi ronment. Here i s explained how to install a nd configure the Ecl ipse IDE in order to create a ppl i ca ti on for the Ion rea der.
10 Using the GSM Thi s Chapter describes how to us e the Ion R4300P Reader GSM.
SIM card placement In order to i nsert the SIM ca rd i nside the reader the cover s hall be opened by removing the 6 s crews (pl ea s e s ee the red ci rcl e i n the Fig. 10.2: SIM holder position pa g. 48 for the correct pos i ti on). Fig. 10.1: Bottom cover screws position The SIM ca rd s ha l l be i ns erted i n the GPRS modem SIM hol der. Fig. 10.
Setting up the GSM module The Ion R4300P has an (optional) i nternal GSM/GPRS module that ca n be us ed to s end/recei ve SMS or a s Internet ga teway. Here s ome ba s i c i ns tructi ons a bout how to s end SMS a nd how to connect to the Internet us i ng the GSM/GPRS modul e. The GSM/GPRS module is connected to the sys tem through the second s erial port (the fi rs t i s us ed for the cons ol e) ma pped to the ps eudo-fi l e /dev/ttyS1.
Surfing the Internet In order to connect to the Internet using the internal GSM/GPRS moduel, you ca n use the wvdial program. Just edi t i ts confi gura ti on fi l e na med /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 ta ble and the file /etc/resolv.conf should be modified accordingly i n order to es ta bl i s h the i nternet connecti on.
11 Ion R4300P Upgrade Procedure Thi s Cha pter des cri bes how to upgra de the Ion R4300P Reader s ys tem.
Upgrade the Ion packages The Ion R4300P reader operating s ystem is a s tandard Li nux Debian installation so the upgrade procedure is ba s ed, a s a ny Debian system, on the aptitude tool. Here we show the basic usage of this method i n order to upgra de or i ns ta l l new pa ckages on the system, for further details on the a ptitude tool please refer to the specific documentation (s ee § Debi a n Documenta ti on on l i ne res ource ).
12 Ion R4300P Technical Specifications Thi s Chapter illustrates the technical specifications of Ion R4300P Reader.
Technical Specifications Table 902÷928 MHz (FCC pa rt 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 Z510 CPU @ 1.
RFID Antenna Ports Electrical Characteristics Parameter Min 0.05 17 0.05 17 RF output power – ETSI RF output power – FCC Output power vs . power setting a ccuracy Output power setting s tep RF port i mpedance Recommended antenna VSWR Typ. Max 1.6 32 1 30 ±1 0.1 50 1.5:1 Unit W dBm W dBm dB dB Ω - Tab. 12.4: Ion R4300P RFID Antenna Ports Electrical Characteristics GSM/GPRS Antenna Port Electrical Characteristics Parameter Min Typ.
USB Port Electrical Characteristics Pin name Pin # Vbus 1 D- 2 D+ 3 Parameter Vol ta ge l evel Output Current VOL VOH Input Impeda nce VOL VOH Input Impeda nce Min 4.75V Typ. 5.00V 0 2.8 Max 5.25V 500 0.3 3.6 27 0 2.8 0.3V 3.6 27 Unit V mA V V Ω V V Ω Tab. 12.
13 Ion R4300P Regulatory Compliance Thi s Chapter gives i nformation on the Ion R4300P Reader Regulatory Compliance.
FCC Compliance Thi s equi pment ha s been tes ted a nd found to compl y wi th Pa rt 15 of the FCC Rul es . NOTE: (a ) Any cha nges or modi fi ca ti on not a pproved by CAEN RFID coul d voi d the us er’s a uthori ty to o pera te the equi pment. (b) The Ion R4300P rea der i s a pproved for opera ti on wi th the fol l owi ng a ntenna s : RFID ports: CAENRFID a ntenna Mod. WANTENNAX005 (Ci rcular polarized a ntenna 8dBic ga i n ma x. 860-960 MHz) GSM/GPRS port: Amphenol Mod.
CE Declaration of Conformity We CAEN RFID Srl Via Vetraia, 11 55049 Viareggio (LU) Italy Tel.: +39.0584.388.398 Fax: +39.0584.388.959 Mail: info@caenrfid.com Web site: www.caenrfid.