EZ-LINK-Programmer-Arduino

De MCHobby - Wiki
Sauter à la navigation Sauter à la recherche


MCHobby investit du temps et de l'argent dans la réalisation de traduction et/ou documentation. C'est un travail long et fastidieux réalisé dans l'esprit Open-Source... donc gratuit et librement accessible.
SI vous aimez nos traductions et documentations ALORS aidez nous à en produire plus en achetant vos produits chez MCHobby.

Intro

EZ-LINK-02.jpg
Crédit: AdaFruit Industries www.adafruit.com

A la différence des autre modules Bluetooth, vous pouvez utiliser l'EZ-Link pour programmer un Arduino. Si cela est rendu possible c'est parce que l'EZ-Link est capable de changer dynamiquement le débi et qu'il sait envoyer le un signal DTR vers l'Arduino depuis Arduino IDE par l'intermédiaire de la liaison bluetooth. Ces deux caractéristiques sont requises si vous voulez être capable de rapidement changer le signal à 115.2K pour faire le téléversement et de basculer la ligne DTR.

Cette technique à testée sur Mac OS X et Windows 7 mais devrait aussi fonctionner à l'identique avec d'autre OS.

Vous pouvez également utiliser toutes les version d'Arduino IDE avec cette technique, le connexion via Bluetooth est totalement transparente pour le logiciel.

Avant de commencer

You will need to first be paired to the module, and ideally go through the loopback test so you know that's all working!

Branchement

Wire up the EZ-Link to the Arduino as follows, we'll be using an Uno but the wiring is the same for another kind of Arduino/Compatible.

Connect:

  • EZ-Link GND to Arduino GND
  • EZ-Link DSR to GND (or no connect)
  • EZ-Link Vin to Arduino 5V (or any other 3-16V power input, 5V is ideal)
  • EZ-Link TX to Arduino #0 (RX)
  • EZ-Link RX to Arduino #1 (TX)
  • EZ-Link DTR to a 1µF capacitor in series with Arduino Reset (The cap is in series, so Reset goes to the capacitor +, and capacitor - goes to DTR)

EZ-LINK-Programmer-Arduino-10.jpg
Crédit: AdaFruit Industries www.adafruit.com

If you're using an Arduino compatible such as a Mini or Boarduino (or any of the other hundreds of Arduino-compat's), chances are it has an FTDI connector on it. You can plug the EZ-Link directly in, the GND pin lines up with the Black wire, and the DTR pin lines up with the Green wire. No other components are required

EZ-LINK-Programmer-Arduino-11.jpg
Crédit: AdaFruit Industries www.adafruit.com

Upload

That's it! Now you can open up the Arduino IDE and select the COM/Serial port that you identified as the EZ-Link. If you open and close the Serial Monitor you should see the Arduino reset (the L pin #13 LED will blink)

If you're using Windows, the Arduino IDE might be a little sluggish while selecting the Bluetooth COM port, this is due to a bug in the underlying Java RX/TX library. You can fix it by following the instructions in this Arduino forum post


Tutoriel Introducing Bluefruit EZ-Link créé par LadyAda pour AdaFruit Industries.

Traduit avec l'autorisation d'AdaFruit Industries - Translated with the permission from Adafruit Industries - www.adafruit.com

Toute référence, mention ou extrait de cette traduction doit être explicitement accompagné du texte suivant : «  Traduction par MCHobby (www.MCHobby.be) - Vente de kit et composants » avec un lien vers la source (donc cette page) et ce quelque soit le média utilisé.

L'utilisation commercial de la traduction (texte) et/ou réalisation, même partielle, pourrait être soumis à redevance. Dans tous les cas de figures, vous devez également obtenir l'accord du(des) détenteur initial des droits. Celui de MC Hobby s'arrêtant au travail de traduction proprement dit.