HI have any body send sms with mini 2440, can anybody tell me what do i need to send it?? or give me some ideas?? Thanks!!
send sms
You need a gsm module. For example you can visit http://www.telit.com and chose one, driven by AT commands via UART
Hi All, is there a tutorial for setting up the mini2440 or other ARM based with gsm module for sending sms? Thanks, Speed
Simplest way is attach ready modem via COM, and use AT-commands. E.g. pascal code for PIC24: // Отправка сообщения UART1_init_advanced (9600, _UART_8BIT_NOPARITY, _UART_ONE_STOPBIT, _UART_HI_SPEED); UART1_Write_Text('AT'+chr(13)+chr(10)); Delay_ms(1500); UART1_Write_Text('AT+CSCS="GSM"'+chr(13)+chr(10)); // Установка кодировки сообщения Delay_ms(1500); UART1_Write_Text('AT+CMGF=1'+chr(13)+chr(10)); // Переклю&am p;#1095;ение в режим отправки Delay_ms(1500); UART1_Write_Text('AT+CMGS="'+phone+'"'+chr(13)+chr(10)); // Отправка за 2 команды: номер + тело сообщения } Delay_ms(1500); UART1_Write_Text(txt + chr(26)+chr(13)+chr(10)); variables phone, txt are strings, defined above
Simplest way is attach ready modem via COM, and use AT-commands. E.g. pascal code for PIC24: UART1_init_advanced (9600, _UART_8BIT_NOPARITY, _UART_ONE_STOPBIT, _UART_HI_SPEED); UART1_Write_Text('AT'+chr(13)+chr(10)); Delay_ms(1500); UART1_Write_Text('AT+CSCS="GSM"'+chr(13)+chr(10)); Delay_ms(1500); UART1_Write_Text('AT+CMGF=1'+chr(13)+chr(10)); Delay_ms(1500); UART1_Write_Text('AT+CMGS="'+phone+'"'+chr(13)+chr(10)); } Delay_ms(1500); UART1_Write_Text(txt + chr(26)+chr(13)+chr(10)); variables phone, txt are strings, defined above // Sorry :)