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.

Gm862 with Mikroelectronika EasyPic 6 dev board

Status
Not open for further replies.

rtu

Newbie level 1
Joined
Jun 7, 2012
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,290
Hi there
I need some help. I am using a PIC16F887 on a MicroElectronika EasyPic6 development board with a Telit Gm862 gsm module
I am able to do the following:-
(1) call the dev board from my phone
(2) call my phone from the dev board
(3) send sms from dev board to my phone
But I am not able to receive sms from my phone to dev board. Here is my code for reading the sms


Code C - [expand]
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
if(Button(&PORTD, 5, 10, 1)) {
// Read sms from GSM module
// LCD_Out: Reading SMS...
      Lcd_Cmd(_LCD_CLEAR);
      LCD_Out(1,1,CopyConst2Ram(msg,lcd12));
      wait();
      send_atc (atc11);          //Text mode  AT+CMGF=1
      wait();
      send_atc (atc15);          //Sim card storage AT+CPMS="SM"
      wait();
      send_atc (atc17);          //Read first stored sms  AT+CMGR=1
      wait();
      UART1_Read_Text(Output, "OK", 255); // reads text until 'OK' is found
      LCD_Out(1,1,Output);
       }



The program just hangs at 'Reading SMS"
 
Last edited by a moderator:

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top