Discussion in "Project Help" started by    mhmd_saud    Nov 11, 2009.
Sat Dec 26 2009, 01:40 am
#11


Is there any specific type of PIC I should use for the project?
What do u recommend? I'm looking for the cheapest ones available.

VioletRock


There is no point worrying about the cost of the PIC.
None are more than a few dollars,and the GSM modem, PCB etc
will be much more expensive

You can use pretty much any kind(family) of micro for this job.

A device with two serial ports is best, but often they come in
a surface mount package that is hard to work with.

Any of the 18F PICS should be okay, most only have a single serial port
but you can get around that, several threads explain how.


And besides that, do I have to download any software, compiler, etc to program the PIC and the GSM? Could you give me a heads up on what I should study/know about before I start working on them both? Like any coding, etc.?

VioletRock



You can download a full set of free software tools for Assembly language and 'C'
from www.microchip.com.
Programming PICs, GSM modems, serial ports etc is covered in many threads and
tutorials on this site.
Check the ebook section for books on PIC programming.


[ Edited Sun Dec 27 2009, 03:47 am ]
 VioletRock like this.
Sat Dec 26 2009, 01:26 pm
#12
I guess you should read advanced pic micro controller projects in c by dogan ibrahim....after this you can build a very simple serial or parallel port programmer based on poplar designs like jdm , propic2 , etc then jus build a development board for the pic with all basic ckts(power on reset, rs232 comm, all port pins extended out).. bas den u should use mikroc for pic coz it has many inbuilt routines for the coding...interface gps receiver module thru uart...gps receiver module like polstar has one pm648 i guess..dats it parse the strings and enjoy gps... also if you are only going to use serial comm then a 28 pin pic like pic18f2680 should be more than enough not only for current development but also for future enhancements....nd using mikroc u can implement software uart so even if uart ports are less it is ok...


[ Edited Sat Dec 26 2009, 01:31 pm ]
 VioletRock like this.
Sat Dec 26 2009, 11:19 pm
#13

Alright, so 18F it is. Thanks
But I'm curious, what about what Ajay said about getting a 2Uart PIC?
I looked through the list of 18F PICs, and they all have 0 Uarts.
Sun Dec 27 2009, 03:45 am
#14


I looked through the list of 18F PICs, and they all have 0 Uarts.

VioletRock


You must be mis-reading something.
Most of the 18F series have at least one USART.. a few such as the
PIC18F25J11 have two.
The Microchip site has a search page that allows you to find the PIC with the
facilities you need.
http://www.microchip.com/maps/microcontroller.aspx
 VioletRock like this.
Sun Dec 27 2009, 06:46 pm
#15



Alright, so 18F it is. Thanks
But I'm curious, what about what Ajay said about getting a 2Uart PIC?
I looked through the list of 18F PICs, and they all have 0 Uarts.

VioletRock


dowload datasheet of pic18f2680 as i said in my previous post...it has one uart..but using mikroc for pic you can implement software uart i.e do uart on pins that are regular i/o ....
Tue Dec 29 2009, 12:18 am
#16
18F6722 has got 2 uarts

anyways... you can do multiplexing of one uart to make them two or 3 or even 4 but software must be rugged enough to handle everything.
Tue Dec 29 2009, 11:20 am
#17
awesome thinking yaar...i was using multiplexing of adc channels using analog mux since they were short....but never thought of doing it for uart since i had many channels....but this might be of good use since hardware uart supports much more features against regular software uart... thnx
Wed Dec 30 2009, 04:34 pm
#18
you can make use of analog mux-demux like CD4052.
Sat Jan 02 2010, 11:16 am
#19
Okay, so right now I've decided on SIM300 for the GSM and 18F6722 for PIC.
And my friend has picked a gps receiver which I'm not sure what model yet.
So should those choices be okay for my project?

Since the GSM is controlled with AT commands, should I have to learn AT too?
I was reading the first few posts of this thread, and u guys mentioned that I have to have a static ip to be able to receive the position information from the gsm.

But what if I want to receive it from any computer I log on to?
Sat Jan 02 2010, 11:26 am
#20
Ohh my friend said she's using EM406a for the gps. Will the three go well together?

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

Bobbyerilar
Thu Mar 28 2024, 08:08 am
pb58
Thu Mar 28 2024, 05:54 am
Clarazkafup
Thu Mar 28 2024, 02:24 am
Walterkic
Thu Mar 28 2024, 01:19 am
Davidusawn
Wed Mar 27 2024, 08:30 pm
Richardsop
Tue Mar 26 2024, 10:33 pm
Stevencog
Tue Mar 26 2024, 04:26 pm
Bernardwarge
Tue Mar 26 2024, 11:15 am