Loading...

Main.DebuterPresentationLogiciel History

Hide minor edits - Show changes to markup

February 27, 2010, at 10:37 AM by Webmaster -
February 27, 2010, at 08:08 AM by Webmaster -
February 20, 2010, at 06:40 AM by Webmaster -
February 20, 2010, at 03:17 AM by Webmaster -
Changed lines 305-306 from:

Some preferences can be set in the preferences dialog (found under the Arduino menu on the Mac, or File on Windows and Linux). The rest can be found in the preferences file, whose location is shown in the preference dialog.

to:

Plusieurs préférences peuvent être configurées dans la boite de dialogue Préférences (retrouvée sous le menu Arduino sur Mac, ou dans le menu File sous Windows et Linux). Le reste peut être trouvé dans le fichier de préférences, dont la localisation est précisée dans la boite de dialogue des préférences.

Changed lines 320-353 from:
    * Arduino Duemilanove or Nano w/ ATmega328
      An ATmega328 running at 16 MHz with auto-reset. Also used for the 16 MHz (5V) versions of the Arduino Pro or Pro Mini with an ATmega328.

    * Arduino Diecimila, Duemilanove, or Nano w/ ATmega168
      An ATmega168 running at 16 MHz with auto-reset. Compilation and upload is equivalent to Arduino NG or older w/ ATmega168, but the bootloader burned has a faster timeout (and blinks the pin 13 LED only once on reset). Also used for the 16 MHz (5V) versions of the Arduino Pro and Pro Mini with an ATmega168.

    * Arduino Mega
      An ATmega1280 running at 16 MHz with auto-reset.

    * Arduino Mini
      Equivalent to Arduino NG or older w/ ATmega168 (i.e. an ATmega168 running at 16 MHz without auto-reset).

    * Arduino BT
      ATmega168 running at 16 MHz. The bootloader burned includes codes to initialize the on-board bluetooth module.

    * LilyPad Arduino w/ ATmega328
      An ATmega328 running at 8 MHz (3.3V) with auto-reset. Equivalent to Arduino Pro or Pro Mini (3.3V, 8 MHz) w/ ATmega328.

    * LilyPad Arduino w/ ATmega168
      An ATmega168 running at 8 MHz. Compilation and upload is equivalent to the Arduino Pro or Pro Mini (8 MHz) w/ ATmega168. The bootloader burned, however, has a slower timeout (and blinks the pin 13 LED three times on reset) because the original versions of the LilyPad didn't support auto-reset. They also didn't include an external clock, so the burn bootloader command configures the fuses of ATmega168 for an internal 8 MHz clock.

      If you have a recent version of the LilyPad, (w/ a 6-pin programming header), you'll want to select Arduino Pro or Pro Mini (8 MHz) w/ ATmega168 before burning the bootloader.

    * Arduino Pro or Pro Mini (3.3V, 8 MHz) w/ ATmega328
      An ATmega328 running at 8 MHz (3.3V) with auto-reset. Equivalent to LilyPad Arduino w/ ATmega328.

    * Arduino Pro or Pro Mini (3.3V, 8 MHz) w/ ATmega168
      An ATmega168 running at 8 MHz (3.3V) with auto-reset.

    * Arduino NG or older w/ ATmega168
      An ATmega168 running at 16 MHz without auto-reset. Compilation and upload is equivalent to Arduino Diecimila or Duemilanove w/ ATmega168, but the bootloader burned has a slower timeout (and blinks the pin 13 LED three times on reset).

    * Arduino NG or older w/ ATmega8
      An ATmega8 running at 16 MHz without auto-reset. 
to:
  • Arduino Duemilanove or Nano w/ ATmega328

n ATmega328 running at 16 MHz with auto-reset. Also used for the 16 MHz (5V) versions of the Arduino Pro or Pro Mini with an ATmega328.

  • Arduino Diecimila, Duemilanove, or Nano w/ ATmega168

An ATmega168 running at 16 MHz with auto-reset. Compilation and upload is equivalent to Arduino NG or older w/ ATmega168, but the bootloader burned has a faster timeout (and blinks the pin 13 LED only once on reset). Also used for the 16 MHz (5V) versions of the Arduino Pro and Pro Mini with an ATmega168.

  • Arduino Mega

An ATmega1280 running at 16 MHz with auto-reset.

  • Arduino Mini

Equivalent to Arduino NG or older w/ ATmega168 (i.e. an ATmega168 running at 16 MHz without auto-reset).

  • Arduino BT

ATmega168 running at 16 MHz. The bootloader burned includes codes to initialize the on-board bluetooth module.

  • LilyPad Arduino w/ ATmega328

An ATmega328 running at 8 MHz (3.3V) with auto-reset. Equivalent to Arduino Pro or Pro Mini (3.3V, 8 MHz) w/ ATmega328.

  • LilyPad Arduino w/ ATmega168

An ATmega168 running at 8 MHz. Compilation and upload is equivalent to the Arduino Pro or Pro Mini (8 MHz) w/ ATmega168. The bootloader burned, however, has a slower timeout (and blinks the pin 13 LED three times on reset) because the original versions of the LilyPad didn't support auto-reset. They also didn't include an external clock, so the burn bootloader command configures the fuses of ATmega168 for an internal 8 MHz clock.

If you have a recent version of the LilyPad, (w/ a 6-pin programming header), you'll want to select Arduino Pro or Pro Mini (8 MHz) w/ ATmega168 before burning the bootloader.

  • Arduino Pro or Pro Mini (3.3V, 8 MHz) w/ ATmega328

An ATmega328 running at 8 MHz (3.3V) with auto-reset. Equivalent to LilyPad Arduino w/ ATmega328.

  • Arduino Pro or Pro Mini (3.3V, 8 MHz) w/ ATmega168

An ATmega168 running at 8 MHz (3.3V) with auto-reset.

  • Arduino NG or older w/ ATmega168

An ATmega168 running at 16 MHz without auto-reset. Compilation and upload is equivalent to Arduino Diecimila or Duemilanove w/ ATmega168, but the bootloader burned has a slower timeout (and blinks the pin 13 LED three times on reset).

  • Arduino NG or older w/ ATmega8

An ATmega8 running at 16 MHz without auto-reset.

February 20, 2010, at 03:09 AM by Webmaster -
Changed line 296 from:
to:
February 20, 2010, at 03:03 AM by Webmaster -
Changed lines 253-254 from:

Sur la plupart des cartes, vous devez voir les LEDs des lignes RX et TS clignoter rapidement, témoignant que le programme est bien transférer. Durant le transfert, le bouton devient jaune et le logiciel Arduino affiche un message indiquant que le transfert est en cours :

to:

Sur la plupart des cartes, vous devez voir les LEDs des lignes RX et TX clignoter rapidement, témoignant que le programme est bien transféré. Durant le transfert, le bouton devient jaune et le logiciel Arduino affiche un message indiquant que le transfert est en cours :

Changed lines 270-273 from:

Libraries provide extra functionality for use in sketches, e.g. working with hardware or manipulating data. To use a library in a sketch, select it from the Sketch > Import Library menu. This will insert one or more #include statements at the top of the sketch and compile the library with your sketch. Because libraries are uploaded to the board with your sketch, they increase the amount of space it takes up. If a sketch no longer needs a library, simply delete its #include statements from the top of your code.

There is a list of libraries in the reference. Some libraries are included with the Arduino software. Others can be downloaded from a variety of sources. To install these third-party libraries, create a directory called libraries within your sketchbook directory. Then unzip the library there. For example, to install the DateTime library, its files should be in the /libraries/DateTime sub-folder of your sketchbook folder.

to:

Les librairies fournisent des fonctions nouvelles que vous pouvez utiliser dans vos programmes, par exemple pour utiliser un matériel précis (un afficheur LCD...) ou manipuler des données. Pour utiliser une librairie, la sélectionner depuis le menu Sketch > Import Library (Programme > Importer Librairie). Cela insèrera une ou plusieurs instructions #include au début de votre programme et compilera la librairie avec votre programme.

Puisque les librairies sont transférées dans la carte avec votre programme, elle augmente la quantité de mémoire utilisée. Si un programme ne nécessite plus d'une librairie, effacer simplement l'instruction #include correspondante au début de votre code.

Il y a toute une liste de librairies dans la référence du langage Arduino. Certaines librairies sont incluses dans le logiciel Arduino (la librairie Serial pour les communications série notamment). D'autres librairies peuvent être téléchargées depuis différentes sources (voir notamment : http://www.arduino.cc/playground/Main/InterfacingWithHardware). Pour installer ces librairies provenant de tiers, créer un répertoire appelé "libraries" dans votre répetoire "sketchbook". A ce niveau, déziper les librairies téléchargées. Par exemple, pour installer la librairie DateTime, le fichier devrait être dans le dossier : /libraries/DateTime de votre "sketchbook".

Le Moniteur Série

Le logiciel Arduino intègre également un TERMINAL SERIE (fenêtre séparée) qui permet d'afficher des messages textes reçus de la carte Arduino et d'envoyer des caractères vers la carte Arduino. Cette fonctionnalité permet une mise au point facilitée des programmes, permettant d'afficher sur l'ordinateur l'état de variables, de résultats de calculs ou de conversions analogique-numérique : un élément essentiel pour améliorer, tester et corriger ses programmes.

  • Sur votre ordinateur, il faut ouvrir la fenêtre terminal de l'IDE Arduino : pour ce faire, un simple clic sur le bouton « Sérial Monitor ».
  • La fenêtre « Terminal » s'ouvre alors :
  • Il faut alors régler le débit de communication sur la même valeur que celle utilisée par le programme avec lequel nous allons programmer la carte Arduino :
  • Pour envoyer des données vers la carte, saisir le texte dans le champ de saisie et cliquer le bouton "send" (envoi) ou appuyer sur enter.

Noter que sur Mac ou Linux, la carte Arduino se réinitialisera quand vous vous connecterez avec le moniteur Série.

Vous pouvez également communiquer avec la carte Arduino depuis l'interface graphique programmable Processing, Flash, MaxMSP, etc.. (voir la page suivante pour plus de détails)

Preferences

Some preferences can be set in the preferences dialog (found under the Arduino menu on the Mac, or File on Windows and Linux). The rest can be found in the preferences file, whose location is shown in the preference dialog.

Deleted lines 315-323:

Serial Monitor

Displays serial data being sent from the Arduino board (USB or serial board). To send data to the board, enter text and click on the "send" button or press enter. Choose the baud rate from the drop-down that matches the rate passed to Serial.begin in your sketch. Note that on Mac or Linux, the Arduino board will reset (rerun your sketch from the beginning) when you connect with the serial monitor.

You can also talk to the board from Processing, Flash, MaxMSP, etc (see the interfacing page for details).

Preferences

Some preferences can be set in the preferences dialog (found under the Arduino menu on the Mac, or File on Windows and Linux). The rest can be found in the preferences file, whose location is shown in the preference dialog.

February 20, 2010, at 02:36 AM by Webmaster -
Changed line 226 from:

1. !!! Saisir votre programme et vérifier le code.

to:

1. Saisir votre programme et vérifier le code.

Changed lines 245-246 from:

2. Clic sur le bouton UPLOAD (Transfert du programme)

to:

3. Clic sur le bouton UPLOAD (Transfert du programme)

Changed line 262 from:

3. Le programme transféré avec succès se lance

to:

4. Le programme transféré avec succès se lance

February 20, 2010, at 02:35 AM by Webmaster -
Changed lines 238-239 from:

Avant de transférer votre programme vers la carte Arduino, vous devez vérifier que vous avez bien sélectionné la bonne carte Arduino depuis le menu Tools>Board (Outils>Carte). Les cartes sont décrites ci-dessous.

to:

Avant de transférer votre programme vers la carte Arduino, vous devez vérifier que vous avez bien sélectionné la bonne carte Arduino depuis le menu Tools>Board (Outils>Carte). Les cartes sont décrites ci-dessous. Votre carte doit évidemment être connectée à l'ordinateur via un câble USB.

Changed lines 249-256 from:

Once you've selected the correct serial port and board, press the upload button in the toolbar or select the Upload to I/O Board item from the File menu. Current Arduino boards will reset automatically and begin the upload. With older boards that lack auto-reset, you'll need to press the reset button on the board just before starting the upload. On most boards, you'll see the RX and TX LEDs blink as the sketch is uploaded. The Arduino environment will display a message when the upload is complete, or show an error.

3. Le programme transférer se lance

When you upload a sketch, you're using the Arduino bootloader, a small program that has been loaded on to the microcontroller on your board. It allows you to upload code without using any additional hardware. The bootloader is active for a few seconds when the board resets; then it starts whichever sketch was most recently uploaded to the microcontroller. The bootloader will blink the on-board (pin 13) LED when it starts (i.e. when the board resets).

Libraries

to:

Une fois que vous avez sélectionné le bon port série et la bonne carte Arduino, cliquez sur le bouton UPLOAD (Transfert vers la carte) dans la barre d'outils, ou bien sélectionner le menu File>Upload to I/O board (Fichier > Transférer vers la carte). Avec les versions récentes (Duemilanove notamment), la carte Arduino va alors automatiquement se réinitialiser et démarrer le transfert. Avec les versions précédentes qui ne sont pas équipées de l'auto-réinitialisation, vous devez appuyer sur le bouton "reset" de la carte juste avant de démarrer le transfert.

A ce moment précis : l'INSTANT MAGIQUE !!!

Sur la plupart des cartes, vous devez voir les LEDs des lignes RX et TS clignoter rapidement, témoignant que le programme est bien transférer. Durant le transfert, le bouton devient jaune et le logiciel Arduino affiche un message indiquant que le transfert est en cours :

Une fois le transfert terminé, le logiciel Arduino doit afficher un message indiquant que le transfert est bien réalisé, ou montrer des messages d'erreurs... (Reprendre dans ce cas la procédure, et si le problème persiste, voir la page "Dépannage"

3. Le programme transféré avec succès se lance

Quand vous transférez un programme, en utilisant le bootloader Arduino, un petit programme (code binaire) a été chargé dans le microcontrôleur sur votre carte Arduino. Cette technique vous permet comme vous avez pu le voir de transférer votre programme sans aucun matériel externe. Une fois le transfert terminé, le bootloader est actif une petite seconde ("écoute" pour voir si un nouveau programme arrive...) une fois que la carte est réinitialisée à la fin du transfert; puis le dernier programme programmé dans la carte s'exécute.

Note : Le bootloader fait clignoter la LED de la carte (broche 13) quand il démarre (c'est à dire quand la carte est réinitialisée)

Librairies

Changed line 335 from:
to:
  • Très sympa le clignotement des LEDs sur la carte lorsque le programme est tranféré vers la carte. La réinitialisation automatique est également très pratique, simplifiant la manipulation au maximum (plus d'appui sur un BP reset...)
February 20, 2010, at 02:08 AM by Webmaster -
Changed lines 215-216 from:

Sketchbook

to:

Sketchbook ("Livre de programmes")

Changed lines 226-227 from:

1. Sélectionner le bon port série (et la bonne carte Arduino...).

to:

1. !!! Saisir votre programme et vérifier le code. On suppose ici qu'un programme correctement écrit se trouve dans la fenêtre éditeur. Pour votre première programmation de la carte, aller dans le menu File>Examples>Digital>Blink : un programme s'ouvre avec du code dans la fenêtre éditeur.

Appuyez alors sur le bouton Verify de la barre d'outils pour lancer la vérification du code :

Si tout va bien, aucun message d'erreur ne doit apparaître dans la console et la zone de message doit afficher Done Compiling attestant que la vérification s'est bien déroulée.

2. Sélectionner le bon port série (et la bonne carte Arduino...).

February 20, 2010, at 01:59 AM by Webmaster -
Deleted lines 40-41:
Changed lines 217-226 from:

The Arduino environment includes the concept of a sketchbook: a standard place to store your programs (or sketches). The sketches in your sketchbook can be opened from the File > Sketchbook menu or from the Open button on the toolbar. The first time you run the Arduino software, it will automatically create a directory for your sketchbook. You can view or change the location of the sketchbook location from with the Preferences dialog.

Tabs, Multiple Files, and Compilation

Allows you to manage sketches with more than one file (each of which appears in its own tab). These can be normal Arduino code files (no extension), C files (.c extension), C++ files (.cpp), or header files (.h).

Uploading

Before uploading your sketch, you need to select the correct items from the Tools > Board and Tools > Serial Port menus. The boards are described below. On the Mac, the serial port is probably something like /dev/tty.usbserial-1B1 (for a USB board), or /dev/tty.USA19QW1b1P1.1 (for a serial board connected with a Keyspan USB-to-Serial adapter). On Windows, it's probably COM1 or COM2 (for a serial board) or COM4, COM5, COM7, or higher (for a USB board) - to find out, you look for USB serial device in the ports section of the Windows Device Manager. On Linux, it should be /dev/ttyUSB0, /dev/ttyUSB1 or similar.

to:

Le logiciel Arduino intègre le concept d'un "sketchbook" (livre de programme) : un endroit réservé pour stocker vos programmes. Les programmes que vous mettez dans votre "sketchbook" pourront être ouvert directement depuis le menu File > Sketchbook ou à l'aide du bouton Open (Ouvrir) dans la barre d'outils.

La première fois que vous démarrer le logiciel Arduino, un chemin automatique sera créé pour votre "sketchbook". Vous pouvez voir ou modifier cette localisation depuis le menu File > Preferences.

Onglets, fichiers multiples et compilation

Vous permet de gérer les programmes avec plus d'un fichier (chaque fichier apparaissant dans son propre onglet). Ces fichiers doivent être des fichiers Arduino normaux (no extension), des fichiers C (extension .c ), des fichiers C++ (.cpp) ou des fichiers d'entête (.h).

Transfert des programmes vers la carte Arduino

1. Sélectionner le bon port série (et la bonne carte Arduino...).

Avant de transférer votre programme vers la carte Arduino, vous devez vérifier que vous avez bien sélectionné la bonne carte Arduino depuis le menu Tools>Board (Outils>Carte). Les cartes sont décrites ci-dessous.

Vous devez également sélectionner le bon port série depuis le menu Tools > Serial Port (Outils > Port Série) :

  • Sur un Mac, le port série ressemble probablement à quelque chose comme /dev/tty.usbserial-1B1 (pour une carte USB), ou /dev/tty.USA19QW1b1P1.1 (pour une carte série connectée avec un adaptateur USB-vers-Série).
  • Sous Winsows, c'est probablement COM1 ou COM2 (pour une carte série) ou COM4, COM5, COM7 ou supérieur (pour une carte USB) - pour trouver le bon, vous pouvez chercher dans la rubrique des ports série USB dans la section des ports du panneau de configuration ou du gestionnaire de périphériques.
  • Sous Linux, çà devrait être /dev/ttyUSB0, /dev/ttyUSB1 ou équivalent.

2. Clic sur le bouton UPLOAD (Transfert du programme)

Added lines 240-241:

3. Le programme transférer se lance

February 20, 2010, at 01:35 AM by Webmaster -
Changed lines 137-138 from:

(:TABLE width=80%:)

to:

(:TABLE width=100%:)

Changed lines 144-147 from:

Menu File :

  • Propose toutes les fonctionnalités usuelles pour gérer les fichiers.
to:

Menu File (Fichier) :

  • Propose toutes les fonctionnalités usuelles pour gérer les fichiers,
  • Sketchbook (Programme) :

Fonctionnalité vous permettant d'avoir accès directement à tous vos programmes dans votre répertoire de travail. Voir ci-dessous pour les détails.

  • Examples (Exemples) :

Cet item vous propose un menu déroulant vers toute une série de programmes d'exemples disponibles.

Changed lines 157-158 from:

Menu Edit :

to:

Menu Edit (Editer):

Changed lines 171-172 from:

Menu Sketch:

to:

Menu Sketch (Programme):

Changed lines 192-204 from:

Tools

  • Auto Format

This formats your code nicely: i.e. indents it so that opening and closing curly braces line up, and that the statements instead curly braces are indented more.

  • Board

Select the board that you're using. See below for descriptions of the various boards.

  • Serial Port

This menu contains all the serial devices (real or virtual) on your machine. It should automatically refresh every time you open the top-level tools menu.

  • Burn Bootloader

The items in this menu allow you to burn a bootloader onto the microcontroller on an Arduino board. This is not required for normal use of an Arduino board but is useful if you purchase a new ATmega (which normally come without a bootloader). Ensure that you've selected the correct board from the Boards menu before burning the bootloader. When using an AVR ISP, you'll need to select the item corresponding to your programmer from the Serial Port menu.

to:

Menu Tools (Outils):

  • Auto Format (Mise en forme Automatique) :

Cette fonction formate votre code joliment : c'est à dire ajuste le code de façon à ce que les accolades soient alignées ey que ce que les instructions entre les accolades soient davantage décalées.

  • Board (Carte) :

Sélectionne la carte Arduino que vous utilisez. Voir ci-dessous pour la descriptions des différentes cartes.

  • Serial Port (Port Série) :

Ce menu contient tous les ports séries (réels ou virtuels) présents sur votre ordinateur. Il est automatiquement mis à jour à chaque fois que vous ouvrez le niveau supérieur du menu outils.

  • Burn Bootloader (Graver le bootloader) :

Cette fonctionnalité vous permet de graver le bootloader dans le microcontrôleur sur une carte Arduino. Ceci n'est pas nécessaire pour une utilisation normale de votre carte Arduino (le bootloader est déjà gravé dans votre carte quand vous l'achetez) mais peut être utile si vous achetez un nouvel ATmega (qui sera normalement livré sans bootloader). Assurer vous que vous avez sélectionné la carte correcte dans le menu Boards avant de graver le booloader. Si vous utilisez un AVR ISP, vous devez sélectionner l'item correspondant à votre programmeur dans le menu Serial Port.

February 20, 2010, at 01:20 AM by Webmaster -
Changed lines 139-140 from:

(:CELL valign=middle align=center width=25%:)

to:

(:CELL valign=middle align=center width=250px:)

Changed line 143 from:

(:CELL width=75%:)

to:

(:CELL :)

Changed lines 148-149 from:

(:CELLNR valign=middle align=center width=25%:)

to:

(:CELLNR valign=middle align=center width=250px:)

Changed line 152 from:

(:CELL width=75%:)

to:

(:CELL :)

Changed lines 155-160 from:
  • Copy for forum (copier pour le forum) : Copie le code du programme dans le presse-papier dans un format approprié pour poster sur le forum, avec coloration syntaxique complète.
  • Copy as HTML (copier en tant qu'HTML) : Copie le code de votre programme dans le presse-papier en tant qu'HTML, au format adapté pour être intégré dans des pages web.

(:CELLNR valign=middle align=center width=25%:)

to:
  • Copy for forum (copier pour le forum) :

Copie le code du programme dans le presse-papier dans un format approprié pour poster sur le forum, avec coloration syntaxique complète.

  • Copy as HTML (copier en tant qu'HTML) :

Copie le code de votre programme dans le presse-papier en tant qu'HTML, au format adapté pour être intégré dans des pages web.

(:CELLNR valign=middle align=center width=250px:)

Changed lines 165-166 from:

(:CELL width=75%:)

to:

(:CELL :)

Added line 171:
Added line 174:
Added line 177:
Changed lines 181-182 from:

(:CELLNR valign=middle align=center width=25%:)

to:

(:CELLNR valign=middle align=center width=250px:)

Changed lines 185-187 from:

(:CELL width=75%:)

to:

(:CELL :)

Changed lines 202-203 from:

(:CELLNR valign=middle align=center width=25%:)

to:

(:CELLNR valign=middle align=center width=250px:)

Changed line 206 from:

(:CELL width=75%:)

to:

(:CELL :)

February 20, 2010, at 01:17 AM by Webmaster -
Changed lines 186-187 from:
      This formats your code nicely: i.e. indents it so that opening and closing curly braces line up, and that the statements instead curly braces are indented more.
to:

This formats your code nicely: i.e. indents it so that opening and closing curly braces line up, and that the statements instead curly braces are indented more.

Changed lines 189-190 from:
      Select the board that you're using. See below for descriptions of the various boards.
to:

Select the board that you're using. See below for descriptions of the various boards.

Changed lines 192-193 from:
      This menu contains all the serial devices (real or virtual) on your machine. It should automatically refresh every time you open the top-level tools menu.
to:

This menu contains all the serial devices (real or virtual) on your machine. It should automatically refresh every time you open the top-level tools menu.

Changed line 195 from:
      The items in this menu allow you to burn a bootloader onto the microcontroller on an Arduino board. This is not required for normal use of an Arduino board but is useful if you purchase a new ATmega (which normally come without a bootloader). Ensure that you've selected the correct board from the Boards menu before burning the bootloader. When using an AVR ISP, you'll need to select the item corresponding to your programmer from the Serial Port menu. 
to:

The items in this menu allow you to burn a bootloader onto the microcontroller on an Arduino board. This is not required for normal use of an Arduino board but is useful if you purchase a new ATmega (which normally come without a bootloader). Ensure that you've selected the correct board from the Boards menu before burning the bootloader. When using an AVR ISP, you'll need to select the item corresponding to your programmer from the Serial Port menu.

February 20, 2010, at 01:15 AM by Webmaster -
Changed lines 155-160 from:
  • Copy for forum (copier pour le forum)

Copie le code du programme dans le presse-papier dans un format approprié pour poster sur le forum, avec coloration syntaxique complète.

  • Copy as HTML (copier en tant qu'HTML)

Copie le code de votre programme dans le presse-papier en tant qu'HTML, au format adapté pour être intégré dans des pages web.

to:
  • Copy for forum (copier pour le forum) : Copie le code du programme dans le presse-papier dans un format approprié pour poster sur le forum, avec coloration syntaxique complète.
  • Copy as HTML (copier en tant qu'HTML) : Copie le code de votre programme dans le presse-papier en tant qu'HTML, au format adapté pour être intégré dans des pages web.
Changed line 169 from:
  • Import Library (Importer la librairie) :
to:
  • Import Library (Importer la librairie) :
Changed line 171 from:
  • Show Sketch Folder (Montrer le répertoire du programme)
to:
  • Show Sketch Folder (Montrer le répertoire du programme) :
Changed line 173 from:
  • Add File... (Ajouter un fichier
to:
  • Add File... (Ajouter un fichier) :
Changed line 185 from:
    * Auto Format
to:
  • Auto Format
Changed line 188 from:
    * Board
to:
  • Board
Changed line 191 from:
    * Serial Port
to:
  • Serial Port
Changed line 194 from:
    * Burn Bootloader
to:
  • Burn Bootloader
Added line 205:
February 20, 2010, at 01:13 AM by Webmaster -
Changed line 143 from:

(:CELL :)

to:

(:CELL width=75%:)

Changed line 152 from:

(:CELL :)

to:

(:CELL width=75%:)

Changed lines 165-166 from:

(:CELL :)

to:

(:CELL width=75%:)

Changed lines 182-184 from:

(:CELL :)

to:

(:CELL width=75%:)

Changed line 203 from:

(:CELL:)

to:

(:CELL width=75%:)

February 20, 2010, at 01:11 AM by Webmaster -
Changed lines 138-139 from:

(:CELL valign=middle align=center width=250px:)

to:

(:CELL valign=middle align=center width=25%:)

Changed lines 148-149 from:

(:CELLNR valign=middle align=center width=250px:)

to:

(:CELLNR valign=middle align=center width=25%:)

Changed lines 161-162 from:

(:CELLNR valign=middle align=center width=250px:)

to:

(:CELLNR valign=middle align=center width=25%:)

Changed lines 178-179 from:

(:CELLNR valign=middle align=center width=250px:)

to:

(:CELLNR valign=middle align=center width=25%:)

Changed line 199 from:

(:CELLNR valign=middle align=center width=250px:)

to:

(:CELLNR valign=middle align=center width=25%:)

February 20, 2010, at 01:08 AM by Webmaster -
Changed lines 56-57 from:

Vérifie le code à la recherche d'erreur et compile le code.

to:

Vérifie le code à la recherche d'erreur.

Changed lines 142-144 from:

(:CELL valign=middle:) Menu File :

to:

(:CELL :) Menu File :

Deleted line 146:
Changed lines 151-161 from:

(:CELL valign=middle:)

Edit

    * Copy for Discourse
      Copies the code of your sketch to the clipboard in a forum suitable for posting to the forum, complete with syntax coloring.

    * Copy as HTML
      Copies the code of your sketch to the clipboard as HTML, suitable for embedding in web pages. 
to:

(:CELL :) Menu Edit :

  • Copy for forum (copier pour le forum)

Copie le code du programme dans le presse-papier dans un format approprié pour poster sur le forum, avec coloration syntaxique complète.

  • Copy as HTML (copier en tant qu'HTML)

Copie le code de votre programme dans le presse-papier en tant qu'HTML, au format adapté pour être intégré dans des pages web.

Changed lines 164-179 from:

(:CELL valign=middle:)

Sketch

    * Verify/Compile
      Checks your sketch for errors.

    * Import Library
      Adds a library to your sketch by inserting #include statements at the code of your code. For more details, see libraries below.

    * Show Sketch Folder
      Opens the sketch folder on the desktop.

    * Add File...
      Adds a source file to the sketch (it will be copied from its current location). The new file appears in a new tab in the sketch window. Files can be removed from the sketch using the tab menu. 
to:

(:CELL :)

Menu Sketch:

  • Verify/Compile (Vérifier/compiler) :

Vérifie le code à la recherche d'erreurs

  • Import Library (Importer la librairie) :

Ajoute une librairie à votre programme en insérant l'instruction #include dans votre code. Pour plus de détails, voir "librairies" ci-dessous.

  • Show Sketch Folder (Montrer le répertoire du programme)

Ouvre le répertoire courant du programme sur votre bureau

  • Add File... (Ajouter un fichier

Ajoute un fichier source à votre programme (il sera copier à partir de sa localisation courante. Le nouveau fichier apparaît dans un nouvel onglet dans la fenêtre d'édition. Les fichiers peuvent être retirés du programme en utilisant le menu "tab".

Changed lines 181-183 from:

(:CELL valign=middle:)

to:

(:CELL :)

Changed line 202 from:

(:CELL valign=middle:)

to:

(:CELL:)

Added line 206:

(:TABLEEND:)

February 20, 2010, at 12:55 AM by Webmaster -
Changed lines 140-141 from:
to:
Added lines 143-154:

Menu File :

  • Propose toutes les fonctionnalités usuelles pour gérer les fichiers.

(:CELLNR valign=middle align=center width=250px:)

(:CELL valign=middle:)

Added lines 163-168:

(:CELLNR valign=middle align=center width=250px:)

(:CELL valign=middle:)

Added lines 183-189:

(:CELLNR valign=middle align=center width=250px:)

(:CELL valign=middle:)

Added lines 203-211:

(:CELLNR valign=middle align=center width=250px:)

(:CELL valign=middle:) Menu Help

  • Propose tout ce qui peut être utile pour être aidé lors de l'écriture des programmes, notamment un lien vers la référence du langage en anglais.
February 20, 2010, at 12:50 AM by Webmaster -
Changed lines 127-128 from:

Additional commands are found within the five menus: File, Edit, Sketch, Tools, Help. The menus are context sensitive which means only those items relevant to the work currently being carried out are available.

to:

Des commandes complémentaires sont disponible dans cinq menus :

  • File (Fichier),
  • Edit (Editer),
  • Sketch (Programme ou Séquence),
  • Tools (Outils),
  • Help (Aide),

Le menu est sensible au contexte ce qui signifie que seulement les items correspondant au travail en cours sont disponibles.

(:TABLE width=80%:) (:CELL valign=middle align=center width=250px:)

(:CELL valign=middle:)

February 20, 2010, at 12:35 AM by Webmaster -
Changed lines 45-47 from:
to:
Changed lines 64-66 from:

Stop Stops the serial monitor, or unhighlight other buttons.

to:

Stop : Stoppe le moniteur série ou les autres boutons activés.

Changed lines 74-76 from:

New Creates a new sketch.

to:

Nouveau : Crée un nouveau code (ouvre une fenêtre d'édition vide)

Changed lines 84-88 from:

Open Presents a menu of all the sketches in your sketchbook. Clicking one will open it within the current window.

Note: due to a bug in Java, this menu doesn't scroll; if you need to open a sketch late in the list, use the File | Sketchbook menu instead.

to:

Ouvrir : Ouvre la liste de tous les programmes dans votre "livre de programmes". Cliquer sur l'un des programmes l'ouvre dans la fenêtre courante.

Note: en raison d'un bug dans Java, ce menu ne défile pas. Si vous avez besoin d'ouvrir un programme loin dans la list, utiliser plutôt le menu File > Sketchbook.

Changed lines 98-100 from:

Save Saves your sketch.

to:

Sauver : Enregistre votre programme.

Changed lines 108-110 from:

Upload to I/O Board Compiles your code and uploads it to the Arduino I/O board. See uploading below for details.

to:

Transférer vers la carte : Compile votre code et le transfère vers la carte Arduino. Voir ci-dessous "Transférer les programmes" pour les détails.

Changed lines 118-120 from:

Serial Monitor Opens the serial monitor.

to:

Moniteur Série : Ouvre la fenêtre du moniteur (ou terminal) série.

Added lines 122-124:
February 20, 2010, at 12:17 AM by Webmaster -
Changed line 56 from:

Vérifier/compiler\\

to:

Vérifier/compiler :

Changed lines 59-60 from:

(:CELLNR width=150px valign=middle align=center:)

to:

(:CELLNR width=100px valign=middle align=center:)

Changed lines 69-71 from:

(:CELLNR width=150px valign=middle align=center:)

to:

(:CELLNR width=100px valign=middle align=center:)

Added lines 79-82:

(:CELL valign=middle :)

Changed lines 84-86 from:

(:CELL valign=middle :)

to:
Added lines 92-94:
Added lines 105-107:
Added lines 115-116:
February 20, 2010, at 12:15 AM by Webmaster -
Changed line 56 from:

Vérifier/compiler

to:

Vérifier/compiler\\

February 20, 2010, at 12:13 AM by Webmaster -
Changed lines 50-51 from:

(:CELL width=150px valign=middle align=center:)

to:

(:CELL width=100px valign=middle align=center:)

Changed lines 55-56 from:

Verify/Compile Checks your code for errors.

to:

Vérifier/compiler Vérifie le code à la recherche d'erreur et compile le code.

February 20, 2010, at 12:09 AM by Webmaster -
Added lines 44-46:
February 19, 2010, at 11:51 PM by Webmaster -
Changed lines 45-48 from:

(:TABLE width=50%:)

(:CELL width=200px valign=middle align=center:)

to:

(:TABLE width=80%:)

(:CELL width=150px valign=middle align=center:)

Changed line 53 from:

(:CELLNR width=200px valign=middle align=center:)

to:

(:CELLNR width=150px valign=middle align=center:)

Changed line 61 from:

(:CELLNR width=200px valign=middle align=center:)

to:

(:CELLNR width=150px valign=middle align=center:)

Changed line 68 from:

(:CELLNR width=200px valign=middle align=center:)

to:

(:CELLNR width=150px valign=middle align=center:)

Changed line 78 from:

(:CELLNR width=200px valign=middle align=center:)

to:

(:CELLNR width=150px valign=middle align=center:)

Changed line 88 from:

(:CELLNR width=200px valign=middle align=center:)

to:

(:CELLNR width=150px valign=middle align=center:)

Changed line 95 from:

(:CELLNR width=200px valign=middle align=center:)

to:

(:CELLNR width=150px valign=middle align=center:)

February 19, 2010, at 11:50 PM by Webmaster -
Changed lines 47-49 from:

(:CELL valign=middle align=center:)

(:CELL valign=middle align=center:)

to:

(:CELL width=200px valign=middle align=center:)

(:CELL valign=middle :)

Changed line 53 from:

(:CELLNR valign=middle align=center:)

to:

(:CELLNR width=200px valign=middle align=center:)

Changed lines 55-56 from:

(:CELL valign=middle align=center:)

to:

(:CELL valign=middle :)

Changed line 61 from:

(:CELLNR valign=middle align=center:)

to:

(:CELLNR width=200px valign=middle align=center:)

Changed lines 63-64 from:

(:CELL valign=middle align=center:)

to:

(:CELL valign=middle :)

Changed line 68 from:

(:CELLNR valign=middle align=center:)

to:

(:CELLNR width=200px valign=middle align=center:)

Changed line 70 from:

(:CELL valign=middle align=center:)

to:

(:CELL valign=middle :)

Changed line 78 from:

(:CELLNR valign=middle align=center:)

to:

(:CELLNR width=200px valign=middle align=center:)

Changed lines 80-81 from:

(:CELL valign=middle align=center:)

to:

(:CELL valign=middle :)

Changed line 88 from:

(:CELLNR valign=middle align=center:)

to:

(:CELLNR width=200px valign=middle align=center:)

Changed lines 90-91 from:

(:CELL valign=middle align=center:)

to:

(:CELL valign=middle :)

Changed line 95 from:

(:CELLNR valign=middle align=center:)

to:

(:CELLNR width=200px valign=middle align=center:)

Changed line 97 from:

(:CELL valign=middle align=center:)

to:

(:CELL valign=middle :)

Added line 104:
February 19, 2010, at 11:47 PM by Webmaster -
Deleted lines 8-9:
Changed lines 28-29 from:
  • un TERMINAL SERIE (fenêtre séparée) qui permet d'afficher des messages textes reçus de la carte Arduino et d'envoyer des caractères vers la carte Arduino. Cette fonctionnalité permet une mise au point facilitée des programmes, permettant d'afficher sur l'ordinateur l'état de variables, de résultats de calculs ou de conversions analogique-numérique : un élément essentiel pour améliorer et corriger ses programmes.
to:
  • un TERMINAL SERIE (fenêtre séparée) qui permet d'afficher des messages textes reçus de la carte Arduino et d'envoyer des caractères vers la carte Arduino. Cette fonctionnalité permet une mise au point facilitée des programmes, permettant d'afficher sur l'ordinateur l'état de variables, de résultats de calculs ou de conversions analogique-numérique : un élément essentiel pour améliorer, tester et corriger ses programmes.
Changed lines 35-39 from:
  • Ces programmes sont écrits dans l'éditeur de texte. Celui-ci a les fonctionnalités usuelles de copier/coller et de rechercher/remplacer le texte.
  • la zone de messages donne l'état de l'opération en cours lors des sauvegardes, des exportation et affiche également les erreurs.
  • La console affiche les messages produit par le logiciel Arduino incluant des messages d'erreur détaillés et autres informations utiles.
  • la barre de boutons vous permet de vérifier la syntaxe et de transférer les programmes, créer, ouvrir et sauver votre code, et ouvrir le moniteur série.
to:
  • Ces programmes sont écrits dans l'éditeur de texte. Celui-ci a les fonctionnalités usuelles de copier/coller et de rechercher/remplacer le texte.
  • la zone de messages donne l'état de l'opération en cours lors des sauvegardes, des exportation et affiche également les erreurs.
  • La console texte affiche les messages produit par le logiciel Arduino incluant des messages d'erreur détaillés et autres informations utiles.
  • la barre de boutons vous permet de vérifier la syntaxe et de transférer les programmes, créer, ouvrir et sauver votre code, et ouvrir le moniteur série.
  • la barre des menus vous permet d'accèder à toutes les fonctionnalités du logiciel Arduino.
Added lines 45-49:

(:TABLE width=50%:)

(:CELL valign=middle align=center:)

(:CELL valign=middle align=center:)

Added line 53:

(:CELLNR valign=middle align=center:)

Changed lines 55-56 from:
to:

(:CELL valign=middle align=center:)

Changed lines 61-64 from:
to:

(:CELLNR valign=middle align=center:)

(:CELL valign=middle align=center:)

Added line 68:

(:CELLNR valign=middle align=center:)

Changed lines 70-72 from:
to:

(:CELL valign=middle align=center:)

Added line 78:

(:CELLNR valign=middle align=center:)

Changed lines 80-83 from:
to:

(:CELL valign=middle align=center:)

Changed lines 88-91 from:
to:

(:CELLNR valign=middle align=center:)

(:CELL valign=middle align=center:)

Added line 95:

(:CELLNR valign=middle align=center:)

Changed lines 97-99 from:
to:

(:CELL valign=middle align=center:)

Added line 103:

(:TABLEEND:)

February 19, 2010, at 11:42 PM by Webmaster -
Changed line 23 from:
  • un EDITEUR (à coloration syntaxique) pour écrire le code de vos programme,
to:
  • un EDITEUR (à coloration syntaxique) pour écrire le code de vos programme, avec onglets de navigation,
Added lines 31-32:
February 19, 2010, at 11:25 PM by Webmaster -
Added lines 26-27:
February 19, 2010, at 01:09 PM by Webmaster -
Changed lines 32-36 from:

Software written using Arduino are called sketches.

  • These sketches are written in the text editor. It has features for cutting/pasting and for searching/replacing text.
  • The message area gives feedback while saving and exporting and also displays errors.
  • The console displays text output by the Arduino environment including complete error messages and other information.
  • The toolbar buttons allow you to verify and upload programs, create, open, and save sketches, and open the serial monitor:
to:

Le code écrit avec le logiciel Arduino est appelé un programme (ou une séquence - sketch en anglais) :

  • Ces programmes sont écrits dans l'éditeur de texte. Celui-ci a les fonctionnalités usuelles de copier/coller et de rechercher/remplacer le texte.
  • la zone de messages donne l'état de l'opération en cours lors des sauvegardes, des exportation et affiche également les erreurs.
  • La console affiche les messages produit par le logiciel Arduino incluant des messages d'erreur détaillés et autres informations utiles.
  • la barre de boutons vous permet de vérifier la syntaxe et de transférer les programmes, créer, ouvrir et sauver votre code, et ouvrir le moniteur série.
February 19, 2010, at 12:24 PM by Webmaster -
Changed lines 26-28 from:
  • un TERMINAL SERIE (fenêtre séparée) qui permet d'afficher des messages textes reçus de la carte Arduino et d'envoyer des caractères vers la carte Arduino.
to:

Le logiciel Arduino intègre également :

  • un TERMINAL SERIE (fenêtre séparée) qui permet d'afficher des messages textes reçus de la carte Arduino et d'envoyer des caractères vers la carte Arduino. Cette fonctionnalité permet une mise au point facilitée des programmes, permettant d'afficher sur l'ordinateur l'état de variables, de résultats de calculs ou de conversions analogique-numérique : un élément essentiel pour améliorer et corriger ses programmes.
February 19, 2010, at 12:21 PM by Webmaster -
Changed lines 25-26 from:
  • une "'CONSOLE TEXTE"' qui affiche les messages concernant le résultat de la compilation du programme
  • un '"TERMINAL SERIE"' (fenêtre séparée) qui permet d'afficher des messages textes reçus de la carte Arduino et d'envoyer des caractères vers la carte Arduino.
to:
  • une CONSOLE TEXTE qui affiche les messages concernant le résultat de la compilation du programme
  • un TERMINAL SERIE (fenêtre séparée) qui permet d'afficher des messages textes reçus de la carte Arduino et d'envoyer des caractères vers la carte Arduino.
February 19, 2010, at 12:20 PM by Webmaster -
Changed lines 25-26 from:
  • une "CONSOLE TEXTE" qui affiche les messages concernant le résultat de la compilation du programme
  • un "TERMINAL SERIE" (fenêtre séparée) qui permet d'afficher des messages textes reçus de la carte Arduino et d'envoyer des caractères vers la carte Arduino.
to:
  • une "'CONSOLE TEXTE"' qui affiche les messages concernant le résultat de la compilation du programme
  • un '"TERMINAL SERIE"' (fenêtre séparée) qui permet d'afficher des messages textes reçus de la carte Arduino et d'envoyer des caractères vers la carte Arduino.
February 19, 2010, at 12:16 PM by Webmaster -
Changed lines 15-28 from:

The Arduino development environment contains a text editor for writing code, a message area, a text console, a toolbar with buttons for common functions, and a series of menus. It connects to the Arduino hardware to upload programs and communicate with them.

to:

Le logiciel Arduino a pour fonctions principales :

  • de pouvoir écrire et compiler des programmes pour la carte Arduino
  • de se connecter avec la carte Arduino pour y transférer les programmes
  • de communiquer avec la carte Arduino

Cet espace de développement intégré (EDI) dédié au langage Arduino et à la programmation des cartes Arduino comporte :

  • une BARRE DE MENUS comme pour tout logiciel une interface graphique (GUI),
  • une BARRE DE BOUTONS qui donne un accès direct aux fonctions essentielles du logiciel et fait toute sa simplicité d'utilisation,
  • un EDITEUR (à coloration syntaxique) pour écrire le code de vos programme,
  • une ZONE DE MESSAGES qui affiche indique l'état des actions en cours,
  • une "CONSOLE TEXTE" qui affiche les messages concernant le résultat de la compilation du programme
  • un "TERMINAL SERIE" (fenêtre séparée) qui permet d'afficher des messages textes reçus de la carte Arduino et d'envoyer des caractères vers la carte Arduino.

Principe général d'utilisation

February 19, 2010, at 11:50 AM by Webmaster -
Changed lines 13-14 from:

Description

to:

Description

Changed lines 23-24 from:

Description de la barre des boutons

to:

Description de la barre des boutons

Changed line 60 from:

Description des menus

to:

Description des menus

Changed lines 99-100 from:

Sketchbook

to:

Sketchbook

Changed lines 103-104 from:

Tabs, Multiple Files, and Compilation

to:

Tabs, Multiple Files, and Compilation

Changed lines 107-108 from:

Uploading

to:

Uploading

Changed lines 115-116 from:

Libraries

to:

Libraries

Changed lines 121-122 from:

Third-Party Hardware

to:

Third-Party Hardware

Changed lines 127-128 from:

Serial Monitor

to:

Serial Monitor

Changed lines 133-134 from:

Preferences

to:

Preferences

Changed line 137 from:

Boards

to:

Boards

February 19, 2010, at 11:43 AM by Webmaster -
Added lines 11-12:
Changed lines 17-20 from:

Software written using Arduino are called sketches. These sketches are written in the text editor. It has features for cutting/pasting and for searching/replacing text. The message area gives feedback while saving and exporting and also displays errors. The console displays text output by the Arduino environment including complete error messages and other information. The toolbar buttons allow you to verify and upload programs, create, open, and save sketches, and open the serial monitor:

to:

Software written using Arduino are called sketches.

  • These sketches are written in the text editor. It has features for cutting/pasting and for searching/replacing text.
  • The message area gives feedback while saving and exporting and also displays errors.
  • The console displays text output by the Arduino environment including complete error messages and other information.
  • The toolbar buttons allow you to verify and upload programs, create, open, and save sketches, and open the serial monitor:

Description de la barre des boutons

Added line 60:

Description des menus

Changed lines 99-100 from:

Sketchbook

to:

Sketchbook

Changed lines 103-104 from:

Tabs, Multiple Files, and Compilation

to:

Tabs, Multiple Files, and Compilation

Changed lines 107-108 from:

Uploading

to:

Uploading

Changed lines 115-116 from:

Libraries

to:

Libraries

Changed lines 121-122 from:

Third-Party Hardware

to:

Third-Party Hardware

Changed lines 127-128 from:

Serial Monitor

to:

Serial Monitor

Changed lines 133-134 from:

Preferences

to:

Preferences

Changed lines 137-138 from:

Boards

to:

Boards

Added lines 176-177:

Changed lines 181-182 from:

Aucun commentaire

to:
  • Ecrit en Java, le logiciel Arduino est multi-plateforme et open-source.
February 19, 2010, at 11:34 AM by Webmaster -
Changed line 7 from:
to:
February 19, 2010, at 11:31 AM by Webmaster -
Added lines 6-8:
February 19, 2010, at 11:28 AM by Webmaster -
Added lines 1-5:

(:notitle:) (:include HautPageDebuter:)

Le Logiciel Arduino : Espace de développement Intégré (EDI) Arduino


Added lines 7-172:

Description

The Arduino development environment contains a text editor for writing code, a message area, a text console, a toolbar with buttons for common functions, and a series of menus. It connects to the Arduino hardware to upload programs and communicate with them.

Software written using Arduino are called sketches. These sketches are written in the text editor. It has features for cutting/pasting and for searching/replacing text. The message area gives feedback while saving and exporting and also displays errors. The console displays text output by the Arduino environment including complete error messages and other information. The toolbar buttons allow you to verify and upload programs, create, open, and save sketches, and open the serial monitor:

Verify/Compile Checks your code for errors.

Stop Stops the serial monitor, or unhighlight other buttons.

New Creates a new sketch.

Open Presents a menu of all the sketches in your sketchbook. Clicking one will open it within the current window.

Note: due to a bug in Java, this menu doesn't scroll; if you need to open a sketch late in the list, use the File | Sketchbook menu instead.

Save Saves your sketch.

Upload to I/O Board Compiles your code and uploads it to the Arduino I/O board. See uploading below for details.

Serial Monitor Opens the serial monitor.

Additional commands are found within the five menus: File, Edit, Sketch, Tools, Help. The menus are context sensitive which means only those items relevant to the work currently being carried out are available.

Edit

    * Copy for Discourse
      Copies the code of your sketch to the clipboard in a forum suitable for posting to the forum, complete with syntax coloring.

    * Copy as HTML
      Copies the code of your sketch to the clipboard as HTML, suitable for embedding in web pages. 

Sketch

    * Verify/Compile
      Checks your sketch for errors.

    * Import Library
      Adds a library to your sketch by inserting #include statements at the code of your code. For more details, see libraries below.

    * Show Sketch Folder
      Opens the sketch folder on the desktop.

    * Add File...
      Adds a source file to the sketch (it will be copied from its current location). The new file appears in a new tab in the sketch window. Files can be removed from the sketch using the tab menu. 

Tools

    * Auto Format
      This formats your code nicely: i.e. indents it so that opening and closing curly braces line up, and that the statements instead curly braces are indented more.

    * Board
      Select the board that you're using. See below for descriptions of the various boards.

    * Serial Port
      This menu contains all the serial devices (real or virtual) on your machine. It should automatically refresh every time you open the top-level tools menu.

    * Burn Bootloader
      The items in this menu allow you to burn a bootloader onto the microcontroller on an Arduino board. This is not required for normal use of an Arduino board but is useful if you purchase a new ATmega (which normally come without a bootloader). Ensure that you've selected the correct board from the Boards menu before burning the bootloader. When using an AVR ISP, you'll need to select the item corresponding to your programmer from the Serial Port menu. 

Sketchbook

The Arduino environment includes the concept of a sketchbook: a standard place to store your programs (or sketches). The sketches in your sketchbook can be opened from the File > Sketchbook menu or from the Open button on the toolbar. The first time you run the Arduino software, it will automatically create a directory for your sketchbook. You can view or change the location of the sketchbook location from with the Preferences dialog.

Tabs, Multiple Files, and Compilation

Allows you to manage sketches with more than one file (each of which appears in its own tab). These can be normal Arduino code files (no extension), C files (.c extension), C++ files (.cpp), or header files (.h).

Uploading

Before uploading your sketch, you need to select the correct items from the Tools > Board and Tools > Serial Port menus. The boards are described below. On the Mac, the serial port is probably something like /dev/tty.usbserial-1B1 (for a USB board), or /dev/tty.USA19QW1b1P1.1 (for a serial board connected with a Keyspan USB-to-Serial adapter). On Windows, it's probably COM1 or COM2 (for a serial board) or COM4, COM5, COM7, or higher (for a USB board) - to find out, you look for USB serial device in the ports section of the Windows Device Manager. On Linux, it should be /dev/ttyUSB0, /dev/ttyUSB1 or similar.

Once you've selected the correct serial port and board, press the upload button in the toolbar or select the Upload to I/O Board item from the File menu. Current Arduino boards will reset automatically and begin the upload. With older boards that lack auto-reset, you'll need to press the reset button on the board just before starting the upload. On most boards, you'll see the RX and TX LEDs blink as the sketch is uploaded. The Arduino environment will display a message when the upload is complete, or show an error.

When you upload a sketch, you're using the Arduino bootloader, a small program that has been loaded on to the microcontroller on your board. It allows you to upload code without using any additional hardware. The bootloader is active for a few seconds when the board resets; then it starts whichever sketch was most recently uploaded to the microcontroller. The bootloader will blink the on-board (pin 13) LED when it starts (i.e. when the board resets).

Libraries

Libraries provide extra functionality for use in sketches, e.g. working with hardware or manipulating data. To use a library in a sketch, select it from the Sketch > Import Library menu. This will insert one or more #include statements at the top of the sketch and compile the library with your sketch. Because libraries are uploaded to the board with your sketch, they increase the amount of space it takes up. If a sketch no longer needs a library, simply delete its #include statements from the top of your code.

There is a list of libraries in the reference. Some libraries are included with the Arduino software. Others can be downloaded from a variety of sources. To install these third-party libraries, create a directory called libraries within your sketchbook directory. Then unzip the library there. For example, to install the DateTime library, its files should be in the /libraries/DateTime sub-folder of your sketchbook folder.

Third-Party Hardware

Support for third-party hardware can be added to the hardware directory of your sketchbook directory. Platforms installed there may include board definitions (which appear in the board menu), core libraries, bootloaders, and programmer definitions. To install, create the hardware directory, then unzip the third-party platform into its own sub-directory. To uninstall, simply delete its directory.

For details on creating packages for third-party hardware, see the platforms page on the Google Code developers site.

Serial Monitor

Displays serial data being sent from the Arduino board (USB or serial board). To send data to the board, enter text and click on the "send" button or press enter. Choose the baud rate from the drop-down that matches the rate passed to Serial.begin in your sketch. Note that on Mac or Linux, the Arduino board will reset (rerun your sketch from the beginning) when you connect with the serial monitor.

You can also talk to the board from Processing, Flash, MaxMSP, etc (see the interfacing page for details).

Preferences

Some preferences can be set in the preferences dialog (found under the Arduino menu on the Mac, or File on Windows and Linux). The rest can be found in the preferences file, whose location is shown in the preference dialog.

Boards

The board selection has two effects: the parameters (e.g. CPU speed and baud rate) used when compiling and uploading sketches; and the file and fuse settings used by the burn bootloader command. Some of the board definitions differ only in the latter, so even if you've been uploading successfully with a particular selection you'll want to check it before burning the bootloader.

    * Arduino Duemilanove or Nano w/ ATmega328
      An ATmega328 running at 16 MHz with auto-reset. Also used for the 16 MHz (5V) versions of the Arduino Pro or Pro Mini with an ATmega328.

    * Arduino Diecimila, Duemilanove, or Nano w/ ATmega168
      An ATmega168 running at 16 MHz with auto-reset. Compilation and upload is equivalent to Arduino NG or older w/ ATmega168, but the bootloader burned has a faster timeout (and blinks the pin 13 LED only once on reset). Also used for the 16 MHz (5V) versions of the Arduino Pro and Pro Mini with an ATmega168.

    * Arduino Mega
      An ATmega1280 running at 16 MHz with auto-reset.

    * Arduino Mini
      Equivalent to Arduino NG or older w/ ATmega168 (i.e. an ATmega168 running at 16 MHz without auto-reset).

    * Arduino BT
      ATmega168 running at 16 MHz. The bootloader burned includes codes to initialize the on-board bluetooth module.

    * LilyPad Arduino w/ ATmega328
      An ATmega328 running at 8 MHz (3.3V) with auto-reset. Equivalent to Arduino Pro or Pro Mini (3.3V, 8 MHz) w/ ATmega328.

    * LilyPad Arduino w/ ATmega168
      An ATmega168 running at 8 MHz. Compilation and upload is equivalent to the Arduino Pro or Pro Mini (8 MHz) w/ ATmega168. The bootloader burned, however, has a slower timeout (and blinks the pin 13 LED three times on reset) because the original versions of the LilyPad didn't support auto-reset. They also didn't include an external clock, so the burn bootloader command configures the fuses of ATmega168 for an internal 8 MHz clock.

      If you have a recent version of the LilyPad, (w/ a 6-pin programming header), you'll want to select Arduino Pro or Pro Mini (8 MHz) w/ ATmega168 before burning the bootloader.

    * Arduino Pro or Pro Mini (3.3V, 8 MHz) w/ ATmega328
      An ATmega328 running at 8 MHz (3.3V) with auto-reset. Equivalent to LilyPad Arduino w/ ATmega328.

    * Arduino Pro or Pro Mini (3.3V, 8 MHz) w/ ATmega168
      An ATmega168 running at 8 MHz (3.3V) with auto-reset.

    * Arduino NG or older w/ ATmega168
      An ATmega168 running at 16 MHz without auto-reset. Compilation and upload is equivalent to Arduino Diecimila or Duemilanove w/ ATmega168, but the bootloader burned has a slower timeout (and blinks the pin 13 LED three times on reset).

    * Arduino NG or older w/ ATmega8
      An ATmega8 running at 16 MHz without auto-reset. 

Commentaires utilisateurs

Aucun commentaire

(:include BasPageDebuter:)

February 19, 2010, at 06:09 AM by Webmaster -
Added line 1: