免费发布

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

所属分类:中国电子元件网 / PCB电路板
本页链接:http://product.11467.com/info/2608794.htm
w5100网络扩展板 13的文档下载: PDF DOC TXT
关于深圳赛格电子市场鑫达展销部商铺首页 | 更多产品 | 联系方式 | 黄页介绍
主要经营:usb hub ; usb 卡 ; 1394卡 ; usb ps2 ; 硅胶键盘 ; ipod 车充
深圳市鑫达科技有限公司是集设计、生产、销售电脑连接线和电脑周边产品的厂家。主要产品是USB系列、USB卡系列、硬盘盒系列:USB线、USB蓝牙、读卡器、USB灯、USB风扇、USB吸尘器、USB/PC ...
我们的其他产品
顺企网 | 公司 | 黄页 | 产品 | 采购 | 资讯 | 免费注册 轻松建站
免责声明:本站信息由企业自行发布,本站完全免费,交易请核实资质,谨防诈骗,如有侵权请联系我们   法律声明  联系顺企网
© 11467.com 顺企网 版权所有
ICP备案: 粤B2-20160116 / 粤ICP备12079258号 / 粤公网安备 44030702000007号 / 互联网药品信息许可证:(粤)—经营性—2023—0112