Sending AT commands

djsoftlayer

New Member
Hi what do you recomend me to send AT command with the picaxe 18X, i mean, using the programing port of the picaxe or other, how to emulate the structure of an AT command because i read that they need an structure:

"The attention or “AT” prefix is required prior to entering any command. All commands require a carriage return or <CR> following the entry of the desired command. All command responses are encapsulated by a carriage return and line feed or <CR><LF>. The ASCII display of these characters is suppressed with only the modem response being presented.
AT message concatenation can be done using the ; <semicolon> between commands."

I need to control a GSM modem at 4800bps with a picaxe 18X... Thanks!!! sorry about my english
 

djsoftlayer

New Member
Please

Please i need a answer please its urgent.... I need to know the above and how to send the ENTER key with serial and Ctrl+Z...
 

hippy

Ex-Staff (retired)
The SEROUT command is what you probably need ...

SEROUT 0, N4800, ( "ATD08081570725", CR )

That will dial "08081 570 725", sending the AT command out on Output Pin 0.

To send Ctrl+Z, that has an ASCII decimal value of 26, so ...

SEROUT 0, N4800, ( 26 )

Or define Ctrl+Z as a constant and use that ...

SYMBOL CTRL_Z = 26
SEROUT 0, N4800, ( CTRL_Z )


Who gets annoyed by calls having now published "08081 570 725" ? No one ...
http://www.ofcom.org.uk/telecoms/ioi/numbers/num_drama
 
Top