free 8051 Microcontroller Projects AVR PIC Microcontroller Projects Tutorials Ebooks Libraries, interfacing tutorials, lcd tutorial, stepper motor, dc motor 8051 assembly language programming electronics and communication ECE CSE pdf ebooks library BE final year project ideas Embedded systems

 
8051 microcontroller 8051 microcontroller
Forums

Go to page  [1] 2 3 4 5
Moderators: Ajay, Junied , abbas1707, Arun Kumar V, pdi33, Shailesh NAYAK, ۞ TPS ۞, shyam, sashijoseph
Author Post
giri
Thu Aug 28 2008, 11:20AM
 User Offline
Registered Member #2616
Joined: Fri Jul 27 2007, 03:00AM

Posts: 25
Thanked 0 times in 0 posts
Hello, My present project is with the Message transmitting with the Nokia 3310 and the 8052 microcontroller. I followed the protocol there in the "www.embeddedtronics.com"
but i am not getting it.

Pls help me it is urgent


Back to top


Ajay
Thu Aug 28 2008, 12:37PM
Rickey's World Admin

 User Offline

Registered Member #1
Joined: Fri Feb 24 2006, 04:56AM

Posts: 4042
Thanked 753 times in 712 posts
what part you did not understand? please be clear with it..

www.rickeyworld.info
If you feel satisfied with the user's forum reply please click on the thank button.

Obey forum rules!
Respect others!
Back to top


ExperimenterUK
Thu Aug 28 2008, 12:40PM
 User Offline
Registered Member #9602
Joined: Tue Aug 05 2008, 04:15PM

Posts: 204
Thanked 38 times in 37 posts
Posting in another thread will not help.

Saying "but i am not getting it" will not help either.

You need to say exactly what you have done,
and what, if anything does work.

Once we know that someone may be able to help.
You can never give too much detail when asking for help.

I know it may not be my place to comment..
but I thought it needed saying and the mods may be too polite to say it



[ Edited Thu Aug 28 2008, 12:42PM ]

Learning all the time
Back to top


giri
Thu Aug 28 2008, 12:54PM
 User Offline
Registered Member #2616
Joined: Fri Jul 27 2007, 03:00AM

Posts: 25
Thanked 0 times in 0 posts
Thanks sir,
The msg receiving has been completed. But the Msg transmitting i am not getting.
I followed the frame which is there in the 'embeddedtronics.com'.

1. First i transmitted the Software version request to the phone, then i have received the version.

2. Next I framed a msg to transmit as follows


char RData1[]={0x1E,0x00,0x0C,0x02,0x00,0x32,0x00,0x01,0x00,0x01,
0x02,0x00,0x07,0x91,0x19,0x89,0x58,0x00,0x45,0x44, //MSC no
0x00,0x00,0x00,0x00,0x15,0x00,0x00,0x00,0x04,0x0C, 0x91,0x19,0x99,0x98,0x62,0x13,0x62,0x00,0x00,0x00, //MOB no
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xC7,0xB4, 0x3C,0x0D,0x01,0x00,0x43,0x00,0x7A,0x52};

Here the Msg Centre No: 988500544
and Mobile no is: 9989263126
and msg is: Giri

thanks
Back to top


ExperimenterUK
Thu Aug 28 2008, 01:16PM
 User Offline
Registered Member #9602
Joined: Tue Aug 05 2008, 04:15PM

Posts: 204
Thanked 38 times in 37 posts
Now that's much better
Sorry if my earlier post seemed a bit harsh.

Did you send an acknowledge frame back to the phone to
acknowledge the version info it sent you,
before moving on to item 2
"2. Next I framed a msg to transmit as follows"


Can you send other commands to the phone and get the right answer ?

It's always a good idea to try simple things first to be sure your
setup works.

The URL is
http://www.embedtronics.com/nokia/fbus.html

[ Edited Thu Aug 28 2008, 01:35PM ]

Learning all the time
Back to top



This post has been thanked 1 time
 pdi33 
Ajay
Thu Aug 28 2008, 02:16PM
Rickey's World Admin

 User Offline

Registered Member #1
Joined: Fri Feb 24 2006, 04:56AM

Posts: 4042
Thanked 753 times in 712 posts
did you convert the msg to pdu format? to check if you have done right or wrong, download pdu converter utility from download section -> vb projects.

Now i just want to ask you few question:

how did you calculate the block/frame length?
i found the count for destination mobile number is not appropriate, i.e. you are using 0C where as it is 0A, did you check it?
padding byte needed or not?
checksum calculation may change after above changes.

www.rickeyworld.info
If you feel satisfied with the user's forum reply please click on the thank button.

Obey forum rules!
Respect others!
Back to top


giri
Thu Aug 28 2008, 03:38PM
 User Offline
Registered Member #2616
Joined: Fri Jul 27 2007, 03:00AM

Posts: 25
Thanked 0 times in 0 posts
Hello Sir,

The mobile number length is 0x0A in website, but when i m receiving msg there i found it as 0x0c so that i have used the 0C.

Yes, i have forwarded the ack frame also, and my PDU conversion is also currect.

as the total frame length is odd it needs a padding byte (i.e 0x00 in my frame).

One doubt is the order of checksums is even, odd or odd,even????

Is there any exact command manual for the FBUS, if it is there let me know about it.

Otherwise I will forward the code so that let me know the corrections.
Back to top


ExperimenterUK
Thu Aug 28 2008, 04:21PM
 User Offline
Registered Member #9602
Joined: Tue Aug 05 2008, 04:15PM

Posts: 204
Thanked 38 times in 37 posts
You do realise you must calculate your own the checksum for each message.


I think your data size should be 31 not 32 as padding byte don't seem to count as data.
If you change to 31 then I think your checksum should be 0xb3,0x48 instead of 0x7a, 0x52

"One doubt is the order of checksums is even, odd or odd,even????"
Here 0xb3 comes XOR ing bytes 0,2,4,6 etc and 0x48 from bytes 1,3,5,7 etc

I could easily be wrong, but it's worth a try



"Is there any exact command manual for the FBUS, if it is there let me know about it."
No, just lists complied from what has been seen to work. Google FBUS



[ Edited Thu Aug 28 2008, 06:30PM ]

Learning all the time
Back to top


giri
Thu Aug 28 2008, 09:33PM
 User Offline
Registered Member #2616
Joined: Fri Jul 27 2007, 03:00AM

Posts: 25
Thanked 0 times in 0 posts
Thanks,
I will try with your suggestions and i will get back to you

Back to top


Ajay
Fri Aug 29 2008, 06:43AM
Rickey's World Admin

 User Offline

Registered Member #1
Joined: Fri Feb 24 2006, 04:56AM

Posts: 4042
Thanked 753 times in 712 posts
if you want complete info on FBUS, visit www.gnokii.org check out the protocol information in www interface to their CVS server.

If you want working example of FBUS packet then use softwares like oxygen or some PC suit kind of software to send sms and use a serial monitor software to see it..

www.rickeyworld.info
If you feel satisfied with the user's forum reply please click on the thank button.

Obey forum rules!
Respect others!
Back to top


Go to page  [1] 2 3 4 5  

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System

8051 Microcontroller Projects 8051 AVR tutorials PIC microcontroller, 8051 assembly language programming electronics and communication ECE CSE pdf ebooks library BE final year project ideas Embedded systems