Modifications

Sauter à la navigation Sauter à la recherche
2 000 octets ajoutés ,  27 novembre 2015 à 12:08
Ligne 31 : Ligne 31 :     
{{ADFImage|ADAFRUIT-FONA-Brancher-USB-04.jpg|640px}}
 
{{ADFImage|ADAFRUIT-FONA-Brancher-USB-04.jpg|640px}}
 +
 +
== Utilisateurs Linux ==
 +
Nous avons également également essayé de brancher notre FONA sur une machine Linux (nous adorons Linux). Mais nous avons été très surpris de ne pouvoir communiquer facilement avec le FONA :-/
 +
 +
Linux (Mint/Ubuntu dans notre cas) dispose d'un très bon support matériel. Dès que nous branchons notre FONA via USB, la machine se dit que c'est peut être un modem série (ce qui est le cas du FONA) et envoi des commandes AT.
 +
 +
En gros, le FONA commence à être pris en charge par le système d'exploitation, ce qui perturbe énormément la communication que nous essayons d'établir avec un terminal.
 +
Bref, c'était le cauchemar pendant une journée...
 +
 +
Désespéré, nous sommes passés au raccordement Arduino + Test avec la console série d'Arduino IDE... et notre premier SMS à été envoyé dans les 10 minutes (raccordement+téléversement arduino+envoi SMS)!
    
== Commandes de test ==
 
== Commandes de test ==
Ligne 60 : Ligne 70 :     
=== Tester l'envoi de SMS ===
 
=== Tester l'envoi de SMS ===
{{traduction}}
+
Finally, you can try to text your phone! Sending an SMS is pretty darn easy.
 +
* '''AT+CMGF=1''' - this will set it to TEXT mode not PDU (data) mode. You must do this because otherwise you cannot just type out the message.
 +
* '''AT+CMGS="nnnnnn"''' - send a text message! You will get a '>' prompt for typing. Type out your message and when you are done send a [Control-Z] on an empty line to send
 +
 
 +
It may take a few seconds after the Control-Z character for the module to send the SMS (you'll get a +CMGS) and verify it was sent (OK reply)
 +
 
 +
{{ADFImage|ADAFRUIT-FONA-Brancher-USB-30.png}}
 +
 
 +
{{ADFImage|ADAFRUIT-FONA-Brancher-USB-31.png}}
 +
 
 +
{{ADFImage|ADAFRUIT-FONA-Brancher-USB-32.png}}
 +
 
 +
=== Tester l'appel vocal ===
 +
You can also make a phone call, you must have a headset attached to the 4-pole 3.5mm headset connector, with a mic!
 +
 
 +
To call, dial
 +
* To call, dial '''ATD'''nnnnn; Don't forget the ; at the end!
 +
* If they pick up you'll hear it in the headset, if no pickup, you'll get a '''NO CARRIER''' return
 +
* Once you are chatting, you can hang up by sending '''ATH'''
 +
 
 +
{{ADFImage|ADAFRUIT-FONA-Brancher-USB-40.png}}
    
{{ADAFRUIT-FONA-TRAILER}}
 
{{ADAFRUIT-FONA-TRAILER}}
29 918

modifications

Menu de navigation