Dhaka
Offline
Newbie
Karma: 0
Posts: 44
I love to learn and engineering is my passion
|
 |
« on: September 24, 2011, 07:05:49 am » |
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
|
|
|
|
Netherlands
Offline
Tesla Member
Karma: 90
Posts: 9429
In theory there is no difference between theory and practice, however in practice there are many...
|
 |
« Reply #1 on: September 24, 2011, 08:56:55 am » |
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
|
|
|
|
|
Dhaka
Offline
Newbie
Karma: 0
Posts: 44
I love to learn and engineering is my passion
|
 |
« Reply #2 on: September 24, 2011, 10:39:48 am » |
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
Tesla Member
Karma: 51
Posts: 6572
Arduino rocks
|
 |
« Reply #3 on: September 24, 2011, 11:35:15 am » |
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
|
|
|
|
|
Dhaka
Offline
Newbie
Karma: 0
Posts: 44
I love to learn and engineering is my passion
|
 |
« Reply #4 on: September 26, 2011, 12:51:15 pm » |
Could someone please tell me how to do it with a GSM modem...
|
|
|
|
|
Logged
|
S.Ashraf
|
|
|
|
Netherlands
Offline
Tesla Member
Karma: 90
Posts: 9429
In theory there is no difference between theory and practice, however in practice there are many...
|
 |
« Reply #5 on: September 26, 2011, 01:11:25 pm » |
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...  Google for "AT commands GSM Arduino" to see examples how it could be done,
|
|
|
|
|
Logged
|
|
|
|
|
Dhaka
Offline
Newbie
Karma: 0
Posts: 44
I love to learn and engineering is my passion
|
 |
« Reply #6 on: September 26, 2011, 08:57:50 pm » |
The GSM modem that are available are of the USB type; so how can it be connected? Thanks
|
|
|
|
|
Logged
|
S.Ashraf
|
|
|
|
Montreal
Offline
Edison Member
Karma: 17
Posts: 2207
Per aspera ad astra.
|
 |
« Reply #7 on: September 26, 2011, 10:44:54 pm » |
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
Newbie
Karma: 0
Posts: 44
I love to learn and engineering is my passion
|
 |
« Reply #8 on: September 27, 2011, 12:48:44 am » |
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
Sr. Member
Karma: 7
Posts: 317
Arduino rocks
|
 |
« Reply #9 on: September 27, 2011, 06:39:38 pm » |
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
Newbie
Karma: 0
Posts: 44
I love to learn and engineering is my passion
|
 |
« Reply #10 on: September 28, 2011, 08:54:21 pm » |
Thanks a lot...but i can't buy any sheild... 
|
|
|
|
|
Logged
|
S.Ashraf
|
|
|
|
Dhaka
Offline
Newbie
Karma: 0
Posts: 44
I love to learn and engineering is my passion
|
 |
« Reply #11 on: September 30, 2011, 06:48:31 am » |
Hello, i have the phone shown in the link available: http://www.cpkb.org/wiki/Nokia_1680_classic_pinoutnow 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
Newbie
Karma: 0
Posts: 8
|
 |
« Reply #12 on: June 04, 2012, 10:40:06 am » |
|
|
|
|
|
Logged
|
|
|
|
|
|