Difference between revisions of "Arduino: Ethernet Shield Getting Started"

From OnnoWiki
Jump to navigation Jump to search
(New page: Sumber: https://www.arduino.cc/en/Guide/ArduinoEthernetShield Getting Started with the Arduino Ethernet Shield The Arduino Ethernet shield allows an Arduino board to connect to the int...)
 
 
Line 2: Line 2:
  
  
 +
Arduino Ethernet Shield memungkinkan Arduino board untuk terhubung ke internet menggunakan Ethernet library dan untuk membaca dan menulis kartu SD menggunakan SD library.
  
Getting Started with the Arduino Ethernet Shield
+
==Menyambungkan Shield==
  
The Arduino Ethernet shield allows an Arduino board to connect to the internet using the Ethernet library and to read and write an SD card using the SD library.
+
Ethernet Shield di letakan di atas Arduino UNO Board.
 +
Pastikan bagian atas connector USB Arduino UNO di beri selotape hitam
 +
yang biasa digunakan untuk isolator listrik, karena bisa short oleh Ethernet Shield.
  
    1. Connecting the Shield
+
Upload Sketch dilakukan dengan mereset Arduino UNO / Ethernet Shield dan Upload sketch melalui kabel USB yang tersambung ke komputer.
    2. Network Settings
 
    3. SD Card
 
  
1.  Connecting the Shield
+
Sambungkan Ethernet Shield ke komputer atau network hub / router menggunakan kabel ethernet biasa (CAT5 atau CAT6 dengan RJ45 connector).
 
 
To use the shield, mount it on top of an Arduino board (e.g. the Uno). To upload sketches to the board, connect it to your computer with a USB cable as you normally would. Once the sketch has been uploaded, you can disconnect the board from your computer and power it with an external power supply.
 
 
 
Connect the shield to your computer or a network hub or router using a standard ethernet cable (CAT5 or CAT6 with RJ45 connectors). Connecting to a computer may require the use of a cross-over cable (although many computers, including all recent Macs can do the cross-over internally).
 
2.  Network Settings
 
 
 
The shield must be assigned a MAC address and a fixed IP address using the Ethernet.begin() function. A MAC address is a globally unique identifier for a particular device. Current Ethernet shields come with a sticker indicating the MAC address you should use with them. For older shields without a dedicated MAC address, inventing a random one should work, but don't use the same one for multiple boards. Valid IP addresses depend on the configuration of your network. It is possible to use DHCP to dynamically assign an IP to the shield. Optionally, you can also specify a network gateway and subnet.
 
3.  SD Card
 
 
 
The latest revision of the Ethernet Shield includes a micro-SD card slot, which can be interfaced with using the SD library.
 
 
 
The text of the Arduino getting started guide is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the guide are released into the public domain.
 
  
 +
==Setup Network==
  
 +
Ethernet Shield harus diberi MAC addres dan IP address
 +
menggunakan fungsi Ethernet.begin().
  
 +
==SD Card==
  
 +
Versi terbaru Ethernet Shield termasuk slot micro-SD card,
 +
yang dapat digunakan menggunakan library SD.
  
  

Latest revision as of 07:51, 20 November 2015

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


Arduino Ethernet Shield memungkinkan Arduino board untuk terhubung ke internet menggunakan Ethernet library dan untuk membaca dan menulis kartu SD menggunakan SD library.

Menyambungkan Shield

Ethernet Shield di letakan di atas Arduino UNO Board. Pastikan bagian atas connector USB Arduino UNO di beri selotape hitam yang biasa digunakan untuk isolator listrik, karena bisa short oleh Ethernet Shield.

Upload Sketch dilakukan dengan mereset Arduino UNO / Ethernet Shield dan Upload sketch melalui kabel USB yang tersambung ke komputer.

Sambungkan Ethernet Shield ke komputer atau network hub / router menggunakan kabel ethernet biasa (CAT5 atau CAT6 dengan RJ45 connector).

Setup Network

Ethernet Shield harus diberi MAC addres dan IP address menggunakan fungsi Ethernet.begin().

SD Card

Versi terbaru Ethernet Shield termasuk slot micro-SD card, yang dapat digunakan menggunakan library SD.


Referensi