Étape 2: Bouclier de mise à jour Arduino Ethernet pour wiz550io
Nous allons utiliser un bouclier Arduino et ethernet comme un « serveur Iperf »
There are many arduino eithernet shield and I have several ethernet shield. I decide to use a wiz550io as a Arduino ethernet shield because it is a newest ethernet shield of Wiznet and have a more good network performance than original one.
Par-dessus tout, nous devons mettre à jour la bibliothèque Ethernet pour utiliser un wiz550io pour shield Arduino ethernet.
1. Télécharger la bibliothèque WIZnet Ethernet
https://github.com/Wiznet/WIZ_Ethernet_Library
Il y a un « Télécharger ZIP » qui télécharge tout dans un seul fichier peu soigné.
-----
2. copier le dossier Ethernet dans le dossier bibliothèques Arduino. (Remplacer la bibliothèque ethernet intégrée)
[note] Il existe deux versions du dossier Ethernet, selon la version de votre IDE Arduino.
-----
3. vérifier le Code
Dans le dossier bibliothèques/Ethernet/utilitaire , ouvrez w5100.h et vérifiez que seule la ligne #define correct 1 est sans commentaire. Pour Wiz550io, il ressemble à ci-dessous et comme une image.
//#define W5100_ETHERNET_SHIELD // Arduino Ethernet Shield and Compatibles ...//#define W5200_ETHERNET_SHIELD // WIZ820io, W5200 Ethernet Shield#define W5500_ETHERNET_SHIELD // WIZ550io, ioShield series of WIZnet