Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[PIC] PIC16F877A With GSM AND GPS

Status
Not open for further replies.

Vineeth Cherupalath Illam

Newbie level 4
Newbie level 4
Joined
Mar 2, 2015
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
33
I need to connect both GSM and GPS to PIC16F877A..
I'm using mikroC compiler..Anyone help me to acheive the connection..
Please Help me...
Please provide mikroC code
 

GSM is used only to send SMS ? If yes, then connect 5V TTL Rx pin of GSM to Tx pin of PIC. Connect 5V TTL Tx pin of GPS to Rx pin of PIC.

If GSM is used to send and receive SMS then use PIC18F46K22. It has two UART.
 

Thanks..
I want send message...
can u send me the schematic and mikroc code???
kindly help
 

Please am interested in the project, should the TX be coonnected directly without any level converter?
 
yes...
i need to reed gps data and have to send it through gsm,also i need to dispaly the latitude and longitude LCD
 

@Ogu Reginald

I have only interfaced GSM and GPS with 5V PIC. The SIM900 pins are 2.8V TTL, I guess. I have used SIM900 which already have level converters for 5V and 3.3V TTL. If your GSM and GPS modules doesn't have 5V TTL interface pins then you have to use level converters for interfacing with 5V PIC. If you want to both send and receive SMS then cross connect GSM to PIC UART pins that is Rx of GSM to Tx of PIC and Tx of GSM to Rx of PIC.

@Vineeth

Do you need formatting of latitude and longitude values ?
 

ok sir.....
i need that format and i need to display that on LCD..
but the problem is is i need to GPS too...it also needs uart but pic16f877a has only one uart..
can i use software uart using mikroC
 

I said if GSM is only used for sending SMS then PIC UART Tx is connected to GSM Rx and GPS Tx is connected to PIC Rx. So, one UART is enough. My advice is use PIC18F which has more RAM. In mikroC for PIC16F devices you will get "IRP_bit must be set manually to access xyz variable" warning. uart buffer needs to be big enough to hold one burst of GPS data.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top