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.

Nokia mobile gsm module simulation

Status
Not open for further replies.

hafizimran18

Member level 4
Member level 4
Joined
Aug 10, 2012
Messages
69
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Visit site
Activity points
1,780
hi, i want to check my MikroC code for gsm module,, i want to check whether its working or not ,, i tried this code but my mobile got no message,, can anybody tell me why????

Code:
void main() {
  UART1_Init(9600);               // Initialize UART module at 9600 bps
  
  UART1_Write_Text("AT+CMGS=");
  Delay_ms(1000);
  UART1_Write(0x22);
  Delay_ms(2000);
  UART1_Write_Text("00923455864774");  // my mobile number
  Delay_ms(2000);
  UART1_Write(0x22);
  UART1_Write(0x0D);
  Delay_ms(2000);
  UART1_Write_Text("Hi!");
  UART1_Write(0x0D);
  Delay_ms(2000);
  UART1_Write(26);
  Delay_ms(2000);
  
  UART1_Write(0x0D);
  Delay_ms(2000);
  }
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top