Arduino: Ethernet Shield

From OnnoWiki
Revision as of 05:55, 20 November 2015 by Onnowpurbo (talk | contribs)
Jump to navigation Jump to search

Sumber: https://www.arduino.cc/en/Main/ArduinoEthernetShield



Download

Overview

Arduino Ethernet Perisai menghubungkan Arduino Anda ke internet dalam hitungan menit. Hanya plug modul ini ke papan Arduino Anda, hubungkan ke jaringan Anda dengan kabel RJ45 (tidak termasuk) dan mengikuti petunjuk sederhana untuk memulai mengendalikan dunia melalui internet. Seperti biasa dengan Arduino, setiap elemen dari platform - hardware, software dan dokumentasi - tersedia secara bebas dan open source. Ini berarti Anda dapat belajar persis bagaimana itu dibuat dan menggunakan desain sebagai titik awal untuk sirkuit Anda sendiri.

  • Membutuhkan sebuah Arduino board (tidak termasuk)
  • Operating voltage 5V (supplied from the Arduino Board)
  • Ethernet Controller: W5100 dengan internal 16K buffer
  • Connection speed: 10/100Mb
  • Connection dengan Arduino di SPI port

Penjelasan

Arduino Ethernet Shield memungkinkan papan Arduino untuk terhubung ke internet. Hal ini didasarkan pada ethernet chip yang Wiznet W5100 (datasheet). The Wiznet W5100 menyediakan stack jaringan (IP) mampu TCP dan UDP. Mendukung hingga empat koneksi soket simultan. Menggunakan Ethernet library untuk menulis sketch yang terhubung ke internet dengan menggunakan shield. Ethernet shield terhubung ke papan Arduino menggunakan header kawat-wrap panjang yang memperpanjang melalui Shield. Hal ini membuat tata letak pin utuh dan memungkinkan Shield lain yang ditumpuk di atas.

Revisi terbaru dari papan ekspose pinout 1.0 pada rev 3 dari papan Eduino UNO.

Ethernet Shield memiliki standar RJ-45 koneksi, dengan transformator line terpadu dan Power over Ethernet diaktifkan.

Ada slot kartu micro-SD onboard, yang dapat digunakan untuk menyimpan file untuk melayani melalui jaringan. Hal ini kompatibel dengan semua papan Arduino / Genuino. Pembaca kartu micro SD on-board dapat diakses melalui SD library. Ketika bekerja dengan library ini, SS adalah pada Pin 4. Revisi asli dari Shield yang terkandung SD ukuran full-size; ini tidak didukung lagi.The Ethernet Shield memiliki standar RJ-45 koneksi, dengan transformator terpadu dan Power over Ethernet diaktifkan.

The shield also includes a reset controller, to ensure that the W5100 Ethernet module is properly reset on power-up. Previous revisions of the shield were not compatible with the Mega and need to be manually reset after power-up.

The current shield has a Power over Ethernet (PoE) module designed to extract power from a conventional twisted pair Category 5 Ethernet cable:

  • IEEE802.3af compliant
  • Low output ripple and noise (100mVpp)
  • Input voltage range 36V to 57V
  • Overload and short-circuit protection
  • 9V Output
  • High efficiency DC/DC converter: typ 75% @ 50% load
  • 1500V isolation (input to output)

NB: the Power over Ethernet module is proprietary hardware not made by Arduino, it is a third party accessory.

The shield does not come with the PoE module built in, it is a separate component that must be added on.

Arduino communicates with both the W5100 and SD card using the SPI bus (through the ICSP header). This is on digital pins 10, 11, 12, and 13 on the Uno and pins 50, 51, and 52 on the Mega. On both boards, pin 10 is used to select the W5100 and pin 4 for the SD card. These pins cannot be used for general I/O. On the Mega, the hardware SS pin, 53, is not used to select either the W5100 or the SD card, but it must be kept as an output or the SPI interface won't work.

Note that because the W5100 and SD card share the SPI bus, only one can be active at a time. If you are using both peripherals in your program, this should be taken care of by the corresponding libraries. If you're not using one of the peripherals in your program, however, you'll need to explicitly deselect it. To do this with the SD card, set pin 4 as an output and write a high to it. For the W5100, set digital pin 10 as a high output.

The shield provides a standard RJ45 ethernet jack.

The reset button on the shield resets both the W5100 and the Arduino board.

The shield contains a number of informational LEDs:

  • PWR: indicates that the board and shield are powered
  • LINK: indicates the presence of a network link and flashes when the shield transmits or receives data
  • FULLD: indicates that the network connection is full duplex
  • 100M: indicates the presence of a 100 Mb/s network connection (as opposed to 10 Mb/s)
  • RX: flashes when the shield receives data
  • TX: flashes when the shield sends data
  • COLL: flashes when network collisions are detected

The solder jumper marked "INT" can be connected to allow the Arduino board to receive interrupt-driven notification of events from the W5100, but this is not supported by the Ethernet library. The jumper connects the INT pin of the W5100 to digital pin 2 of the Arduino.

See also: getting started with the ethernet shield and Ethernet library reference



Referensi