Ligne 1 : |
Ligne 1 : |
| {{ADAFRUIT-FONA-NAV}} | | {{ADAFRUIT-FONA-NAV}} |
| | | |
− | After soldering headers to the FONA module, plug it into a breadboard. We'll use an UNO, other Arduinos may be different
| + | {{bloc-etroit|text=Vous pouvez placer votre FONA sur un breadboard après y avoir soudé votre connecteur. Nous allons utiliser un Arduino UNO (les raccordements seraient différents pour d'autre cartes): |
| | | |
− | * Vio connects to 5V (or, with a 3V logic Arduino, 3V) | + | * Vio connecté sur 5V (Ou sur 3V s'il s'agit d'une Arduino à logique 3.3v) |
− | * GND connects to GND | + | * GND connecté sur GND (la masse) |
− | * Key connects to GND (always on) | + | * Key connecté sur GND (toujours activé) |
− | * RX connects to digital 2 | + | * RX connecté sur la broche digital 2 |
− | * TX connects to digital 3 (9 on Leo/Micro, 10 on Mega) | + | * TX connecté sur la broche 3 (9 sur un Léonado/Micro, 10 sur un Mega) |
− | * RST connects to digital 4 | + | * RST connecté sur la broche 4 |
| | | |
− | We'll be using software serial to talk to the module. The Mega ('2560 based) can't use Digital 3 for FONA TX, so use digital 10 instead. The Leonardo and Micro ('32u4 based) can't use digital 3 for FONA TX, so use digital 9 instead. See this page for other pins you can use for FONA TX (SoftwareSerial Receive) on the Mega, Leonardo, and Micro.
| + | Nous allons utiliser la bibliothèque "Software Serial" pour dialoguer avec le module. |
| + | * Sur un Arduino Uno, nous pouvons utiliser la broche digital 3 qu'il faudra adapter si vous avez d'autre modèles Arduino. |
| + | * Sur un Arduino Mega (basé sur un ATmel 2560) vous ne pouvez pas utiliser la broche digital 3 avec le FONA TX... par conséquent, nous utiliserons la broche digital 10 à la place. |
| + | * Sur un Arduino Leonardo ou Arduino Micro (basé sur un ATMel 32u4) vous ne pouvez pas utiliser la broche digital 3 avec le FONA TX... par conséquent, nous utiliserons la broche digital 9 à la place. |
| | | |
− | At this time we don't have support for Hardware Serial to talk to the FONA
| + | Notes: |
| + | # [https://www.arduino.cc/en/Reference/SoftwareSerial cette page] reprend les broches utilisables avec la bibliothèque Software Serial sur les différents modèle Arduino. |
| + | # Pour le moment, la bibliothèque FONA d'Adafruit ne support que Software Serial pour dialoguer avec le Fona. Pas de support pour Hardware Serial.}} |
| | | |
| {{ADFImage|ADAFRUIT-FONA-Arduino-Test.jpg|800px}} | | {{ADFImage|ADAFRUIT-FONA-Arduino-Test.jpg|800px}} |
| | | |
| {{ADAFRUIT-FONA-TRAILER}} | | {{ADAFRUIT-FONA-TRAILER}} |