Ligne 1 : |
Ligne 1 : |
| {{Bluefruit-LE-Shield-NAV}} | | {{Bluefruit-LE-Shield-NAV}} |
| | | |
− | {{traduction}}
| |
| == Croquis ATCommand == | | == Croquis ATCommand == |
| Le croquis d'exemple ATCommand vous permet d'envoyer des commandes AT vers le module. Ce croquis permet également de voir les résultats sur le moniteur série d'Arduino. | | Le croquis d'exemple ATCommand vous permet d'envoyer des commandes AT vers le module. Ce croquis permet également de voir les résultats sur le moniteur série d'Arduino. |
Ligne 17 : |
Ligne 16 : |
| | | |
| == Configuration == | | == Configuration == |
− | Check the '''Configuration'''! page earlier to set up the sketch for Software/Hardware UART or Software/Hardware SPI. The default is hardware SPI
| + | Vérifiez la page '''Configuration''' présenter plus tôt dans le tutoriel! Il est important de configurer le croquis pour utiliser soit l'UART Logiciel/Matériel, soit le bus SPI Logiciel/Matériel correspondant à votre plateforme. Par défaut, le croquis utilise le bus SPI matériel |
| | | |
− | If using software or hardware Serial UART:
| + | Si vous utilisez le port série/UART logiciel ou matériel: |
− | * This tutorial does not need to use the MODE pin, '''make sure you have the mode switch in CMD mode''' if you do not configure & connect a MODE pin | + | * Ce tutoriel ne requière pas l'utilisation de la broche MODE, '''assurez-vous d'avoir l'interrupteur en position CMD''' si vous ne configurer pas (et ne connectez pas) la broche MODE. |
− | * Don't forget to also '''connect the CTS pin on the Bluefruit to ground if you are not using it!''' (The Flora has this already done) | + | * N'oubliez pas de '''connecter la broche CTS sur la masse/GND du Bluefruit si vous n'utilisez pas le signal CTS!''' (Le Flora l'a déjà branché à la masse) |
| | | |
| == Exécuter le croquis == | | == Exécuter le croquis == |
− | Once you upload the sketch to your board (via the arrow-shaped upload icon), and the upload process has finished, open up the Serial Monitor via '''Tools > Serial Monitor''', and make sure that the baud rate in the lower right-hand corner is set to '''115200''':
| + | Une fois le croquis/sketch téléversé sur votre carte (à l'aide de l'icone de téléversement en forme de flèche), vous pouvez ouvrir un moniteur série à l'aide du menu '''Outil > Moniteur Série''' et fixer le débit (baud rate, en bas à droite) sur '''115200''': |
| | | |
| {{ADFImage|Bluefruit-LE-Shield-ATCommand-10.png}} | | {{ADFImage|Bluefruit-LE-Shield-ATCommand-10.png}} |
| | | |
− | To send an AT command to the Bluefruit LE module, enter the command in the textbox at the top of the Serial Monitor and click the Send button
| + | Pour envoyer une commande AT sur le module Bluefruit LE: saisissez la commande dans le zone de texte en haut du moniteur série puis cliquez sur le bouton "Envoyer" (''Send'') |
| | | |
| {{ADFImage|Bluefruit-LE-Shield-ATCommand-11.png}} | | {{ADFImage|Bluefruit-LE-Shield-ATCommand-11.png}} |
| | | |
− | The response to the AT command will be displayed in the main part of the Serial Monitor. The response from "'''ATI'''" is shown below:
| + | La réponse à la commande AT sera affichée dans la partie principale du Moniteur Série. La réponse à la commande "'''ATI'''" est visible ci-dessous: |
| | | |
| {{ADFImage|Bluefruit-LE-Shield-ATCommand-12.png}} | | {{ADFImage|Bluefruit-LE-Shield-ATCommand-12.png}} |
| | | |
− | You can do pretty much anything at this prompt, with the AT command set. Try '''AT+HELP''' to get a list of all commands, and try out ones like '''AT+HWGETDIETEMP''' (get temperature at the nRF51822 die) and '''AT+HWRANDOM''' (generate a random number)
| + | Vous pouvez saisir n'importe quelle commande AT sur cette invite de commande. Essayez '''AT+HELP''' pour obtenir la liste de toutes les commande et essayer une commande telle que '''AT+HWGETDIETEMP''' (obtenir la température interne du nRF51822) ou '''AT+HWRANDOM''' (générer un nombre aléatoire) |
| | | |
| {{ADFImage|Bluefruit-LE-Shield-ATCommand-13.png}} | | {{ADFImage|Bluefruit-LE-Shield-ATCommand-13.png}} |
| | | |
| {{Bluefruit-LE-Shield-TRAILER}} | | {{Bluefruit-LE-Shield-TRAILER}} |