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.

can i interface GPS, GSM and a Memory chip to a single PIC?

Status
Not open for further replies.

Gokul_India

Junior Member level 2
Joined
Apr 1, 2011
Messages
23
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Coimbatore, India
Activity points
1,463
I have planned to impose speed limits in the required zones.. RF method to do this is already available.. But, i wish to do it by trying it with GPS.. the GPS positions of the speed limit zones and also the required speed limits should be stored in the Memory chip ( as a database ).. the GPS position of the running vehicle is continuously monitored and compared with the already available database.. GSM is used for any updatings in the speed limit data... So, i need to interface GPS, GSM and a Memory chip to a PIC microcontroller(16f877a).. Is it possible? how to do it? what all communications should i use for these interfacing modules and what all pins should i use...
 

Is it practical... i understand from your statement should all car have GPS, or how this concept is used in your project... i dont get picture how you can use GSM and GPS for your purpose..........
 

GSM and GPS both use UART. So, need PIC with 2 UART.
PIC16F877A have one UART. It's also possible to do UART software, but it's also difficult. I have tried.
Easy way, find other PIC with 2 UART.
 

Gokul,

If you are talking about GPS reception and message send through GSM, you can surely do that with single UART.

If its receiving and sending messages with GSM and receiving signals via GPS. you can still do that with minor modifications in your hardware, considering the fact that you can either read GSM or GPS and any given point of time not both.

If you need both and at almost the same time. I suggest you to have a bit bang option using some other IO pin.

As far as the memory goes, you can use a internal flash or EEPROM. Through your requirement i am guessing that it is more of a engineering project and hence the memory i suggested should be sufficient. If you still need more add a I2C EEPROM.

All the Best.

Regards
Sachin
 
Hi
Maybe no one has tried bit banging method, and mostly talk based on what they read in books... Its very difficult to get baudrate of 4800 and above... Mainly bit banging is implemented for baud rate less than 600bps.............
 

Shivaram,

With all due respect to your post. I would like to clarify that we have achieved the baud of 9600 using bitbang. It can surely take some time but if your know the uart operation inside out, it can be done for sure.
 

thanks sachin... but getting accuracy is a tough task... but do try this concept when you want the ISR to be used.. Without actual hardware this bit banging do not support at higher speeds...
 

Hi
Maybe no one has tried bit banging method, and mostly talk based on what they read in books... Its very difficult to get baudrate of 4800 and above... Mainly bit banging is implemented for baud rate less than 600bps.............
I agree with you. Many people just said it can be done by what they are reading, but less people that actual tried that.
That is very difficult to get the accuracy for long data transmission. The example exist is only transmit and receive one byte only. I have tried doing bit banging method and I can use baudrate up to 9600 but only can receive up to 6 byte. The bit banging transmit is no problem. In the future, If I can improve for receive many more byte, I will share the code.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top