Shop OBEX P1 Docs P2 Docs Learn Events
BS2 & GM862GSM/RS-EB-S1 module — Parallax Forums

BS2 & GM862GSM/RS-EB-S1 module

kintikinti Posts: 9
edited 2005-01-28 09:45 in BASIC Stamp
Is there anyone who has experience with the interfacing between de· BS2p & GM862GSM/RS-EB-S1 module. How is de wiring between de BS2p en de module. Hyperterminal en module works fine but when i send serial data from BS2p to de module it seems not to work. I can't find anything wrong in the code.

This is the code is use from another user on this forum

'{$STAMP BS2p}

sData· VAR Byte
Coat·· VAR Byte
T··· CON 15······ 'TxD at SOUT

baud·· CON 16624···· 'N9600 for BS2p
···· sData=26
····· SEROUT T,baud,[noparse][[/noparse]"AT",13,10]···················· 'AT<CR><LF>
····· PAUSE 2000
····· SEROUT T,baud,[noparse][[/noparse]"AT+CMGF=1",13,10]········'AT+CMGF=1<CR><LF>···
····· PAUSE 2000
····· SEROUT T,baud,[noparse][[/noparse]"AT+CMGS=",34]············· 'AT+CMGS="
····· SEROUT T,baud,[noparse][[/noparse]"+31651565866"]············· '+31651565866
····· SEROUT T,baud,[noparse][[/noparse]34,13,10]······················· '"<CR><LF>
····· PAUSE 2000
····· SEROUT T,baud,[noparse][[/noparse]"Please call office",sData]·· 'Please call office<^z>
····· PAUSE 2000
····· SEROUT T,baud,[noparse][[/noparse]13,10]···························· '<CR><LF>
Henk

Comments

Sign In or Register to comment.