Thursday 21 April 2011

Gprs Module

Oggi ho provato a inviare un sms e chiamare tramite i comandi AT.
Ho riscontrato un problema riguardante all'alimentazione, non riuscivo a tenere attivo il modulo ad ogni registrazione alla rete poichè fà un picco di 2A e la batteria non riusciva darglielo.
Ora sono in attesa che il produttore mi confermi quale pezzo comprare.


Eccovi qua alcuni esempi di comandi:

Registrazione alla rete

AT+CFUN=1 //Set ME o full functionality.
AT+CMGF=1 //Set text mode
AT+CPIN=1234  //Set up sim pin
AT+CREG=1 //Report registration
AT+COPS=0 //Ask for automatic registration


Chiama

ATD<num> //Call the <num>

Invio sms

AT+CMGS=<num> //Send text to <num>
//Write text
<Ctrl+Z> //Send



Today I tried to send a sms and call through AT commands.
I discovered a problem about the power, I couldn't take on the module to each registration to the network because it takes sometimes 2A and the battery couldn't give that.
Now  I'm waiting that the producer give me an answer about which item I need to buy.

There are some example how to use AT commands ( see above ) .



No comments: