Modifications

Sauter à la navigation Sauter à la recherche
aucun résumé de modification
Ligne 1 : Ligne 1 :  
{{Bluefruit-LE-Shield-NAV}}
 
{{Bluefruit-LE-Shield-NAV}}
  −
{{traduction}}
      
== Croquis BLEUart ==
 
== Croquis BLEUart ==
The '''BLEUart''' example sketch allows you to send and receive text data between the Arduino and a connected Bluetooth Low Energy Central device on the other end (such as you mobile phone using the '''Adafruit Bluefruit LE Connect''' application for [https://play.google.com/store/apps/details?id=com.adafruit.bluefruit.le.connect Android] or [https://itunes.apple.com/app/adafruit-bluefruit-le-connect/id830125974?mt=8 iOS] in UART mode).
+
L'exemple '''BLEUart''' permet d'échanger des données texte (envoi et réception) entre un Arduino et un périphérique Bluetooth Low Energy connecté à l'autre bout (comme un téléphone mobile utilisant l'application '''Adafruit Bluefruit LE Connect''' pour [https://play.google.com/store/apps/details?id=com.adafruit.bluefruit.le.connect Android] ou [https://itunes.apple.com/app/adafruit-bluefruit-le-connect/id830125974?mt=8 iOS]. Le transfert se fait en mode UART).
    
== Ouvrir le croquis ==
 
== Ouvrir le croquis ==
Ligne 23 : Ligne 21 :     
== 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 téléversé sur votre carte Arduino, vous pouvez ouvrir le moniteur série via le menu '''Outils > Moniteur série'''. Assurez-vous que le débit (Baud rate) soit configuré sur '''115200''' bauds (en bas à droite):
    
{{ADFImage|Bluefruit-LE-Shield-BLEUart-10.png}}
 
{{ADFImage|Bluefruit-LE-Shield-BLEUart-10.png}}
   −
Once you see the request, use the App to connect to the Bluefruit LE module in '''UART''' mode so you get the text box on your phone
+
Une fois que vous pouvez voir les requêtes envoyées au module BleFruit, utiliser l'App Adafruit sur votre smartphone pour vous connecter sur le module Bluefruit LE en mode '''UART''' (vous obtiendrez donc une zone texte sur votre téléphone.
   −
Any text that you type in the box at the top of the Serial Monitor will be sent to the connected phone, and any data sent from the phone will be displayed in the serial monitor:
+
Tout le texte que vous saisissez dans la zone de saisie du moniteur série (la zone en haut) sera envoyé vers le smartphone... et toutes les donnée envoyé depuis le smarphone sera affiché dans le moniteur série:
    
{{ADFImage|Bluefruit-LE-Shield-BLEUart-11.png}}
 
{{ADFImage|Bluefruit-LE-Shield-BLEUart-11.png}}
   −
You can see the incoming string here in the Adafruit Bluefruit LE Connect app below (iOS in this case):
+
Vous pouvez voir, ci-dessous, les chaînes de caractères arrivant sur l'application "Adafruit Bluefruit LE Connect" (App iOS en l'occurence):
    
{{ADFImage|Bluefruit-LE-Shield-BLEUart-12.png|480px}}
 
{{ADFImage|Bluefruit-LE-Shield-BLEUart-12.png|480px}}
   −
The response text ('Why hello, Arduino!') can be seen below:
+
Le texte de réponse ('Why hello, Arduino!') renvoyé depuis le Smartphone est visible dans le moniteur série Arduino (voir ci-dessous):
    
{{ADFImage|Bluefruit-LE-Shield-BLEUart-13.png}}
 
{{ADFImage|Bluefruit-LE-Shield-BLEUart-13.png}}
    
{{Bluefruit-LE-Shield-TRAILER}}
 
{{Bluefruit-LE-Shield-TRAILER}}
29 917

modifications

Menu de navigation