| Author |
Message |
kasamiko
Joined: 23 May 2004 Posts: 83
|
28 May 2005 8:13 pic16f84a nokia |
|
|
|
|
Hi,
I've succesfully sent an SMS message "TEST" endlessly using the circuit attached.
I used this code on PIC16F84A:
Device 16F84A
Declare Xtal = 4
Start:
LOW LED
DelayMS 1000
SerOut2 PORTB.1, 84,["AT+CMGS=",34,"MyNumber",34,13]
DelayMS 1000
SerOut2 PORTB.1, 84,["TEST",13]
DelayMS 1000
SerOut2 PORTB.1, 84,[26]
DelayMS 3000
GOTO Start
Now I got lost reading the UNREAD message like this one:
+CMGR: "REC READ","+SenderNumber",,"05/05/26,17:19:23+00"
GOOD
OK
I don't have the idea how to strip the sender phone number and the sent text message "GOOD" from this data using SERIN command..
I'd tried this code..Is this correct?
DIM Message AS BYTE
SerIn2 PORTA.0, 84,[Message]
Any help will be appriciated.
BTW:
My resources are LIMITED only to PIC16F84 and Nokia's 6210 cellphone.
TIA
|
|
| Back to top |
|
 |
Cortex
Joined: 26 Mar 2005 Posts: 179 Helped: 8 Location: Morocco
|
28 May 2005 10:12 dlr3-p .hex file |
|
|
|
|
DIM Message AS BYTE
i think u must place
DIM Message AS string
because u will receive a string and not only a char
|
|
| Back to top |
|
 |
kasamiko
Joined: 23 May 2004 Posts: 83
|
28 May 2005 13:28 Re: PIC16F84A and Nokia 6210 |
|
|
|
|
Thanks! Nice to hear from you..
| Quote: |
DIM Message AS BYTE
i think u must place
DIM Message AS string
because u will receive a string and not only a char |
|
|
| Back to top |
|
 |
traxonja
Joined: 06 Apr 2004 Posts: 109 Helped: 1
|
29 May 2005 12:06 Re: PIC16F84A and Nokia 6210 |
|
|
|
|
Message for kasamiko:
Here are a few questions for you
How do you communicate with Nokia phone? Why do you use 2 PIC? How come Nokia 6210 supports text mode for SMS messaging?
I hope you will find time to answer these questions.
Best regards,
Trax
|
|
| Back to top |
|
 |
kasamiko
Joined: 23 May 2004 Posts: 83
|
02 Jun 2005 3:00 Re: PIC16F84A and Nokia 6210 |
|
|
|
|
| traxonja wrote: |
Message for kasamiko:
Here are a few questions for you
How do you communicate with Nokia phone? Why do you use 2 PIC? How come Nokia 6210 supports text mode for SMS messaging?
I hope you will find time to answer these questions.
Best regards,
Trax |
Using DLR3-P circuit the first PIC to be able to communicate with 6210 embedded modem, that's the function of the 1st PIC.
The othe PIC contains the instruction to communicate SERIALLY.. I use this setting, 9600,8,N,1(True,driven)
SerOut2 PORTB.1, 84 ' 84 = 9600,8,N,1(True,driven)
Yes Nokia 6210 supports text messaging using this AT command AT+CMGF=1,
instruct the phone to use TEXT mode or AT+CMGF=0 for PDU mode..
rhonn
|
|
| Back to top |
|
 |
Cortex
Joined: 26 Mar 2005 Posts: 179 Helped: 8 Location: Morocco
|
02 Jun 2005 10:21 PIC16F84A and Nokia 6210 |
|
|
|
|
| can i ask you why u connected the RB4 to RB5 using the diode ?
|
|
| Back to top |
|
 |
Google AdSense

|
02 Jun 2005 10:21 Ads |
|
|
|
|
|
|
| Back to top |
|
 |
kasamiko
Joined: 23 May 2004 Posts: 83
|
02 Jun 2005 10:37 Re: PIC16F84A and Nokia 6210 |
|
|
|
|
| Cortex wrote: |
| can i ask you why u connected the RB4 to RB5 using the diode ? |
Honestly, I don't know..
Since I only used the DLR-3P schematic from this site..
http://www.atrox.at/datacable/dlr3/
Maybe you can ask the author why?
rhonn
|
|
| Back to top |
|
 |
Cortex
Joined: 26 Mar 2005 Posts: 179 Helped: 8 Location: Morocco
|
02 Jun 2005 11:01 PIC16F84A and Nokia 6210 |
|
|
|
|
from what i see u can use only 1 Pic to do both Thing in the same time
contact me in icq if you want
|
|
| Back to top |
|
 |
wal
Joined: 15 Jun 2005 Posts: 1
|
15 Jun 2005 10:43 Re: PIC16F84A and Nokia 6210 |
|
|
|
|
HI,
Would it be possible for you to send me (or let me know from where I can download) a copy of the file DLR3P2.HEX
|
|
| Back to top |
|
 |
kasamiko
Joined: 23 May 2004 Posts: 83
|
15 Jun 2005 12:37 Re: PIC16F84A and Nokia 6210 |
|
|
|
|
Get the hex files HERE.
4 Mhz and 8 Mhz Version available.
BR
|
|
| Back to top |
|
 |
xjackal
Joined: 21 Jan 2004 Posts: 152 Helped: 13
|
16 Jun 2005 1:38 Re: PIC16F84A and Nokia 6210 |
|
|
|
|
man c'mon use can make this with just one pic with 877 like the one in here
one of the sample with s25 is here.
http://home.no/fsan/projects/index.htm
|
|
| Back to top |
|
 |
kasamiko
Joined: 23 May 2004 Posts: 83
|
16 Jun 2005 5:11 Re: PIC16F84A and Nokia 6210 |
|
|
|
|
Yeah I've it long time ago..
But the topic will then be PIC16F877 and Siemens S25!!
That's why I consider 16F84 and Nokia 6210 'coz I got a truckload of this stuff..
But in fairness it's a great project..but wonder why I can get the documentation of it..instruction how to used the project..
Any link will be appreciated..
BR..
|
|
| Back to top |
|
 |
xjackal
Joined: 21 Jan 2004 Posts: 152 Helped: 13
|
|
| Back to top |
|
 |
aldinlapinig
Joined: 04 Jun 2007 Posts: 13
|
01 Aug 2007 11:09 Re: PIC16F84A and Nokia 6210 |
|
|
|
|
hi all...
i'm making the dlr3p that was posted by kasamiko (acknowledgment to Adrian Dabrowski) in this forum but i can't get the dlr3p2.hex file in atrox.at because i cannot access the site no matter what i do and i don't know why. can somebody please mail me the file (dlr3p3.hex)? i really need it so much... my email add is aldinlapinig(at)gmail.com or aldin_lapinig(at)yahoo.com... thank you very much in advance...
kind regards,
aldin
|
|
| Back to top |
|
 |
aldinlapinig
Joined: 04 Jun 2007 Posts: 13
|
02 Aug 2007 17:49 Re: PIC16F84A and Nokia 6210 |
|
|
|
|
hi all,
wat could be the possible replacement of bat41 in the dlr3 data cable? can't find it in my place. thank u very much...
|
|
| Back to top |
|
 |
aldinlapinig
Joined: 04 Jun 2007 Posts: 13
|
03 Aug 2007 5:09 Re: PIC16F84A and Nokia 6210 |
|
|
|
|
| what is that diode for, anyway?
|
|
| Back to top |
|
 |
kasamiko
Joined: 23 May 2004 Posts: 83
|
11 Oct 2007 4:48 Re: PIC16F84A and Nokia 6210 |
|
|
|
|
You can replace BAT41 with 1N4148...used to combined RX/TX to MBUS..
Attached is the DLR3P hex for both 4 and 8 mhz xtal..
Regards
|
|
| Back to top |
|
 |
gizhuk
Joined: 24 Aug 2009 Posts: 1 Location: philippines
|
09 Sep 2009 11:49 Re: PIC16F84A and Nokia 6210 |
|
|
|
|
sir kasamiko, what is that attached dlr3p hex do? is that the program to be use for the pic16f84a in the cable circuit?
thank you very much in advance!
|
|
| Back to top |
|
 |