electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

PIC SMS Control


Goto page 1, 2, 3  Next
Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> PIC SMS Control
Author Message
chenoi



Joined: 19 May 2004
Posts: 21


Post22 Dec 2004 0:06   

pic sms


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


Post22 Dec 2004 0:42   

sms pic


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


Post22 Dec 2004 15:58   

sms controller circuit diagram


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


Post23 Dec 2004 18:08   

pic sms controller


:::::::::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


Post23 Dec 2004 18:25   

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



Sorry, but you need login in to view this attachment

Back to top
SAR



Joined: 25 Sep 2002
Posts: 152
Helped: 4


Post23 Dec 2004 18:31   

sms controller project


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


Post23 Dec 2004 18:59   

pic sms project


I think this TOPIC may helpful
http://www.edaboard.com/ftopic41401.html
Back to top
ilkeruzun



Joined: 19 Dec 2004
Posts: 0


Post23 Dec 2004 21:05   

pic+sms


I think this TOPIC may helpful
h**p://www.edaboard.com/ftopic41401.html
Back to top
chenoi



Joined: 19 May 2004
Posts: 21


Post24 Dec 2004 8:29   

picsms


Thanks guyz..i think i have what i need here. Smile
Back to top
terka



Joined: 15 Dec 2003
Posts: 102
Helped: 1


Post06 Jan 2005 22:35   

pic fbus


HI

Here a good pdf file to learn to use AT command for r520m.

Enjoy



Sorry, but you need login in to view this attachment

Back to top
astroman132003



Joined: 14 Oct 2003
Posts: 16
Helped: 1


Post07 Jan 2005 0:42   

sms control


Try this link:

http:/www.serasidis.gr
Back to top
EnginerdUSA



Joined: 03 Feb 2005
Posts: 1


Post03 Feb 2005 11:21   

nokia fbus pic


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.

Smile
Back to top
gidimiz



Joined: 03 Feb 2005
Posts: 428
Helped: 77


Post03 Feb 2005 15:27   

nokia 3310 sms controller


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.



Sorry, but you need login in to view this attachment

Back to top
hassan1980



Joined: 14 Jan 2005
Posts: 208
Helped: 3


Post03 Feb 2005 23:38   

sms con pic


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


Post04 Feb 2005 6:13   

sms pic controller


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
Google
AdSense
Google Adsense




Post04 Feb 2005 6:13   

Ads




Back to top
glenjoy



Joined: 01 Jan 2004
Posts: 1028
Helped: 47
Location: Philippines


Post04 Feb 2005 6:34   

sms controller schematic


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


Post05 Feb 2005 18:31   

pcb sms controller


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


Post06 Feb 2005 8:40   

control sms pic16f


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


Post07 Feb 2005 19:58   

fbus pic


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


Post14 Feb 2005 15:42   

sms control circuits


Check this site for SMS remote Control Function using Ericsson phone
http://www.serasidis.gr/circuits/smscontroller/smscontroller.htm
Back to top
tyro



Joined: 11 May 2004
Posts: 9


Post05 Jun 2005 23:11   

pic sms


or Nokia FBUS Control --> www.djtyro.de
Back to top
snm



Joined: 22 Oct 2004
Posts: 8


Post20 Jul 2005 11:13   

microchip pic sms


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


Post20 Jul 2005 12:12   

sega master system controller schematic


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: 1235
Helped: 73


Post20 Jul 2005 13:24   

sms control thesis


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


Post28 Nov 2005 14:55   

ericson t10 sms control projects using pic


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..Question
Back to top
hill



Joined: 17 Jun 2004
Posts: 285
Helped: 9


Post28 Nov 2005 18:00   

sms mobile microchip


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


Post05 Dec 2005 10:35   

sms controller pcb


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


Post15 Dec 2006 8:24   

sms with pic


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: 836
Helped: 185
Location: Indonesia


Post15 Dec 2006 13:55   

sms pic project


do you ever seen these pages :

Selfmade Nokia DLR-3P Datacable with schematic (circuit) and PIC Program

DLR-3 MBUS-Protocol for Nokia 7110 and 6210
Back to top
ThesisProblematic



Joined: 27 Jan 2007
Posts: 4
Location: Philippines


Post27 Jan 2007 8:05   

nokia+sms remote controller


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!!
Smile
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> PIC SMS Control
Page 1 of 3 All times are GMT + 1 Hour
Goto page 1, 2, 3  Next
Similar topics:
teach me the basic on how to use pic for sms control (4)
Pic 16F84 SMS control via Siemens TC 35i GSM Module (1)
SMS control (5)
sms based appliance control (7)
SMS home control by AT commands (7)
About SMS REMOTE CONTROL (2)
sms based device control (1)
sms based device control (4)
SMS with PIC (2)
SMS+PIC+FBUS... (8)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS