At commands
Archiver
Posts: 46,084
I am using a basic stamp1 to talk via serout to a siemens tc35 gsm module
and i need to be able to send the command "ATD [noparse][[/noparse]number]" followed by a carrige
return. I also need to read the tc35 response and make the stamp behave
accordingly. Does anybody know how to serialy send AT commands from the
stamp and if so do you have any example code i could look at together with
any diagrams etc? the tc35 has a standard rs232 9pin serial connector that
if i connect to the com1 port on my pc works well. I am having big problems
with this and could realy use some help.
many thanks.
please send any replies to isis-stuart@t...
and i need to be able to send the command "ATD [noparse][[/noparse]number]" followed by a carrige
return. I also need to read the tc35 response and make the stamp behave
accordingly. Does anybody know how to serialy send AT commands from the
stamp and if so do you have any example code i could look at together with
any diagrams etc? the tc35 has a standard rs232 9pin serial connector that
if i connect to the com1 port on my pc works well. I am having big problems
with this and could realy use some help.
many thanks.
please send any replies to isis-stuart@t...
Comments
operation. The TC35 must have data number enabled SIMM in order to
work; SIMM's are normally available with a voice, fax and data number
included.
Configuring the module can be carried out using firmware following
each command with ^m or carriage return from a BS2. In order to
communicate with the TC35 you must match the baud rate of the module
to start with so if its new it will have a default baud of 19200,
send the at+ipr= command to set the desired baud at 19200 initially
and then send the remaining command at the new speed.
At&f (Factory Reset)
at+ipr=9600 (Set Baud Rate i.e. 9600)
at&d0
ats0=1 (Auto Answer i.e. After 1 Ring)
ate0
at&w0 (No echo back of Sent characters from TC35 to a terminal window
at+ipr=? (Show all possible baud rates)
at+ipr? (Check actual configured baud rate)
at+csq (check signal strength)
ati4 (Check default baud rate settings)
To dial out using your GSM
1: AT (check if modem is available) -OK
2: AT+CGDCONT= (PDP configuration) -OK
3: AT+CGQREQ= (quality of service)-OK
4: AT+CGMIN= (minimum quality)-OK
5: ATD (call a number) –Connect
Download this pdf that should give you all the answers you need.
http://www.nokia.it/cellulari/docs/datasuite30/datasuite30_atcommand.p
df
We do not dial out using these modems only dial in hence the hard
configuration above. When using a standard 9 – 9 way RS232 cable you
will need a NULL Modem and gender changer in order to communicate
with the stamp carrier board and TC35. You can of course make a cable
up but will need to switch pins 2 & 3 at one end.
--- In basicstamps@yahoogroups.com, isis-stuart@t... wrote:
> I am using a basic stamp1 to talk via serout to a siemens tc35 gsm
module
> and i need to be able to send the command "ATD [noparse][[/noparse]number]" followed
by a carrige
> return. I also need to read the tc35 response and make the stamp
behave
> accordingly. Does anybody know how to serialy send AT commands
from the
> stamp and if so do you have any example code i could look at
together with
> any diagrams etc? the tc35 has a standard rs232 9pin serial
connector that
> if i connect to the com1 port on my pc works well. I am having big
problems
> with this and could realy use some help.
> many thanks.
> please send any replies to isis-stuart@t...
you should look at information on using modems in general with the
BASIC Stamp. Try this URL, <http://www.emesystems.com/BS2modem.htm>.
Also, from Parallax <http://www.parallax.com> you can download the
instructions for CH1786 modem app-kit, and a N&V article on use of
modems.
The BS1 has a much more limited serial port than the BS2. In
particular, the maximum baud rate is 2400, and there is no timeout
function. It may not be fast enough after commands to catch the
responses that come from the modem, although that might not be
absolutely necessary. You might want to set the modem for numerical
rather than text response codes. My web page has some BS1 code, but
it is acting as a watchdog monitor for the modem, which is really
communicating with a BS2.
-- Tracy
"cyminex" <cyminex@t...> wrote:
>The following commands allow you to hard configure a TC35 for mobile
>operation. The TC35 must have data number enabled SIMM in order to
>work; SIMM's are normally available with a voice, fax and data number
>included.
>
>Configuring the module can be carried out using firmware following
>each command with ^m or carriage return from a BS2. In order to
>communicate with the TC35 you must match the baud rate of the module
>to start with so if its new it will have a default baud of 19200,
>send the at+ipr= command to set the desired baud at 19200 initially
>and then send the remaining command at the new speed.
>
>At&f (Factory Reset)
>at+ipr=9600 (Set Baud Rate i.e. 9600)
>at&d0
>ats0=1 (Auto Answer i.e. After 1 Ring)
>ate0
>at&w0 (No echo back of Sent characters from TC35 to a terminal window
>at+ipr=? (Show all possible baud rates)
>at+ipr? (Check actual configured baud rate)
>at+csq (check signal strength)
>ati4 (Check default baud rate settings)
>
>To dial out using your GSM
>
>1: AT (check if modem is available) -OK
>2: AT+CGDCONT= (PDP configuration) -OK
>3: AT+CGQREQ= (quality of service)-OK
>4: AT+CGMIN= (minimum quality)-OK
>5: ATD (call a number) –Connect
>
>Download this pdf that should give you all the answers you need.
>http://www.nokia.it/cellulari/docs/datasuite30/datasuite30_atcommand.p
>df
>
>We do not dial out using these modems only dial in hence the hard
>configuration above. When using a standard 9 – 9 way RS232 cable you
>will need a NULL Modem and gender changer in order to communicate
>with the stamp carrier board and TC35. You can of course make a cable
>up but will need to switch pins 2 & 3 at one end.
>
>
>
>--- In basicstamps@yahoogroups.com, isis-stuart@t... wrote:
>> I am using a basic stamp1 to talk via serout to a siemens tc35 gsm
>module
>> and i need to be able to send the command "ATD [noparse][[/noparse]number]" followed
>by a carrige
>> return. I also need to read the tc35 response and make the stamp
>behave
>> accordingly. Does anybody know how to serialy send AT commands
>from the
>> stamp and if so do you have any example code i could look at
>together with
>> any diagrams etc? the tc35 has a standard rs232 9pin serial
>connector that
>> if i connect to the com1 port on my pc works well. I am having big
>problems
>> with this and could realy use some help.
>> many thanks.
>> please send any replies to isis-stuart@t...
>
>
>To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
>from the same email address that you subscribed. Text in the
>Subject and Body of the message will be ignored.
>
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/