Sms controller (via sms controlling) by
using modem serial wavecom fastrack M1306B being interfaced with
microcontroller of bascom scripts.
I
have learned sending sms by using
modem serial wavecom fastrack M1306B being interfaced with microcontroller of
bascom scripts.
just for fun, since I already learn how to
send sms by using modem serial
wavecom fastrack M1306B being interfaced with microcontroller of bascom
scripts.
.
In principle, sms delivery process is conducted by using communication serial,
both between pc and modem or could be between modem and microcontroller.
Basically, sms sending process is communication with AT command. AT command
used to send SMS as below:
At+cmgs
= 085743320xxx [enter]
Write
the messages will be sent, then press ctrl + z simultaneously (programming code
ascii for rl + z is #26). It should appear OK as the sign that sms already
sent.
Here
is the source code sending sms using bascom:
Print "AT+CMGS=";
Print "085729169629" '----
cellphone numbers : , replaceable
Waitms 700
'----- wait 700 ms
Print "DEVICE SHIFT, INDICATION OF THEFT
"; '----- sms content sent
Print Chr(26) '----- final code for sending
sms command
Wait 1
'----- wait 1 second
Above
code will send command
At+cmgs
= 085729169629 [enter]
Then,
DEVICE MOVE, INDICATION OF THEFT, and character ctrl + Z to modem. It means we
command modem to send sms contains DEVICE MOVE, INDICATION OF THEFT to
085729169629
The
complete source code as follows: