EmbeddedRelated.com
Forums

About GSM project

Started by haresh July 12, 2008
My Last post  many friends have problem abt my university. I join this
group for help. If i said any thing wrong then sorry.
Right I am working project which is using 8051 to connect GSM modem
And GPS receiver  .Its for tracking vehicle and send MSG on my or any
mobile about vehicle location.

So If u have any idea Let me know right now i have a problem circuit
design.

Thank You,
Haresh
haresh wrote:
> My Last post many friends have problem abt my university. I join this > group for help. If i said any thing wrong then sorry. > Right I am working project which is using 8051 to connect GSM modem > And GPS receiver .Its for tracking vehicle and send MSG on my or any > mobile about vehicle location. > > So If u have any idea Let me know right now i have a problem circuit > design. > > Thank You, > Haresh
Haresh, Your request was just fine. The problem is that many newsgroups are populated with people who 1) want to make a joke about your request, or 2) want to sound so knowledgeable that you request is just an irritation. -- From what you have described, you want the the 8051 to manage the data flow between the GPS and the GSM modem. There are many variations of the 8051. Some have two serial ports. Using one of those would save you time. Try the SiLabs 8051F344 development kit which comes with a prototype board and a debugger + programming tools. Set up one serial port (baud rate, and format) to talk to the GPS. Setup the other serial port to drive the GSM modem. Start you programming by working with the GPS port. Develop code to pull in the GPS messages. Then adjust those messages into the format needed. Develop code to establish and close a connection with the GSM modem. Then connect all of the pieces together. Most of the work will involve setting up the 8051 hardware to host your application. The newer 8051's are feature rich and need a lot of initialization code to setup the part for use. Study the data sheet extensively and read as many software examples as you can. No matter how good your application is, if you do not setup the hardware correctly, you will have problems ranging from erratic behavior to just plain dead. From an application viewpoint, I would use an interrupt to service each serial port receive data. Toss the data into a small circular buffer and then to all processing and messaging in the foreground. As someone suggested, ww2.8052.com is a good resource. There are quick solutions. You will have to read a lot. There is much to know to make this type of project a success. Good luck and let us know how it goes. B. Farmer
On Sat, 12 Jul 2008 07:43:10 -0700 (PDT), haresh
<hareshpatel20@gmail.com> wrote:

>My Last post many friends have problem abt my university. I join this >group for help. If i said any thing wrong then sorry. >Right I am working project which is using 8051 to connect GSM modem >And GPS receiver .Its for tracking vehicle and send MSG on my or any >mobile about vehicle location. > >So If u have any idea Let me know right now i have a problem circuit >design.
Many here will be happy to answer specific questions but the questions need to include sufficient detail regarding the statement of the problem and the design constraints that it's even *possible* to form an answer. -- Rich Webb Norfolk, VA
Bit Farmer wrote:
> haresh wrote: >> My Last post many friends have problem abt my university. I join this >> group for help. If i said any thing wrong then sorry. >> Right I am working project which is using 8051 to connect GSM modem >> And GPS receiver .Its for tracking vehicle and send MSG on my or any >> mobile about vehicle location. >> >> So If u have any idea Let me know right now i have a problem circuit >> design. >> >> Thank You, >> Haresh > > Haresh, > > Your request was just fine. The problem is that many newsgroups are > populated with people who 1) want to make a joke about your request, or > 2) want to sound so knowledgeable that you request is just an irritation. > > -- > > From what you have described, you want the the 8051 to manage the data > flow > between the GPS and the GSM modem. > > There are many variations of the 8051. Some have two serial ports. > Using one > of those would save you time. Try the SiLabs 8051F344 development kit > which > comes with a prototype board and a debugger + programming tools. > > Set up one serial port (baud rate, and format) to talk to the GPS. > Setup the > other serial port to drive the GSM modem. Start you programming by > working with > the GPS port. Develop code to pull in the GPS messages. Then adjust those > messages into the format needed. Develop code to establish and close a > connection > with the GSM modem. Then connect all of the pieces together. > > Most of the work will involve setting up the 8051 hardware to host your > application. > The newer 8051's are feature rich and need a lot of initialization code > to setup the > part for use. Study the data sheet extensively and read as many > software examples > as you can. No matter how good your application is, if you do not setup > the hardware > correctly, you will have problems ranging from erratic behavior to just > plain dead. > > From an application viewpoint, I would use an interrupt to service each > serial port > receive data. Toss the data into a small circular buffer and then to > all processing > and messaging in the foreground. > > As someone suggested, ww2.8052.com is a good resource. There are quick > solutions. > You will have to read a lot. There is much to know to make this type of > project > a success. > > Good luck and let us know how it goes. > > B. Farmer
That should read No Quick Solutions.,
Bit Farmer wrote:
> haresh wrote: >> My Last post many friends have problem abt my university. I join this >> group for help. If i said any thing wrong then sorry. >> Right I am working project which is using 8051 to connect GSM modem >> And GPS receiver .Its for tracking vehicle and send MSG on my or any >> mobile about vehicle location. >> >> So If u have any idea Let me know right now i have a problem circuit >> design. >> >> Thank You, >> Haresh > > Haresh, > > Your request was just fine. The problem is that many newsgroups are > populated with people who 1) want to make a joke about your request, or > 2) want to sound so knowledgeable that you request is just an irritation. >
His request was *not* fine. It was written in barely comprehensible pseudo-english (I am a Scot living in Norway - I am fully aware of the difficulties of learning and communicating in a second language. But I also know that if you can't speak or write a language reasonably, you're going to have a great deal of trouble persuading people to bother listening to you). International communication in technical fields like embedded design is done in English. If the O/P wants to be an embedded engineer and to communicate with people from different countries, he needs to learn English. It's not fair, it's not "right" - but it *is* a fact of life. Even when you bother to read his posts, the project is totally beyond him (based on his posts). Either his "big name" university (does "big name" mean internationally renowned - if so, why not tell us the name?) is failing badly by giving students projects with no appropriate guidance, or the student himself is failing badly by not using the resources available. He has figured out the main components for his design (although why he is specifying an 8051 is beyond me), but apparently hasn't a clue how to turn these into a workable design, and probably hasn't a clue how to program the system. This isn't something that we can help with here - he needs to take appropriate courses and study appropriate books before getting to the point where we can help with the details. It's not that I don't want to help a student, it's just that giving technical advice like you did is not the help he needs.
In message
<a1e7050e-4d30-4541-9343-299474fc8cd8@t54g2000hsg.googlegroups.com>,
haresh <hareshpatel20@gmail.com> wrote:

>My Last post many friends have problem abt my university. I join this >group for help. If i said any thing wrong then sorry. >Right I am working project which is using 8051 to connect GSM modem >And GPS receiver .Its for tracking vehicle and send MSG on my or any >mobile about vehicle location. > >So If u have any idea Let me know right now i have a problem circuit >design.
I actually did a project like this a while back. This was before I had any real embedded design experience, so I took an EPIA-M mini-ITX motherboard (running Windows 2000), put it into an automotive PC case with a 12V power supply, and stuck it in the trunk of my car. http://img107.mytextgraphics.com/photolava/2008/07/12/dscn2234-fikk10zw.jpeg I plugged a Sierra Wireless GPRS card into one of the PCMCIA slots (that's it with the red antenna sticking out of it), and I plugged a Garmin GPS-18 hockey-puck GPS into one of the USB ports. http://img802.mytextgraphics.com/photolava/2008/07/12/dscn2236-4b5pkz1s3.jpeg The software monitored the switched power lead from the car to automatically bring the PC into and out of hibernation when the car was stopped and started. It read the output of the GPS once/second, and sent the telemetry (position, speed, and GPS constellation info) every 15 seconds via UDP to a Linux server that I had set up. I placed the unit into the trunk of the car that I allowed my then-teenaged son to drive in order to keep tabs on him. :) It was a fun project, and I enjoyed doing it, but if I were to design such a system again (and I am thinking about doing exactly that) I would do many things differently. For starters, I wouldn't use a full blown PC, I would base it on an embedded micro such as the MC9S12C128 which has a built-in automotive network (CAN) controller. Linking to the car's network is important, as it allows you to monitor the state of the vehicle (such as the current power mode, whether or not the engine is running, whether the alarm has been tripped) and activate the tracking unit accordingly. I'd also want the tracker to "wake up" periodically, acquire a position fix, and report to me immediately via the GPRS link if the vehicle had been moved without my authorization. It would have a backup battery sufficient to operate the tracker even if the thieves disconnect the car's battery and tow the vehicle away. A mercury tilt switch connected to one of the GPIOs would generate a wakeup signal to activate the tracker (and me) immediately if the vehicle is jacked or towed. The tracker and the GPS receiver would be hidden away in the body panels of the vehicle like a Lojack unit, so the thieves won't know it's there and can't disable it. I have lots more great ideas regarding this stuff - was there anything in particular you were looking for?
haresh wrote:

> My Last post many friends have problem abt my university. I join this > group for help. If i said any thing wrong then sorry. > Right I am working project which is using 8051 to connect GSM modem > And GPS receiver .Its for tracking vehicle and send MSG on my or any > mobile about vehicle location.
If you are just interested in the solution, you could buy a Nokia N95 or an iPhone (the new one with GPS) and write a little program on it for querying the integrated GPS receiver and then sending it. Needs still some work, e.g. researching, if the phones provide access to the GPS, e.g. on N95 maybe you can't access it with the Java implementation, but have to write it for Symbian OS and with the (now) free iPhone SDK, GSM access might be limited, too. For iPhone you could even sell the program with the iPhone store. If you are lucky, there is already such a program and you have to buy this, only :-) -- Frank Buss, fb@frank-buss.de http://www.frank-buss.de, http://www.it4-systems.de
haresh wrote:
> My Last post many friends have problem abt my university.
You have that completely wrong. First, we're not your "friends". We're people your message happened to reach. Second: no, we don't have a problem with your university. We have a problem with _your_ attitude towards doing _your_ homework. We would have a problem with that university only if (after you reveal what that "big name" actually is) it turns out that this attitude is actively endorsed there.
> So If u have any idea Let me know right now i have a problem circuit > design.
More importantly you seem to have a major problem understanding what going to a university is about. Hint: it's not about requesting ready-made solutions on the internet.
On Sat, 12 Jul 2008 07:43:10 -0700 (PDT), haresh
<hareshpatel20@gmail.com> wrote:

>My Last post many friends have problem abt my university. I join this >group for help. If i said any thing wrong then sorry. >Right I am working project which is using 8051 to connect GSM modem >And GPS receiver .Its for tracking vehicle and send MSG on my or any >mobile about vehicle location. > >So If u have any idea Let me know right now i have a problem circuit >design.
A similar application would be the APRS (Automatic Packet Reporting System) used by radio amateurs. You might find some useful ideas from there. Paul
On Sat, 12 Jul 2008 18:38:37 +0200, David Brown
<david.brown@hesbynett.removethisbit.no> wrote:

>Bit Farmer wrote: >> haresh wrote: >>> My Last post many friends have problem abt my university. I join this >>> group for help. If i said any thing wrong then sorry. >>> Right I am working project which is using 8051 to connect GSM modem >>> And GPS receiver .Its for tracking vehicle and send MSG on my or any >>> mobile about vehicle location. >>> >>> So If u have any idea Let me know right now i have a problem circuit >>> design. >>> >>> Thank You, >>> Haresh >> >> Haresh, >> >> Your request was just fine. The problem is that many newsgroups are >> populated with people who 1) want to make a joke about your request, or >> 2) want to sound so knowledgeable that you request is just an irritation. >> > >His request was *not* fine. It was written in barely comprehensible >pseudo-english (I am a Scot living in Norway - I am fully aware of the >difficulties of learning and communicating in a second language.
I am mostly working for a company with offices all around the world, but with very few people in English speaking countries, so in practice, none of us speaks English (my 3rd language) as the mother tongue. Meaningful phone contacts may become problematic due to very different accents, but even in such cases, an e-mail conversation will usually solve the problem. Maybe due to this background, understanding some questions in this newsgroup is not so hard, but making sense of any unrealistic assumption is the problem.
>But I >also know that if you can't speak or write a language reasonably, you're >going to have a great deal of trouble persuading people to bother >listening to you). International communication in technical fields like >embedded design is done in English. If the O/P wants to be an embedded >engineer and to communicate with people from different countries, he >needs to learn English. It's not fair, it's not "right" - but it *is* a >fact of life.
I fully agree with this. Also if working with industrial automation, knowing some German is useful, since some documents are not available in English or are translated by Babelfish :-).
>Even when you bother to read his posts, the project is totally beyond >him (based on his posts). Either his "big name" university (does "big >name" mean internationally renowned - if so, why not tell us the name?) >is failing badly by giving students projects with no appropriate >guidance, or the student himself is failing badly by not using the >resources available. He has figured out the main components for his >design (although why he is specifying an 8051 is beyond me), but >apparently hasn't a clue how to turn these into a workable design, and >probably hasn't a clue how to program the system. This isn't something >that we can help with here - he needs to take appropriate courses and >study appropriate books before getting to the point where we can help >with the details. > >It's not that I don't want to help a student, it's just that giving >technical advice like you did is not the help he needs.
I have also seen this, when someone asks how to do X and the reply is that do A, B and C and then the original poster asks 1.) What is A and how do I implement it 2.) What is B and how do I implement it 3.) What is C and how do I implement it If this is the likely result of answering what is X, it is no doubt that it is hard to get any responses. However, in this newsgroup at least, after the initial question asking about what is X, asking about what is B.3.2 would indicate that A and C and most part of B is understood and does not require spoon-feeding. Paul