Home
Siemens S45 connector`s pin out
Contents
1. port space h 1 d CR Response Success I OK lt WEB PAGE CONTENT NGC Success I_ERROR 2 DNS IP NOT SET If specify domain name must set a DNS IP address first attisetdns I_ERROR 5 TCP_TIMEOUT server is busy I_ERROR 0 PPP CLOSED PPP is not established yet must open with attiopen Note h display all header field 1 display only length field d display only date field default port number is 80 VS WN H Example attihttp www google com 1 lt CR gt I_OK Content Length 2998 lt html gt lt head gt lt meta http equiv content type content text html charset windows 874 gt lt title gt Google lt title gt lt style gt lt body td a p h font family h font size 20px q text decoration none color 40000cc lt html gt Example attihttp www myserver com 123 doc htm d l CR I OK Date Mon 29 Dec 2003 12 29 09 GMT Content Length 3203 lt HTML gt How to request the next HTTP After successfully retrieving the first web page the successive request needs no further initial set up commands Just send Command attihttp lt url gt lt path gt lt port gt lt space gt lt h gt lt 1 gt lt d gt lt CR gt In case a connection is broken 1 Close the existing connection first with Command at iclose lt CR gt 2 Then re open PPP connection with Command
2. TNS010i TCP IP Stack Chip Data Sheet and User Manual Rev 010 17 04 2004 Checkout http www tcpipchip com for details and updates TNS010i_ TCP IP stack Chip Description TNS010i TCP IP stack chip is a complete single turnkey product that enables the Internet connection Not only does it reduce development time to market the TNS010i allows several real time efficient transmissions of data and commands between an 8 16 32 bit micro controller MCU and the core TCP IP software engine With no priori information about the Internet protocol or networking this device allows the MCU to send and receive web pages data and commands in a form of scripting phrases through its built in TCP IP protocol engine Executing only a few simple commands from an MCU through serial pins of TNS010i and you will be able to transmit and receive data to from web application program Each command sent across the TNS010i will invoke TNS0101 to response back to an MCU with a message This debugging information helps users keep track of every step during the connection attempt This device can connect to the GPRS phone directly with no additional components Even the MCU needs to set up or read out the GPRS parameters this device automatically bypasses those AT commands to the phone thus eliminating e The need for two serial port hardware on the MCU side and e A complex circuit for switching among the three modules MCU TNS010i and GPRS Fea
3. 1234 lt CR gt 1 2 3 4 5 I OK 2 2 READ EMAIL Command at ipop3read lt mail number gt lt CR gt Response lt mail content gt I_OK or I ERROR 10 MAIL ERROR Example attipop3read 4 lt CR gt From sender aaa com Subject Test Hello How are you I_OK 2 3 CHECK MAIL Command attipop3check CR Response lt mail number list gt I OK or I ERROR 10 MAIL ERROR Example attipop3check CR 1 2 3 2 5 I OK 11 2 4 DELETE MAIL Command att tipop3delete lt mail number gt lt CR gt Response lt mail number gt I_OK or I ERROR 10 MAIL ERROR Note mail number all delete all messages numi num2 num3 delete specific messages numl num2 delete range of messages Example at tipop3delete 1 2 6 lt CR gt 3 4 5 display undelete message I_OK attipop3delete all CR I OK attipop3delete 4 10 CR 1 2 3 display undelete message I OK 2 5 CLOSE READING EMAIL SERVER Command attipop3close CR Response I_OK or I ERROR 10 MAIL ERROR Read software version Command attiver CR Response VERX Xx I OK Example attiver CR VERO 07 I OK 12 Bypass to modem s AT commands mode 1 Step type and lt cr gt for entering modem s AT commands mode Command lt CR gt Response I OK 27 step Casel modem is not connecting to internet Type at lt cr g
4. s Rx From Modem s Tx Aux e IEN 203 D 3 d E Jut cc 148 TES Le Dy SIS 7 GE E MITTERE e 74 alitem M ji ep 3 BR tp RS232 id be CPP e S TNS010Z A mmh TCP IPChip Aux TNSO10 s reset From Controller s Tx To Controller s Rx 5V output GND DEV 010i B schematic T mra E Xl QUU m ra Dr x Ka H 3 Ka be E Ca E X 6 ka i4 eur xj Lp E sn E E wary a uri tr or wp T OW OSL mab ASIA 9 P o i NIWONdI z x apn gga OS OPW afp eg PNA TF wn wapo X aut WXL e bel e 19 Popular GPRS phone data link details Siemens 45 connector s pin out 1 Gnd Charge Tx out from phone Oo OF ZS e m Rx into phone Siemens C55 2 Gnd 3 Tx 4 Rx Ericsson T65 68 200 connector s pin out Charge Gnd Gnd TX out from phone RX into phone O 0 iw Ox COL ae EE dme Power ON TRIG LOW ONLY ERICSSON T65 T68 Quick Start Guide TNS010i works well with any GPRS phone or GPRS modem module Such as Ericsson T65 T68 T200 Siemens S45 C55 Wavecom Integra GPRS GPRS module Etc Recommendation for Wavecom integra 1 Set GPRS modem to baudrate 57600 by send AT IPR 57600 and 2 Save this setting value in it s EEPROM by send AT amp W 3 Send AT WOPEN 0 Following is the sample how to start TNS010i with Ericsson Siemens phone Ti esting phone paramete
5. at iopen lt CR gt 3 Followed by requesting a web page Command attihttp lt url gt lt path gt lt port gt lt space gt lt h gt lt 1 gt lt d gt lt CR gt TCP IP SOCKET 1 OPEN TCP IP SOCKET Command att isockopen lt url gt lt port gt lt CR gt Response I_OK lt RESPONSE NONE gt Note lt port gt is require no default value Example attsockopen mail server com 25 lt CR gt I OK 220 SMTP Service ready 2 SEND DATA ON TCP IP SOCKET Command attisock data CR Response I_OK lt RESPONSE NONE gt Example at sock HELO r n lt CR gt I_OK 250 HELLO lt CR gt 3 CLOSE TCP IP SOCKET Command at isockclose lt CR gt Response I_OK EMAIL SEND RECEIVE SMTP amp POP3 L OPEN gt SEND gt CLOSE Mail Command attismtpsend mailserver port from to subject data CR Response TL DE or I ERROR 10 MAIL ERROR Note port default value is 25 Example attismtpsend mail server com sender iaaa com recv bbb com My subject Hello how are you lt CR gt I OK 10 2 READ EMAIL POP3 2 1 OPEN gt CHECK MAIL Command attipop3open mailserver port user name gt lt password gt lt CR gt Response lt mail number list gt I OR Or I ERROR 10 MAIL ERROR Note port default value is 110 Example at ipop3o0pen pop3 server com david
6. at isetbaud 0 lt CR gt I_OK note the data counter command available only in ver 4 03 up Modem s flow Control Setting Modem s flow contrl Command atticomlctrl hard none lt CR gt Response I_OK Example atticomlctrl none CR I OK Read Modem s flow control status Command at icomlctrl lt CR gt Response HARD NONE I_OK Example att ticomlctrl lt CR gt NONE I_OK note default none Dev 010i B s modem connection is null modem type 16 GRPS phone Modem selection When power on reset TNSO10i will load a modem time out default value according to the logic level below GPRS sel high or no connect LAND LINE MODEM sel low connect to GND Note GPRS modem time out default value 10 Sec Land line modem time out default value 60 Sec you can change these default value by issue at isetmodemto xxx Error message response I ERROR I ERROR I ERROR I ERROR I ERROR I ERROR I ERROR I ERROR I ERROR GO I Oy OT a GO N5 B PPP CLOSED PPP NOT ESTABLISH DNS IP NOT SET DIAL NOT SET MODEM NOT RESPONSE TCP TIME OUT DNS TIME OUT PASSWORD NOT GOOD CONNECT LOST Development board DEV 010i B wiring guide Power on off Input DC 8 24v Modem s R S232 TTL Logic Selector Controller s RS232 TTL Logic Selector Land line GPRS time out Reset Controller Selector Modem RS232 GND To Modem
7. c I_OK Display DNS time out value Command at isetdnsto lt CR gt Response lt Time out value gt I_OK Example at isetdnsto lt CR gt 8 I_OK Set up Modem time out Command at isetmodemto lt time out value gt lt CR gt Response I_OK Example at isetmodemto 8 lt CR gt 1 255 Sec I_OK 14 Display Modem time out Command attisetmodemto CR Response lt Time out value I OK Example attisetmodemto CR 8 I OK Detect and automatic set up GPRS modem interfacing baud rate Command attidetect CR Response XXXX I_OK Example at idetect lt CR gt 9600 I_OK Manual set up GPRS modem interfacing baud rate Command at isetbaud lt baud rate gt lt CR gt Response I_OK Baud rate value list Example 576 57600 BPS default 384 38400 192 19200 096 9600 048 4800 024 2400 012 1200 at isetbaud 096 lt CR gt I_OK Display GPRS modem interfacing baud rate Command at isetbaud lt CR gt Response lt baud rate value gt I_OK Example at isetbaud lt CR gt 9600 I_OK 15 Data counter Check amount of total data transfer Command atticount CR Response data transfer counter Bytes I OK Example attisetbaud lt CR gt 1371 I_OK Reset data transfer counter Command atticount 0 lt CR gt Response I_OK Example
8. em GPRS phone RxM ENMNE Receive from modem GPRS phone Tx Transmit to controller Rx o Et Receive from controller LED Connect Ei LED status shows connected to net LED Data trans io 13 O LED status shows data transferring TCP IP Software Specifications Maximum att command length include at i itself Maximum TCP segment size Serial RX buffer length Ring buffer Serial TX buffer length PAP CHAP DNS HTTP FTP SMTP POP3 TCP IP socket Typical testing circuit 1000 bytes 512 bytes 2 500 bytes 1 000 bytes Support Not support Support Support Not support Support Support Support Summary of Commands e 19 200 BPS command baud rate MCU controller lt gt TCP IP Chip N 8 1 e 1 200 57 600 BPS GPRS modem baud rate TCP IP Chip GPRS Modem N 8 1 e Dark printing characters are main commands and the gray are option commands Chip test Command att i lt CR gt Response I OK Open a PPP connection Command at iopen lt CR gt Response Success I OK Not success I_ERROR 1 PPP NOT ESTABLISH can t connect to PPP server I_ERROR 3 DIAL NOT SET no dial number set up I ERROR 4 MODEM NOT RESPONSE no modem response I ERROR 7 PASSWORD NOT GOOD invalid password Close a PPP connection Command at iclose lt CR gt Response success I OK Not success I ERROR 4 MODEM NOT RESPONSE can t disconnect modem D
9. isplay a current assigned IP address Command at iip lt CR gt Response CLIENT IP x x x x SERVER IP x x x x I OK Set up a dialing number Command attisetd ISP dialing number gt lt CR gt Responses I OK Example attisetd 99 4 CR I OK Display a dialing number Command attisetd CR Response lt DIAL NUMBER I OK Example attisetd CR 99 1i I OK Set up DNS server s IP address in case of ISP not automatic DNS assigned Command attisetdns ip address gt lt CR gt Response I OK Example attisetdns 203 155 33 1 CR I OK Display DNS server s IP address Command attisetdns CR Response lt DNS SERVER IP ADDRESS gt I OK Example attisetdns CR 203 155 33 1 I_OK Set up PPP user name Command at isetuser lt username gt lt CR gt Reeponee I_OK Example attisetuser David CR I OK Display PPP user name Command attisetuser CR Responses lt USER NAME gt I_OK Example attisetuser CR David I OK Set up PPP password Command attisetpass lt password gt lt CR gt Responee I_OK Example attisetpass David password lt CR gt SI OK Display PPP password Command attisetpass CR Response PASSWORD I OK Example attisetpass CR David password I OK HTTP Request Command atrihttp url path
10. rminal program in the Windows N 8 1 19 200 BPS 9 Connect the GPRS phone to the a new development board s data link cable no RS232 IC and turn the power on 10 As soon as the development board is powered up the I READY sign should appear on the Hyper terminal screen 21 11 Type the following sequence of commands in its order gt atti lt ENTER gt TCP IP chip response testing LOK gt attidetect lt ENTER gt detect set modem baudrate 57600 modem s baud rate LOK Skip the following gray colour steps if your GPRS modem s parameter was set correctly e 0E at isetd xxx xxx ISP dial number Example 99 1 I OK TA at iopen connect to ISP and open the TCP IP socket I OK TA gt attihttp xxx xxx url IP url domain name Example 203 130 155 66 test php content1 123 amp content2 345 l d h gt I OK Data s length or date month year or full header or nothing default depend on the type of command s suffix L d h His sateen lt html gt HTTP response data Products Distributor http www es co th Technical Support tcpipchip yahoo com contact tcpipchip com 22
11. rs 1 Ensure that the GPRS phone have been activated and tested to verify the connection In case of Ericsson and Siemens C55 you need to purchase a data link cable built in RS232 IC available from it s dealer 2 Setthe phone parameter according to the recommendations from your GPRS service provider You may consult a sample web page of how to set at http www mobilelife co th mobilelife t customertools mobilesetting manual gprs index htm or from your local GRPS provider web site Note that the parameters may be vary from country to another and from one provider to another 3 Add New Hardware GPRS phone modem to your PC you will need GPRS phone driver that should come with the phone 4 Add New Internet Connection Choose your GPRS phone as a modem 5 Connect the GPRS phone via its data link cable built in RS232 IC and connect to Internet by choosing a GPRS modem 6 Try surfing the web page via your GPRS phone If you are successful in surfing the web page with the GPRS phone then proceed to the next step Testing the TNS010i chip on Window s Hyperterminal program As an alternative to reduce the overall manufacturing cost and the package size a data link cable with no RS232IC in its cable can be used given that there is the same logic voltage level to and from the MCU and the GPRS phone 7 Close all the Internet connections in PC including any web browser Then remove the data link cable 8 Open Hyper te
12. t to initiate and enter modem s commands mode OK gt response from modem Case2 modem is connecting to internet Type and wait for 2 3 sec and then type at lt cr gt to initiate and enter modem s commands mode OK gt response from modem From this state you can communicate to modem with it s AT Commands To quit from modem s AT commands mode and enter TNS010i commands mode Casel modem is not connecting to internet Type atti lt cr gt to enter TNSO10i s commands mode I OK gt response from TNS0101i Case2 modem is connecting to internet Type ato to enter modem s internet connecting state CONNECT response from modem and then type atti lt cr gt to enter TNS010i s commands mode Al OK gt the response from TNS010i Turn on DEBUG mode Debug mode on print out some more information when chip is in Processing Command att idebugl CR Response I OK Turn off DEBUG mode Command at idebug0 lt CR gt Response I_OK 13 Set up TCP time out Command attisettcpto TCP time out value gt lt CR gt Responses I OK Example attisettcpto 8 CR 1 255 Sec I OK Display TCP time out value Command attisettepto CR Response XTime out value I OK Example attisettcpto lt CR gt 8 I_OK Set up DNS time out Command at isetdnsto lt DNS time out value gt lt CR gt Response I_OK Example at isetdnsto 8 lt CR gt 1 255 Se
13. tures Support basic protocols including TCP IP PPP DNS HTTP SMTP POP3 and TCP IP socket Easy interface to GPRS phone or Modem Input commands length as long as 1 000 bytes No need for external RAM or ROM Minimal components Requires only one 18 432 MHz Xtal and 3 Capacitors 19 200 BPS Command communicates with micro controller MCU Information exchanges rate with GPRS is variable from 1 200 BPS to 57 600 BPS low power consumption 44 pin PLCC and LQFP package The Connection Diagram TCP IP CHIP TN 5010 Electrical Characteristics Symbol Description Min Type Max Unit VIL Input Low Voltage 0 5 0 9 V VIH Input High Voltage We 949 V VIH Input High Voltage XTAL1 RST Sho 949 V Icc Power supply current 60 mA Vcc Power supply voltage 4 75 525 V 6 1 40 44 34 IL Oo 7L 3o 1 O 33 PLCC LQFP vol Jz 11 23 18 28 12 22 Pin Description Symbol PLCC LQFP In Out Name and Function Vcc aas s lr Power Supply power supply voltage for operation Gnd EE Ground 0 V reference XTAL1 ENSE Crystal 1 18 432 MHz Input oscillator amplifier XTAL2 ENS Crystal 2 18 432 MHz Output oscillator amplifier GPRS modem Bn GPRS Land line modem time out select in ERE o EN e iE EEE A TI RST ER Reset hold high at least 0 22 mS TxM o J Transmit to mod
Download Pdf Manuals
Related Search
Related Contents
BA-1050 ペルクール(SP ASSMANN Electronic A-LSA-K Soneco CC User's manual halsey taylor owners manual manual del propietario halsey taylor Dear oCOSMO Customer, Copyright © All rights reserved.
Failed to retrieve file