Microcontroller › PIC › interfacing of gsm module and gps module with pic controller
- This topic has 15 replies, 12 voices, and was last updated 10 years, 3 months ago by Bharath K.
-
AuthorPosts
-
June 1, 2012 at 2:49 am #1828chirag shahParticipant
hi,
My project is to interface gsm module and gps module with pic controller and to get sms on mobile.
can anybody tell me which pic ic should I use?
may I have satisfied circuit diagram , codes , discription for it??
June 1, 2012 at 5:57 pm #7950AJISH ALFREDParticipantYou need PIC with two uart modules. I think pic18 series have two uart.
An example is PIC18F6622.
http://ww1.microchip.com/downloads/en/devicedoc/39646c.pdf
June 2, 2012 at 1:54 pm #7954AmrithParticipantHi Chirag,
Yes PIC18F6622 has two UART, If you are a begineer better go with development kit.
June 9, 2012 at 4:42 pm #7984AJISH ALFREDParticipantHi Chirag,
Don’t bother replying for anonymous post. You will get your answers in this forum itself.
I hope the following links will you help you a lot.
http://www.engineersgarage.com/embedded/pic-microcontroller-projects/gps-interface-circuit
June 13, 2012 at 12:48 pm #8024midhunParticipantYou can finish this task with a controller having only 1 UART module.
what you need to do is to connect the PIC “RX” to GPS module and connect the “TX” of PIC to GSM modem.
Continuesly read the value from GPS and filter the values which you require.
Next you send the command AT+CMGS= after that send ASCII of “ENTER” ie,0x0d.
now wait for few millisec.
send your value got from GPS modem.
SEND the ASCII of “CTRL+Z” ie 0x1a.
Now repeat the same again after few secondsss……….
June 15, 2012 at 5:52 pm #8054AJISH ALFREDParticipantHi,
The method posted by Midhun is perfect for you. You are only transmitting to gsm, and only receiving from gps. So you can use Rx pin of an uart for gps reception and Tx pin of same uart for transmitting to gsm.
June 16, 2012 at 4:32 pm #8057AmrithParticipantChirag,
The above solution is good for your present application. Suggest you to think before you go with only one UART, if in case for further development, if your application needs to read SMS from GSM modem, it would be difficult to change your controller & code. It is always suggested to choose the controller keeping in mind on future development of the application.
February 17, 2013 at 8:43 am #9143Joe paul joseParticipant@midhun
what should be done with TX pin of gps and RX pin of gsm modem in that case??
please reply…….
February 18, 2013 at 6:20 pm #9154bhushanvpatilParticipant@joe
you can kept rx for gsm and tx for gps open……..
March 28, 2013 at 1:29 pm #9394faheem khanParticipantI am making FYP regarding GPS, for module testing, I have to make a module for connecting a GPS that will serially take the data from GPS and will transfer to PIC 18f6622, and then show it on LCD. Kindly help me out if someone has any idea in CCS complier.
March 28, 2013 at 2:50 pm #9395AbineshParticipantI am also doing project in interfacing gps and gsm.and i finished the gsm part as it is just transmitting.
The problem is i cant receive character as i am having problem in recevier interrupt part of uart.I am using pic18f45k22 which has two uart and it is pdip one.
June 6, 2013 at 10:18 am #9899Tonzim HussainParticipantCan i have the C code to extract longitude and lattitude from nmea file from the gps receiver using PIC18f26K22 having two uart….plz help stuck at this part
September 13, 2013 at 2:38 am #10440RIYAZUDDIN MOHAMMEDParticipantHi,
Can anyone help me in this project
my project is to interface GPS and GSM to a microcontroller whenever a trigger is initiated, the coordinates from the GPS receivers must be sent using GSM to a given numbers. what microcontroller must be used.
October 3, 2013 at 7:13 am #10506Rashid NadeemParticipantHello every One.
My final year project is contrloling Distribution transformer parameters control and also send information when it’s is get blown I am biggener in this field Please any one here can tell me wich module of GSM and PIC should i use and how can i do this./
Thanks.
December 2, 2013 at 6:14 pm #10692Rashid NadeemParticipantHello every One.
My final year project is contrloling Distribution transformer parameters control and also send information when it’s is get blown I am biggener in this field Please any one here can tell me wich module of GSM and PIC should i use and how can i do this./
Thanks
-
AuthorPosts
- You must be logged in to reply to this topic.