|
Send a SMS message to a cell phone using a Bluetree GPRS modem So,
one day I was looking through the web and saw that there were a lot of GPRS
applications for industrial applications. Connecting POWER First,
you will need to hook up power to the M2M modem. Now,
if you read the user manual of the Bluetree GPRS modem, (Note: You can also use anywhere between 8 to 30VDC, but the manual says 12V is the best)
Inserting SIM card Well
since I have Cingular Wireless for my phone, If
you have Verizon or Sprint, Now,
if you have Cingular or T-mobile as your cell phone carrier, you are in
luck. Now, please disassemble your cell phone like I did here: You should fine a SIM card. Now, open up the SIM Card slot as shown here and insert your SIM card!
RS232 Null-Modem Cabling You
will need to somehow connect your CuTOUCH to the serial port of the GPRS modem. Well
to make your own, simply get 2 MALE serial port ends, In
the above picture, Please note that color may differ among serial cable manufacturers. Okay, when you have your null-modem done, you should have something like this: Fun STUFF Now
for the real fun stuff, Now
make sure your GPRS modem is ON and your CuTOUCH is ON. Now, run and download the program into your CuTOUCH unit.
You should see the following on the debug screen: And the following CuTOUCH screen: You
might errors with the last command if you have bad signal or you just turned ON
the GPRS modem. There
are other variables that could go wrong, but I won’t go into detail
today. AT command is for testing if the GPRS modem responds correctly. AT+CMGF=1 puts the modem in text mode. AT+CMGS=”6507039473”
sends a text message to my boss’s cell phone to bring the Sony camera
If
the message is sent correctly, you should get some kind of +CMGS: 147 and OK
message. (Above shows text message received on the cell phone) Now,
I challenge you to further this app and make a touch-screen menu for different
messages and numbers. So
next time you want to make a Touch-screen app using a GPRS modem,
If you have any cool apps you'd like to blog, please e-mail to max@zedomax.com
|