background image

 

 

 

Elproma Elektronika Sp. z o.o. 
ul. Szymanowskiego 13 
05-092 Łomianki k/Warszawy 

       E-mail: 

[email protected]

 

             

Tel. +48 (22) 751 76 80

 

 

www.teleorigin.com

 

 

29 

The Python script is executed in a task with the lowest priority on the Telit module, so 

it’s execution  won’t  interfere  with  GSM/GPRS  normal  operations.  Furthermore,  this  allows 
serial  ports,  protocol  stack  etc.  to  run  independently  from  the  Python  script.  The  Python 
script  interacts  with  the  Telit  module  functionalities  through  several  built-in  interfaces,  as 
depicted below: 

 

The  MDM  interface

  is  the  most  important  one.  It allows  the  Python  script  to 

send AT commands, receive responses and unsolicited indications, send data 
to  the  network  and  receive  data  from  network  during  connections.  It  is  quite 
similar  to  the  regular  serial  port  interface  on  the  Telit  module.  The  only 
difference  being  that  this  interface  is  an  internal  software  bridge  between 
Python and module internal AT command handling engine, and not a physical 
serial port. All AT commands working on the Telit module are working with this 
software interface as well. 

 

The MDM2 interface 

is the second interface between Python and the module 

internal AT command handling. It’s purpose is to send AT commands from the 
Python script to the module and receive AT responses from the module to the 
Python script when the regular MDM built-in module is already in use. 

 

The  SER  interface 

lets  the  Python  script  to  read  from  and  write  to  the 

physical serial port ASC0, usually the default port to send AT commands to the 
module  (e.g.  to  read  information  from  an  external  device).  When  Python  is 
running,  this  serial  port  is  free  to  be  use  by  the  Python  script  since  it  is  not 
used as the AT command interface; the AT parser, in fact, is mapped into the 
internal virtual serial port. No flow control is available from Python on this port. 

 

The  SER2  interface 

lets Python script to read from and write to the physical 

serial port ASC1, usually the default port for tracing and debugging. 

 

The  GPIO  interface 

lets  the  Python  script  to  handle  general  purpose  input 

output  faster  than  through  AT  commands,  skipping  the  command  parser  and 
controlling directly the pins. 

 

The MOD interface 

is a collection of useful functions 

 

The  II2  interface 

is  an  implementation  on  the  Python  core  of  the  IIC  bus 

Master. It allows Python to create one or more IIC bus on the available GPIO 
pins.

 

 

 

The  SPI  interface 

is  an  implementation  on  the  Python  core  of  the  SPI  bus 

Master. It allows Python to create one or more SPI bus on the available GPIO 
pins. 

 

The GPS interface 

is the interface between Python and the module’s internal 

GPS controller. Its purpose is to handle the GPS controller without the use of 
dedicated AT commands through the MDM built-in module. 

 

Visit Python official web site for more information 

http://www.python.org/

. More information 

can be found also in 

Telit_Easy_Script_Python.pdf

 [6] 

 

Summary of Contents for RB865io

Page 1: ...lproma Elektronika Sp z o o ul Szymanowskiego 13 05 092 omianki k Warszawy E mail office elproma com pl Tel 48 22 751 76 80 www teleorigin com 1 RB865io Terminal User Manual Date 25 Jul 2013 Powered b...

Page 2: ...6 3 Product sticker 13 7 Basic features and services 14 8 Using the modem 15 8 1 Setting up the modem 15 8 2 Mounting the modem 16 8 2 1 On DIN bus 16 8 2 2 On the wall 16 8 3 Checking the communicat...

Page 3: ...26 11 2 2 RF performance 26 11 3 External antenna 27 11 4 Environmental characteristic 27 12 Python Script Interpreter 28 12 1 Executing scripts 30 12 1 1 Compiling the Python script 30 12 1 2 Write...

Page 4: ...ile data applications including metering traffic systems transportation and logistics security vending machines and facility management Device can be controlled by standard AT commands or by customer...

Page 5: ...awy E mail office elproma com pl Tel 48 22 751 76 80 www teleorigin com 5 3 Trademarks TELIT and the Stylized T Logo are registered in Trademark Office All other product or service names are the prope...

Page 6: ...2 751 76 80 www teleorigin com 6 4 Package 4 1 Box Original box of the product is shown in the picture below We can find product sticker on the box It matches modems sticker that is placed on the devi...

Page 7: ...Warszawy E mail office elproma com pl Tel 48 22 751 76 80 www teleorigin com 7 5 Complete package contents Complete package contains RB865io terminal item A DIN handle item B wall handles items C ant...

Page 8: ...ianki k Warszawy E mail office elproma com pl Tel 48 22 751 76 80 www teleorigin com 8 6 General presentation 6 1 Description LEDs SMA connector SIM card holder ejector 15 pin connector Power supply D...

Page 9: ...blish connection with GSM network an external antenna must be used Type of antenna depends on GSM coverage In good circumstances level of received signal is high use antenna which is attached in the p...

Page 10: ...in response to RTS from DTE 5 GPIO ADC IN OUT General purpose input output ADC range 0 3V 10 bit resolution 6 GPIO I2C_SDA IN OUT General purpose input output I2 C data SDA 7 GPIO ADC IN OUT General...

Page 11: ...r The power supply connector is a 2 pin connector for external DC power supply connection which can handle voltage from range 5 30 V DC 2 5 W max continuous power No Signal I O Description V BATTERY I...

Page 12: ...adphones into it The Audio I O is shown in the picture below 6 2 5 SIM card holder SIM card holder is placed in front of RB865io terminal as shown below and is accessible externally To insert SIM card...

Page 13: ...elproma com pl Tel 48 22 751 76 80 www teleorigin com 13 6 3 Product sticker Product stickers are on the modem and on the box of the product A production sticker includes the following information Pr...

Page 14: ...BR Downlink 85 6 Kbps Coding Scheme CS1 CS4 Interfaces Connectors Single 70 pin board to board only terminal with G30 module RF MMCX SIM Card 3 0V 1 8V STK 3 1 Connectivity 15 pin connector UART BR fr...

Page 15: ...set up the modem do the following steps Eject SIM card holder using yellow button and pull out the drawer Insert Your SIM card into drawer Verify if SIM card fits in the drawer properly as shown Inse...

Page 16: ...MA connector Optionally it can be connected using RS 232 cable Plug the power supply cable to the power supply input Plug the hands free headphones into Audio I O Now the modem is ready to work 8 2 Mo...

Page 17: ...For further information about GPRS Control refer to GPRS Control 3 1 0 0 User s Manual and to install refer to GPRS Control Installation Guide Using a communication software such as Hyperterminal ent...

Page 18: ...nge Shows the RF activity of GSM module PWR green Modem is on GPRS none No GPRS connection is established off GSM none Terminal has no connection with GSM network PWR none Modem is off 8 5 Disabling a...

Page 19: ...ation rssi and channel bit error rate ber The modem answers as follows CSQ rssi ber OK parameter Description rssi 0 through 31 covers the range of 113 dbm or less to 51dbm or greater ber Channel bit e...

Page 20: ...etwork registration unsolicited result code CREG stat 2 Enables the network registration and location information in unsolicited reports and Read command CREG stat lac ci The default is 0 stat 0 Not r...

Page 21: ...stration unsolicited result code CGREG stat 2 Enables the network registration and location information in unsolicited reports and Read command CGREG stat lac ci The default is 0 stat 0 Not registered...

Page 22: ...een Voice call ATD phoneNo OK Call initiated Remember of NO CARRIER BUSY NO ANSWER Connection failure CME ERROR err General error OPERATION NOT ALLOWED Security reason such as SIM card not inserted UN...

Page 23: ...parametrized see 8 3 Checking the communication with the modem Check if program used for communication works properly and if there is none other program interfering If yes close the interfering progra...

Page 24: ...no power supply see 11 1 Power supply If modem answers NO CARRIER in some cases you can have extended error code using AT CEER The table below shows some of codes which can appear Error code Descripti...

Page 25: ...ce elproma com pl Tel 48 22 751 76 80 www teleorigin com 25 10 Technical characteristics 10 1 Mechanical characteristic Max dimensions 72 x 53 5 x 26 mm w o connectors 83 x 53 5 x 26 mm w connectors W...

Page 26: ...us average supply current 200 mA at 12V 100 mA at 24V 11 2 RF characteristics 11 2 1 Frequency ranges Parameter Conditions Specifications GSM 850 TX 824 849 MHz RX 869 894 MHz GSM 900 TX 880 915 MHz R...

Page 27: ...The antenna chosen for working with modem should best fit to circumstances of environment it is used in When the modem is placed in a room or somewhere where the range of networks signal is too low t...

Page 28: ...nce of operations The equipped Python version features the following Python script interpreter engine v 1 5 2 1 MB 2 MB in versions up to 10 0x xx5 of Non Volatile Memory space for user scripts and da...

Page 29: ...MDM built in module is already in use The SER interface lets the Python script to read from and write to the physical serial port ASC0 usually the default port to send AT commands to the module e g to...

Page 30: ...to the module NVM Enable the Python script Execute the Python script 12 1 1 Compiling the Python script Telit has created a new version of PythonWin 4 1 in order to reduce the compilation time of Pyth...

Page 31: ...it can be written with any text editor but for your convenience a complete Integrated Development Environment IDE is included in a software package provided by Telit You can download it using link bel...

Page 32: ...t scripts Then you have to find out the exact size of the script in bytes or pre compiled script or generic text or binary file For example right clicking on the file and selecting size in properties...

Page 33: ...cuted at every module power on if the DTR line is sensed LOW 2 8V at the module DTR pin RS232 signals are inverted at start up in this case no AT command interface is connected to the modem port and i...

Page 34: ...r telephones in aircraft may endanger the operation of the aircraft it is illegal at a refuelling point in any area with potentially explosive atmosphere which could cause an explosion or fire in hosp...

Page 35: ...not disassemble the RB865io modem Do not expose the modem to any water rain or steam Do not drop shake or knocking your modem Do not place your modem close to magnetic devices credit cards etc Use of...

Page 36: ...6 14 Accessories The tables below shows recommended accessories for RB865io terminal 14 1 Accessories critical for using modem Table below shows accessories critical for using modem Without them usage...

Page 37: ...www teleorigin com 37 14 2 Additional accessories Table below shows additional accessories that are not essential for modem usage Accessory Description Part no Magnetic antenna 2dBi Antenna with extra...

Page 38: ...line support which includes the latest version of this document the latest drivers for RB865io technical support This information can be found on our web sites at www teleorigin com For further infor...

Reviews: