2pcs/1pc W5500 USR-ES1 SPI to LAN Ethernet Converter Board Module TCP IP 51 STM32 Microcontroller WIZ820io RC5 W5100 For Arduino
SPECIFICATIONS
Application: Computer
Brand Name: Your Cee
Condition: New
Dissipation Power: low
High-concerned chemical: none
Operating Temperature: normal
Origin: Mainland China
Package: TQFP
Supply Voltage: standard
Type: Module
is_customized: Yes


Pin Function:



The Ethernet W5100 network expansion module enables the For Arduino to function as a simple web server or control network applications such as reading and writing to the For Arduino digital and analog interfaces over the network. A simple web server can be implemented directly using the Ethernet library included in the IDE.
This version also supports reading and writing to mini SD cards (TF cards).
This expansion board features a stackable design and can be directly plugged into the For Arduino, along with our other expansion boards.
Code:
#include <SPI.h>
/*
* Web Server
*
* A simple web server that shows the value of the analog input pins.
*/
#include <Ethernet.h>
byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };
byte ip[] = { 192, 168, 1, 15 };
EthernetServer server(80);
void setup()
{
Ethernet.begin(mac, ip);
server.begin();
}
void loop()
{
EthernetClient 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 electronics");
client.println("<br />");
client.print("//*************************************");
client.println("<br />");
client.print("");
client.println("<br />");
client.print("//*************************************");
client.println("<br />");
for (int i = 0; i < 6; i++) {
client.print("analog input ");
client.print(i);
client.print(" is ");
client.print(analogRead(i));
client.println("<br />");
}
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();
}
}

- Standard Shipping: Standard Shipping (12–18 Business Days)
- Express Shipping: Expedited Shipping (5–9 Business Days)
- Free Shipping: Orders over $199 qualify automatically
- Tracking: Full tracking number provided for all orders
- Returns: 30-day hassle-free return window
- Condition: Items must be unused and in original packaging
- Refund: Full refund processed within 3-5 business days
- Factory Direct: ISO/TS 16949 certified manufacturer
- Quality: 100% electrical continuity tested before shipment
- Experience: 15+ years in automotive connector industry
- Support: Professional technical support available
You may also like
Blog posts
Title
Subscribe to our emails
Be the first to know about new collections and special offers.