saesaria
Member level 1

"hello world" program to send SMS using AVR interfaced with Ultimo 24+TCP GSM modem
Hi!
perhaps someone can help me, I'm trying to send SMS with very simple program, it's like "hello world" program. I am working with ATMega16 interfaced with Ultimo 24+TCP GSM modem. I made the following program on my own (to be honest I am worst in coding), the coding built in Pascal Language. I tried the code but it doesn't work for me, can you find my mistake in coding?
--compiler-- Mikropascal for AVR
Any Help would be appreciated
Hi!
perhaps someone can help me, I'm trying to send SMS with very simple program, it's like "hello world" program. I am working with ATMega16 interfaced with Ultimo 24+TCP GSM modem. I made the following program on my own (to be honest I am worst in coding), the coding built in Pascal Language. I tried the code but it doesn't work for me, can you find my mistake in coding?
--compiler-- Mikropascal for AVR
Code:
program Send_SMS;
begin
UART1_Init(115200);
Delay_ms(100);
UART1_Write_Text('AT+CMGS="0898xxxxxxx"');
Delay_ms(100);
UART1_Write(CHR(10));
Delay_ms(100);
UART1_Write(CHR(13));
Delay_ms(1000);
UART1_Write_Text('This Text Should be sent ');
Delay_ms(100);
UART1_Write(CHR(26));
end.
Any Help would be appreciated
Last edited: