| Author |
Message |
chenoi
Joined: 19 May 2004 Posts: 21
|
22 Dec 2004 0:06 PIC SMS Control |
|
|
|
Hai, could anybody help me on how to built a device (pic) connected to handphone and pc where i can control input just by sending sms. i already search through internet and iam trying to built one. could anybody help me. i want to use PIC16F84A as the controller as iam doing alot of thing with this MCU and control by nokia 3310. may be somebody could provide me the step and all the hex file that i need to built one. i interested on this project but have lack of experience!
please give me a guide!
|
|
| Back to top |
|
 |
terka
Joined: 15 Dec 2003 Posts: 102 Helped: 1
|
22 Dec 2004 0:42 Re: PIC SMS Control |
|
|
|
Hi chenoi
First, you must search by "pdu" or "sms" in this forum.
To start, nokia have a propietary protocolos, known by MBUS/FBUS. To comunicate your PIC to cell phone you have to use this protocol.
But, you can use another way. Using AT command, this ist work for each cell phone that support AT command.
This AT command are characters in 8 bits, which you can send from PIC to cell phone in serial mode. The phone receive this string sequence and run the instrucction to send the SMS to desired destination.
Cell phone send SMS in PDU and Text mode. no all cell phone suport text mode.
to test the operation sms mode:
at+cmgf? enter
0 => pdu mode
1 => text mode
To create a sms in pdu mode, you can use the "pduspy" software, which creates the pdu frame with "data information". This pdu is a string of ASCII character, and take it, insert it in the PIC , and send it to the phone, after send AT command
example: send mesagge in text mode using
AT+CMGf= 1 ==> set phone to text mode sms
AT+cmgs="+4594567890" , enter key ==> cell phone number destination of message
>Text to send + ctrl+z => to finish the text to send.
the phone answers with following:
+cmgs: 0 => 0 is the message reference , how much sms has been send by cell phone, it should be other numbers
Now, you must investigate the text or pdu mode of sms, and how create the code for PIC
sorry to all for my bad english
bye
|
|
| Back to top |
|
 |
chenoi
Joined: 19 May 2004 Posts: 21
|
22 Dec 2004 15:58 Re: PIC SMS Control |
|
|
|
| thanks terka, but i need the device schematic (pic16f84) and the hex file where i can try to built one. what i have is a system with atiny and avr controller as iam not familliar with this. i hope i could have device that use pic 16f84 for this project.
|
|
| Back to top |
|
 |
bayramonur
Joined: 07 Nov 2003 Posts: 16 Helped: 1
|
23 Dec 2004 18:08 Re: PIC SMS Control |
|
|
|
:::::::::You find this subject from ::::::::::
http://www.maxim-ic.com/appnotes.cfm/appnote_number/3297
this program was written in PICBASIC language.
|
|
| Back to top |
|
 |
terka
Joined: 15 Dec 2003 Posts: 102 Helped: 1
|
23 Dec 2004 18:25 Re: PIC SMS Control |
|
|
|
OK
you have to search in google for:
"nokia pin out" or "nokia cable schematic"
This for see the circuit to make, the input voltage for nokia phones is 2,7 volt. The pic send 5 volt for a logic 1. You can use a resistor in serie with a zener diode, and conect de input pin of nokia to cathode of zener diode to obtanin 2,7 volts. Idem for RX system.
view the attached circuit.
The 16F84īs software must have a rs232 protocol implemented in software.
http://www.winpicprog.co.uk/pic_tutorial7.htm
Bye
|
|
| Back to top |
|
 |
SAR
Joined: 25 Sep 2002 Posts: 152 Helped: 4
|
23 Dec 2004 18:31 Re: PIC SMS Control |
|
|
|
Some help for you here: http://www.spaceorbit.net/peter/projects/microguard_mark1/
http://www.embedtronics.com/nokia/fbus.html#part3
Last edited by SAR on 23 Dec 2004 19:30; edited 1 time in total |
|
| Back to top |
|
 |
Taro
Joined: 28 Jun 2001 Posts: 147 Helped: 3
|
23 Dec 2004 18:59 PIC SMS Control |
|
|
|
I think this TOPIC may helpful
http://www.edaboard.com/ftopic41401.html
|
|
| Back to top |
|
 |
ilkeruzun
Joined: 19 Dec 2004 Posts: 0
|
23 Dec 2004 21:05 PIC SMS Control |
|
|
|
I think this TOPIC may helpful
h**p://www.edaboard.com/ftopic41401.html
|
|
| Back to top |
|
 |
chenoi
Joined: 19 May 2004 Posts: 21
|
24 Dec 2004 8:29 Re: PIC SMS Control |
|
|
|
Thanks guyz..i think i have what i need here.
|
|
| Back to top |
|
 |
terka
Joined: 15 Dec 2003 Posts: 102 Helped: 1
|
06 Jan 2005 22:35 Re: PIC SMS Control |
|
|
|
HI
Here a good pdf file to learn to use AT command for r520m.
Enjoy
|
|
| Back to top |
|
 |
astroman132003
Joined: 14 Oct 2003 Posts: 16 Helped: 1
|
07 Jan 2005 0:42 Re: PIC SMS Control |
|
|
|
Try this link:
http:/www.serasidis.gr
|
|
| Back to top |
|
 |
EnginerdUSA
Joined: 03 Feb 2005 Posts: 1
|
03 Feb 2005 11:21 Re: PIC SMS Control |
|
|
|
You can find some code samples at www.usbdeveloper.com.
They are using a Microchip to send SMS via an external mobile phone.
So, I think you can work further from there.
|
|
| Back to top |
|
 |
gidimiz
Joined: 03 Feb 2005 Posts: 428 Helped: 77
|
03 Feb 2005 15:27 Re: PIC SMS Control |
|
|
|
Hi,
Im sorry to say but there is no why easy or a hex file to solve your problems. you will need to write some code on the PIC. you best way is this:
Buy a Data cable for you mobile phone, its much more easy then to build one. Be sure that the data cable can work with AT command, FBUS and MBUS are very hard to use and debug protocoles.
Then on the PIC write the code to receive and trasmit with your UART.
When the pic will load it sould program the phone to use TEXT mode and not PDU.
Then use the attached files that i send to read and delte the received SMS.
The easy way to turn things on and off is buy sending simple Text sms to the phone. for example, send 31 to turn output 3 on, and 30 to turn output 3 off.
The attached files will help you to understand the AT command structure, And the Original Nokia file will show you how to read the SMS.
Good luck.
|
|
| Back to top |
|
 |
hassan1980
Joined: 14 Jan 2005 Posts: 209 Helped: 3
|
03 Feb 2005 23:38 Re: PIC SMS Control |
|
|
|
| In Siliconchip magazine there is a project for sms control using AVR micro, but you need to pay for the article
|
|
| Back to top |
|
 |
jojokatada
Joined: 13 Jan 2005 Posts: 257 Helped: 13
|
04 Feb 2005 6:13 Re: PIC SMS Control |
|
|
|
hi it seem i also have similar problem on how access the phone and sending an SMS message i have problem in access the nokia phone and sending an AT command via an FBUS/MBUS
refer to my post sending an AT command to phone
|
|
| Back to top |
|
 |
glenjoy
Joined: 01 Jan 2004 Posts: 1021 Helped: 47 Location: Philippines
|
04 Feb 2005 6:34 Re: PIC SMS Control |
|
|
|
| jojokatada wrote: |
hi it seem i also have similar problem on how access the phone and sending an SMS message i have problem in access the nokia phone and sending an AT command via an FBUS/MBUS
refer to my post sending an AT command to phone |
FBUS and MBUS cannot and will not understand AT Commands using an FBUS/MBUS cable alone.
|
|
| Back to top |
|
 |
jojokatada
Joined: 13 Jan 2005 Posts: 257 Helped: 13
|
05 Feb 2005 18:31 Re: PIC SMS Control |
|
|
|
hi gidimiz
i download the file you upload nokia 6210 using hyperterminal i try to use it but in my pc i can't find the nokia 6210 data cable at the connect using dropout in my pc i only see COM1 COM2 and TCP/IP.
my question is the cable you mention in your post that when buying the cable it come with the driver?
appreciate for reply
|
|
| Back to top |
|
 |
david753
Joined: 09 Jan 2005 Posts: 81
|
06 Feb 2005 8:40 Re: PIC SMS Control |
|
|
|
Hi, Guys,
I am interested in this project.
I have a mobil phone, ACER G-530.
But, I cannot find its pinout.
Does anyone have answer?
APPRECIATED.
|
|
| Back to top |
|
 |
terka
Joined: 15 Dec 2003 Posts: 102 Helped: 1
|
07 Feb 2005 19:58 Re: PIC SMS Control |
|
|
|
| david753 wrote: |
Hi, Guys,
I am interested in this project.
I have a mobil phone, ACER G-530.
But, I cannot find its pinout.
Does anyone have answer?
APPRECIATED. |
FROM http://www.zfone.com/mobiles.php/phoneid/10245
I found that you G530 does not have a MODEM built in, perhaps it does not have a AT command set implemented.....sorry, you must buy a new cell phone
Bye
|
|
| Back to top |
|
 |
faroo28
Joined: 18 Jan 2005 Posts: 34 Helped: 2
|
|
| Back to top |
|
 |
tyro
Joined: 11 May 2004 Posts: 9
|
05 Jun 2005 23:11 Re: PIC SMS Control |
|
|
|
| or Nokia FBUS Control --> www.djtyro.de
|
|
| Back to top |
|
 |
snm
Joined: 22 Oct 2004 Posts: 8
|
20 Jul 2005 11:13 PIC SMS Control |
|
|
|
| Im working in Microcontroller project i have to get a report in (AT commands for mobile and its programming)
|
|
| Back to top |
|
 |
ful babu
Joined: 11 Nov 2004 Posts: 167 Helped: 11 Location: Singapore
|
20 Jul 2005 12:12 Re: PIC SMS Control |
|
|
|
| faroo28 wrote: |
Check this site for SMS remote Control Function using Ericsson phone
[url]h**p://www.serasidis.gr/circuits/smscontroller/smscontroller.htm[/url] |
but my problem is here ...
| Code: |
AT+CMGR=1[CR][CR][LF] (this message its sended when a new message arrive in the phone memory)
+CMGR: 0,,26[CR][LF]
0791039624910000240C91xxxxxxxxxxxx00003001205151302108B1180C068BC162[CR][LF]
OK[CR][LF]
(xxxxxxxxxxxx is the phone number of the sender)
the AVR will decode the septets message to octets, execute it (arm or disarm the relays) and send the command |
how does it decodes ! i hav to kno caz i want to use it in a PIC .,., anybody knows or hav specific algo ? i found one which seems to be complex explanation, i want to kno how it is done in this ATMEL mcu ????
i saw the asm along but not tat good at asm though
thx
|
|
| Back to top |
|
 |
C-Man
Joined: 19 Jul 2001 Posts: 1303 Helped: 73
|
20 Jul 2005 13:24 Re: PIC SMS Control |
|
|
|
ful babu
read my post here, maybe it can help you understand the whole topic a little better:
http://www.edaboard.com/viewtopic.php?p=187580#187580
best regards
|
|
| Back to top |
|
 |
kyoko
Joined: 28 Nov 2005 Posts: 9
|
28 Nov 2005 14:55 Re: PIC SMS Control |
|
|
|
Hi,
I am currently working on a car security system where i use a Microchip pic16F877A as the central controller and Siemens C35 phones to send the SMS to another phone during emergency. I would like to know how should i connect the output from the pic to the phone to send SMS? How can i write AT command using C language? Is there any ways to trigger the phone to send the preset messages in the mailbox to another phone through GSM network? Please provide any help, thanx..
|
|
| Back to top |
|
 |
hill
Joined: 17 Jun 2004 Posts: 285 Helped: 9
|
28 Nov 2005 18:00 PIC SMS Control |
|
|
|
Perhaps this might help:
http://www.riccibitti.com/tinyplanet/tiny_article.htm
Added after 46 seconds:
And this:
http://www.serasidis.gr/circuits/smscontroller/smscontroller.htm
|
|
| Back to top |
|
 |
kyoko
Joined: 28 Nov 2005 Posts: 9
|
05 Dec 2005 10:35 Re: PIC SMS Control |
|
|
|
| Hi, but i cant find old ericsson phone T10. What i have is nokia 3310 and i also have save some info about fbus but i still not so sure how to use it? Pls provide more info for me about it for my project. Thanks a lot.
|
|
| Back to top |
|
 |
honeysai
Joined: 13 Aug 2006 Posts: 1
|
15 Dec 2006 8:24 Re: PIC SMS Control |
|
|
|
| anyone... pls help me... i need a dlr3 for nokia 6210 that could understand AT commands.. pls help.. i need all information in a short time.. help!!!!!!!!!
|
|
| Back to top |
|
 |
budhy
Joined: 21 Oct 2006 Posts: 837 Helped: 185 Location: Indonesia
|
|
| Back to top |
|
 |
ThesisProblematic
Joined: 27 Jan 2007 Posts: 4 Location: Philippines
|
27 Jan 2007 8:05 PIC SMS Control |
|
|
|
hi,
i think this forum is interesting..
we are also doing our thesis project that uses a PIC16F84A and a Nokia 6210.. can you help us have a schematic diagram in connecting this components??
thanks to all!!
|
|
| Back to top |
|
 |