dare_1985
Newbie level 3
telit gm862
Hi forum members,
I am stuck with a rather complicated (at least to me) task to do, and i need some help to achieve the following:
A PIC16F887A needs to receive and send data via GPRS from remote server at every 20 seconds. The GPRS modem which will be used is Telit GM862. The remote server will have a static IP address, and so should the Telit modem at the client side (PIC microcontroller). Information sent by the remote server to the PIC and vice versa is in the range of few bytes.
I have read some posts on similar subjects, as far as i know the PIC should send the data to the GM862 modem by RS-232 and the modem itself will provide the TCP using its internal TCP/IP stack. Am i correct? How does a complete C code look like, when i want my PIC to establish a connection, send and receive data through GPRS to a remote server by using the GM862? What are the AT commands which need to be sent to the modem, and in what form should i send my data to the modem (raw?)? The same goes to receiving the data, should i do some kind of polling? Please share some example working code, i will finish the code myself...
If you have a schematic of interconnection between PIC16F887A (or other PIC) and Telit GM862 i would be very thankful if you could share it with me. Especially advice on the serial link (should i connect lines RTS,CTS or just RX and TX will do the job), and about level converting (5V at PIC -> 2.8V at GM862).
That's it! I am expecting Your answers!
Thanks,
Darko from Macedonia
Hi forum members,
I am stuck with a rather complicated (at least to me) task to do, and i need some help to achieve the following:
A PIC16F887A needs to receive and send data via GPRS from remote server at every 20 seconds. The GPRS modem which will be used is Telit GM862. The remote server will have a static IP address, and so should the Telit modem at the client side (PIC microcontroller). Information sent by the remote server to the PIC and vice versa is in the range of few bytes.
I have read some posts on similar subjects, as far as i know the PIC should send the data to the GM862 modem by RS-232 and the modem itself will provide the TCP using its internal TCP/IP stack. Am i correct? How does a complete C code look like, when i want my PIC to establish a connection, send and receive data through GPRS to a remote server by using the GM862? What are the AT commands which need to be sent to the modem, and in what form should i send my data to the modem (raw?)? The same goes to receiving the data, should i do some kind of polling? Please share some example working code, i will finish the code myself...
If you have a schematic of interconnection between PIC16F887A (or other PIC) and Telit GM862 i would be very thankful if you could share it with me. Especially advice on the serial link (should i connect lines RTS,CTS or just RX and TX will do the job), and about level converting (5V at PIC -> 2.8V at GM862).
That's it! I am expecting Your answers!
Thanks,
Darko from Macedonia