Pages: [1]   Go Down
Author Topic: Interfacing the Arduino 2560 with a GSM modem without using any Shield  (Read 1639 times)
0 Members and 1 Guest are viewing this topic.
Dhaka
Offline Offline
Newbie
*
Karma: 0
Posts: 44
I love to learn and engineering is my passion
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,
I have designed an aoutomatic irrigation system in which the pump gets turned on or off based on the moisture content of the soil.
Now, i also want to control the pump through sms or call. I cant use any GSM sheild ans they are not available here nor can i order from abroad...GSM modems are available though....i need detailed help about the interfacing and codes....

Thank You!
Logged

S.Ashraf

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 223
Posts: 13870
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Have you datasheets of the available GSM -modems?

To they talk TTL-level rs232?

Another option is to connect the backlight signal from a phone to an Arduino (analog?) in pin - GND connected too of course-  so that when it receives an SMS some action will start.
Drawbacks:
= You can only define one action but that might be enough...
= Everyone can call the number..


Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Dhaka
Offline Offline
Newbie
*
Karma: 0
Posts: 44
I love to learn and engineering is my passion
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I am yet to buy the GSM modem; it is a USB GPRS modem that is used to connect to internet using sim.
Could u kindly elaborate on the backlight signal?

Can i use the motherboard of a phone instead of a GPRS modem which has a built in GPRS modem? If so then how?

Thanks.
Logged

S.Ashraf

0
Offline Offline
Tesla Member
***
Karma: 145
Posts: 9686
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Another option is to connect the backlight signal from a phone to an Arduino (analog?) in pin - GND connected too of course-  so that when it receives an SMS some action will start.

There are relay kits avaliable for doing this using a photo diode. If you watch your cell phone, the display will probably randomly light it self up to preclude the phone from being used for ugly purposes.
Logged

Consider the daffodil. And while you're doing that, I'll be over here, looking through your stuff.   smiley-cool

Dhaka
Offline Offline
Newbie
*
Karma: 0
Posts: 44
I love to learn and engineering is my passion
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Could someone please tell me how to do it with a GSM modem...
Logged

S.Ashraf

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 223
Posts: 13870
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


Connect the GSM modem to the Serial port of the Arduino. Depending on the GSM modem you can poll it if there are messages availabale, of some others might make a line HIGH to indicate something is arriving.

How it is done exactly is written in the manual / datasheet. Modems tend to differ slightly... smiley-sad

Google for "AT commands GSM Arduino" to see examples how it could be done,

Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Dhaka
Offline Offline
Newbie
*
Karma: 0
Posts: 44
I love to learn and engineering is my passion
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

The GSM modem that are available are of the USB type; so how can it be connected? Thanks
Logged

S.Ashraf

Montreal
Offline Offline
Faraday Member
**
Karma: 30
Posts: 2602
Per aspera ad astra.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You can't connect USB devise to arduino w/o special shield.
But you can make connection to GSM phone , search Atmel's application note AVR323.
Logged

Dhaka
Offline Offline
Newbie
*
Karma: 0
Posts: 44
I love to learn and engineering is my passion
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks a lot! The Application note seems to be really helpful. I will go through it and will definitely ask for help if i need any...
 It says that i can use any phone except Nokia phones that uses F or M-bus. Ho do i check that?
Logged

S.Ashraf

Australia
Offline Offline
Sr. Member
****
Karma: 13
Posts: 451
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I cant use any GSM sheild ans they are not available here nor can i order from abroad...

Have a look at these.  http://www.libelium.com/squidbee/index.php?title=New_GPRS_module_for_Arduino_(Hilo_-_Sagem)

There is are a lot of posts on Arduino and other forums about using this unit, from sending texts to networking.
Check with Google.

You can buy them at http://www.cooking-hacks.com/index.php/arduino-gprs-module.html (and probably elsewhere)
« Last Edit: September 27, 2011, 06:45:51 pm by lemming » Logged

Dhaka
Offline Offline
Newbie
*
Karma: 0
Posts: 44
I love to learn and engineering is my passion
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks a lot...but i can't buy any sheild...smiley-sad
Logged

S.Ashraf

Dhaka
Offline Offline
Newbie
*
Karma: 0
Posts: 44
I love to learn and engineering is my passion
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello, i have the phone shown in the link available: http://www.cpkb.org/wiki/Nokia_1680_classic_pinout
now i can connect the rx tx pins of the arduino Mega2560 board to the corresponding rx, tx of the phone...what to do after that if u want to turn on a motor by a phone call. Thanks!
Logged

S.Ashraf

Offline Offline
Newbie
*
Karma: 0
Posts: 8
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Must read this stuff.....

http://abishaisingh.wordpress.com/2012/06/03/gsm-modem-sim-300-sending-text-sms-arduino/

it might be useful...
Logged

Pages: [1]   Go Up
Jump to: