Ethernet W5100 R3 Shields for Arduino UNO R3 , Adds Section Micro-SD Card Slot

 

 

 

 

Description:

 

The latest version adds section micro-SD card slot, with a network storage capabilities. In addition, it and the Arduino Duemilanove, Mega series is also fully compatible. It also has a separate PoE (power-over-Ethernet) modules. The module can be soldered to the motherboard, which is transmitted via twisted pair electricity. It is compliant with IEEE802.3af standard, and is compatible with existing PoE module.

 

 

Specifications:

 

Microcontroller

W5100

Operating Voltage

5V

Input Voltage (recommended)

7-12V

Input Voltage (limits)

6-20V

Digital I/O Pins

14 (of which 4 provide PWM output)

 

Analog Input Pins

6

DC Current per I/O Pin

40 mA

DC Current for 3.3V Pin

50 mA

Flash Memory

32 KB (ATmega328) of which 0.5 KB used by bootloader

SRAM

2 KB (ATmega328)

EEPROM

1 KB (ATmega328)

Clock Speed

16 MHz

 

 

 

 

 

 

Http://www.kuaipan.cn/file/id_121557448606624567.htm

Arduino Ethernet W5100 network expansion module, you can make Arduino a simple Web server or through the network control read and write Arduino digital and analog interfaces and other network applications. You can directly use the IDE in the Ethernet library file can be achieved a simple Web server.

At the same time the version of the support mini SD card (TF card) read and write

The expansion board uses a stackable design, can be directly inserted into the Arduino, while our other expansion board can also be inserted.

*
* Web Server
*
* A simple web server that shows the value of the analog input pins.
*/

 

 

#include

 

byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };
byte ip[] = { 192, 168, 0, 15 };

Server server(80);

void setup()
{
Ethernet.begin(mac, ip);
server.begin();
}

void loop()
{
Client client = server.available();
if (client) {
// an http request ends with a blank line
boolean current_line_is_blank = true;
while (client.connected()) {
if (client.available()) {
char c = client.read();
// if we've gotten to the end of the line (received a newline
// character) and the line is blank, the http request has ended,
// so we can send a reply
if (c == '\n' && current_line_is_blank) {
// send a standard http response header
client.println("HTTP/1.1 200 OK");
client.println("Content-Type: text/html");
client.println();

// output the value of each analog input pin
client.print("welcome to tinyos");
client.println("
");
client.print("//*************************************");
client.println("
");
client.print(www.tinyos.net.cn);
client.println("
");
client.print("//*************************************");
client.println("
");
for (int i = 0; i < 6; i++) {
client.print("analog input ");
client.print(i);
client.print(" is ");
client.print(analogRead(i));
client.println("
");
}
break;
}
if (c == '\n') {
// we're starting a new line
current_line_is_blank = true;
} else if (c != '\r') {
// we've gotten a character on the current line
current_line_is_blank = false;
}
}
}
client.stop();
}
}