Modifications

Sauter à la navigation Sauter à la recherche
320 octets ajoutés ,  25 décembre 2012 à 18:38
Ligne 91 : Ligne 91 :     
== Configuration ==
 
== Configuration ==
Here are some of the more useful parameters for configuring your Xbee module. For step-by-step instructions on reading and writing them using AT commands, see the:
+
Voici quelque-uns des paramètres les plus utiles pour configurer un module Xbee. Pour le paramétrage par simple (étape par étape), lisez ou modifiez les valeurs en utilisant les commandes AT.
 +
 
 +
Vous pouvez consulter:
    
* [[Arduino Wireless Shield XBee 802.15.4|Arduino Wireless Shield avec module XBee 802.15.4]] traduction Française.  
 
* [[Arduino Wireless Shield XBee 802.15.4|Arduino Wireless Shield avec module XBee 802.15.4]] traduction Française.  
Ligne 97 : Ligne 99 :  
* [http://arduino.cc/en/Guide/ArduinoWirelessShieldS2 guide to the Wireless shield with the ZNet 2.5 modules].  
 
* [http://arduino.cc/en/Guide/ArduinoWirelessShieldS2 guide to the Wireless shield with the ZNet 2.5 modules].  
   −
Make sure to prepend AT to the parameter name when sending a command to the module (e.g. to read the ID parameter, you should send the command ATID).  
+
Assurez vous de préfixer le paramètre avec AT lorsque  vous envoyez une commande au module (ex: pour lire le paramètre ID, vous devez envoyer la commande ATID).  
    
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
 
|-
 
|-
| align="center" | Command
+
| align="center" | Commande
 
| align="center" | Description
 
| align="center" | Description
 
| align="center" | Valeurs valides
 
| align="center" | Valeurs valides
Ligne 107 : Ligne 109 :  
|- style="font-size: 90%"
 
|- style="font-size: 90%"
 
| align="left" | ID
 
| align="left" | ID
| align="left" | The network ID of the XBee module.
+
| align="left" | L'identification du réseau "network ID" du module XBee.
 
| align="left" | 0 - 0xFFFF
 
| align="left" | 0 - 0xFFFF
 
| align="left" | 3332
 
| align="left" | 3332
 
|- style="font-size: 90%"
 
|- style="font-size: 90%"
 
| align="left" | CH
 
| align="left" | CH
| align="left" | The channel of the XBee module.
+
| align="left" | TLe canal (channel) du module XBee.
 
| align="left" | 0x0B - 0x1A
 
| align="left" | 0x0B - 0x1A
 
| align="left" | 0X0C
 
| align="left" | 0X0C
 
|- style="font-size: 90%"
 
|- style="font-size: 90%"
| align="left" | SH and SL
+
| align="left" | SH et SL
| align="left" | The serial number of the XBee module (SH gives the high 32 bits, SL the low 32 bits).Read-only.
+
| align="left" | Le numéro de série (serial number) du module XBee. Lecture seule (ne peut pas être modifié).<br />SH donne les 32 bits de poids fort, SL donne les 32 bits de poids faible.
| align="left" | 0 - 0xFFFFFFFF (for both SH and SL)
+
| align="left" | 0 - 0xFFFFFFFF (pour SH et pour SL)
| align="left" | different for each module  
+
| align="left" | Différent pour chaque module
 
|- style="font-size: 90%"
 
|- style="font-size: 90%"
 
| align="left" | MY
 
| align="left" | MY
| align="left" | The 16-bit address of the module.
+
| align="left" | Adresse 16-bit du module.
 
| align="left" | 0 - 0xFFFF
 
| align="left" | 0 - 0xFFFF
 
| align="left" | 0
 
| align="left" | 0
 
|- style="font-size: 90%"
 
|- style="font-size: 90%"
| align="left" | DH and DL
+
| align="left" | DH et DL
| align="left" | The destination address for wireless communication (DH is the high 32 bits, DL the low 32).
+
| align="left" | L'adresse de destination pour la communication sans fil (DH sont les 32 bits de poids fort, DL les 32 bits de poids faible).
| align="left" | 0 - 0xFFFFFFFF (for both DH and DL)
+
| align="left" | 0 - 0xFFFFFFFF (pour DH et pour DL)
| align="left" | 0 (for both DH and DL)  
+
| align="left" | 0 (pour DH et aussi DL)  
 
|- style="font-size: 90%"
 
|- style="font-size: 90%"
 
| align="left" | BD
 
| align="left" | BD
| align="left" | The baud rate used for serial communication with the Arduino board or computer.
+
| align="left" | La vitesse de transmission série eb bauds entre le module et l'hôte (ordinateur, microcontroleur, Arduino, etc).
 
| align="left" | 0 (1200 bps)<br />1 (2400 bps)<br />2 (4800 bps)<br />3 (9600 bps)<br />4 (19200 bps)<br />5 (38400 bps)<br />6 (57600 bps)<br />7 (115200 bps)
 
| align="left" | 0 (1200 bps)<br />1 (2400 bps)<br />2 (4800 bps)<br />3 (9600 bps)<br />4 (19200 bps)<br />5 (38400 bps)<br />6 (57600 bps)<br />7 (115200 bps)
 
| align="left" | 3 (9600 baud)  
 
| align="left" | 3 (9600 baud)  
 
|}
 
|}
   −
Note: although the valid and default values in the table above are written with a prefix of "0x" (to indicate that they are hexadecimal numbers), the module will not include the "0x" when reporting the value of a parameter, and you should omit it when setting values.
+
Note: les valeurs indiquées dans la table ci-dessus sont préfixées avec "0x" pour indiquer qu'il s'agit de valeur hexadécimale. Lorsque le module retourne une valeur suite à une commande AT, cette dernière ne contient pas le préxise "0x"... tout comme vous devez omettre ce préfix lorsque vous configurer/modifiez la valeur d'un paramètre.
    
Here are a couple more useful commands for configuring the XBee module (you'll need to prepend AT to these too).  
 
Here are a couple more useful commands for configuring the XBee module (you'll need to prepend AT to these too).  
29 917

modifications

Menu de navigation