免费发布

SD卡扩展板 ARDUINO Ethernet W5100网络扩展板 For Arduino

信息编号:2886806 浏览:545次
供应商
深圳市弯弯树技术开发有限公司 商铺
认证
报价
请来电询价
类型
品牌
WWS
型号
W5100
所在地
深圳市龙华新区龙华街道民清路9号龙华公寓D3303室
手机号
13266550639
联系人
刘光超  请说明来自顺企网,优惠更多
让卖家联系我

产品详细介绍


w5100为核心的arduinoethernet网络扩展模块,可以使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();
}
}

本产品的类型是单片机,品牌是WWS,型号是W5100,功率是5V,用途是网络应用,封装是ip

所属分类:中国电子元件网 / 单片机
本页链接:http://product.11467.com/info/2886806.htm
SD卡扩展板 ARDUINO Ethernet W5100网络扩展板 For Arduino的文档下载: PDF DOC TXT
关于深圳市弯弯树技术开发有限公司商铺首页 | 更多产品 | 联系方式 | 黄页介绍
主要经营:单片机; 控制板; 扩展板; 传感器; 继电器
深圳弯弯树技术开发有限公司是单片机、传感器扩展板继电器模块等产品专业生产加工的公司,拥有完整、科学的质量管理体系专业的研发团队。深圳弯弯树技术开发有限公司的诚信、实力和产品质量获得业界的认可。欢迎各 ...
我们的其他产品
顺企网 | 公司 | 黄页 | 产品 | 采购 | 资讯 | 免费注册 轻松建站
免责声明:本站信息由企业自行发布,本站完全免费,交易请核实资质,谨防诈骗,如有侵权请联系我们   法律声明  联系顺企网
© 11467.com 顺企网 版权所有
ICP备案: 粤B2-20160116 / 粤ICP备12079258号 / 粤公网安备 44030702000007号 / 互联网药品信息许可证:(粤)—经营性—2023—0112