Modifications

Sauter à la navigation Sauter à la recherche
1 596 octets ajoutés ,  27 novembre 2015 à 11:54
Ligne 33 : Ligne 33 :     
== Commandes de test ==
 
== Commandes de test ==
 +
The FONA will echo characters back so you can see what you're typing - very handy!
 +
 +
Start by initializing the auto-baud'er by sending {{fname|AT}} and then return
 +
 +
{{ADFImage|ADAFRUIT-FONA-Brancher-USB-10.png}}
 +
 +
You may have to try it twice to get it to auto baud. Once it works you should see the {{fname|AT}} characters echo and then {{fname|OK}} telling you its OK!
 +
 +
You can then send some commands to query the module and get information about it such as
 +
* '''ATI''' - Get the module name and revision
 +
* '''AT+CMEE=2''' - Turn on verbose errors (handy for when you are trying out commands!)
 +
* '''AT+CCID''' - get the SIM card number - this tests that the SIM card is found OK and you can verify the number is written on the card
 +
 +
{{ADFImage|ADAFRUIT-FONA-Brancher-USB-11.png}}
 +
 +
=== Tester la configuration ===
 +
 +
Some tests to verify the setup:
 +
* '''AT+COPS?''' Check that you're connected to the network, in this case T-Mobile
 +
* '''AT+CSQ''' - Check the 'signal strength' - the first # is dB strength, it should be higher than around 5. Higher is better. Of course it depends on your antenna and location!
 +
* '''AT+CBC''' - will return the lipo battery state. The second number is the % full (in this case its 92%) and the third number is the actual voltage in mV (in this case, 3.877 V)
 +
 +
{{ambox-stop|text= If your SIM card is locked with a PIN code, you will need to enter the pin before you can connect to a network via the 'AT+CPIN' command. For example if the pin is 1234 you need to enter 'AT+CPIN=1234".  }}
 +
 +
{{ADFImage|ADAFRUIT-FONA-Brancher-USB-20.png}}
 +
 +
=== Tester l'envoi de SMS ===
 
{{traduction}}
 
{{traduction}}
    
{{ADAFRUIT-FONA-TRAILER}}
 
{{ADAFRUIT-FONA-TRAILER}}
29 918

modifications

Menu de navigation