BS2 & GM862GSM/RS-EB-S1 module
kinti
Posts: 9
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
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
http://www.parallax.com/html_pages/resources/custapps/app_gps_track.asp
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
ing. H.S. Hanoeman
DSP-Solutions
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
ing. H.S. Hanoeman
DSP-Solutions