w5100网络扩展板 13
信息编号:2608794 浏览:89次- 供应商
- 深圳赛格电子市场鑫达展销部 商铺
- 认证
- 报价
- 人民币¥39.00元每个
- 加工定制
- 是
- 品牌
- 13
- 型号
- ewqwe1
- 所在地
- 中国 广东 深圳市福田区 华强北路宝华大厦B座H4C29室
- 联系电话
- 86 0755 61362025
- 手机号
- 13925249865
- 让卖家联系我
产品详细介绍
以w5100为核心的arduino
ethernet网络扩展模块,可以使arduino成为简单的web服务器或者通过网络控制读写arduino的数字和模拟接口等网络应用。可直接使用ide中的ethernet库文件便可实现一个简单web服务器。
同时该版本的支持mini sd卡(tf卡)读写,功能强悍,不容错过!
该扩展板采用了可堆叠的设计,可直接插到arduino上,同时我们的其他扩展板也可以插上去。
arduino ethernet网络扩展模块与arduino uno 控制器
arduino ethernet网络扩展模块与arduino mega2560控制器
ide中的实验代码:
/*
* 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();
}
}
"w5100网络扩展板"的机械刚性为柔性,型号是ewqwe1,层数为多层,基材是镍,品牌为13,加工定制是是,属性为jh
- 温度湿度传感器模块 12去15.00元/个
加工定制:是 - 麦克风声音传感器 03812.00元/个
加工定制:是 - 单片机 入门到精通 24节互动课程 ARDUINO 学习套件178.00元/平方米
类型:单片机 - 震动传感器 0025.00元/
加工定制:是 - Nano 3.0 328 mini版 互动媒体 控制器 机器人专用33.00元/
加工定制:是 - L298N电机驱动模块 可同时驱动2个直流电机步进电机 带隔离 套件品牌:dcd