ioShield-A allows an Arduino board to connect to the Internet.
It is based on the WIZ550io network module which uses WIZnet W5500 ethernet chip (W5500 Datasheet). The WIZnet W5500 provides a network (TCP/IP) stack capable of both TCP and UDP. It supports up to eight simultaneous socket connections. And, when Powered on and nRESET triggered, WIZ550io initializes itself with embedded real MAC and default IP address and can be pinged from user’s computer.
As ioShield uses W5500 chipset, instead of W5100 which was used before in the Arduino Ethernet Shield, users needs to use WIZnet Ethernet Library.
Although you have non-AVR Arduino-compatible board, you could use ioShield Hardware. But you should use adequate S/W libraries for each chipsets. please refer to each product's web site.
All design files and source codes for the ioShield can be found on GitHub:
Very easy, just mount the two following board on top of an Arduino board.
will add pic of product
Connect the shield to your computer or a network hub or router using a standard ethernet cable (CAT5 or CAT6 with RJ45 connectors). Connecting to a computer may require the use of a cross-over cable (although many computers, including all recent Macs can do the cross-over internally).
Connecting to the Internet using the W5500 powered Ethernet Shield
from : http://arduino.cc/en/Reference/Ethernet
Arduino Ethernet Shield allows an Arduino board to connect to the internet. It can serve as either a server accepting incoming connections or a client making outgoing ones. The library supports up to four concurrent connection (incoming or outgoing or a combination).
For more details, please visit : Arduino Ethernet Library Page.
Before COMPILING THE SOFTWARE, Download and install Arduino 1.0.5 from the Arduino software page.
To use ioShiled-A(WIZ550io), you need to update new WIZnet Ethernet Library. Because ioShield-A use W5500 new chipset instead of W5100 which is used original Ethernet Shield.
The first step is to download the latest version of the Wiznet Ethernet Library from GitHub.
How to update the Ethernet library.
/* * Copyright (c) 2013 by WIZnet <support@wiznet.co.kr> * * This file is free software; you can redistribute it and/or modify * it under the terms of either the GNU General Public License version 2 * or the GNU Lesser General Public License version 2.1, both as * published by the Free Software Foundation. */ #ifndef W5100_H_INCLUDED #define W5100_H_INCLUDED #include <avr/pgmspace.h> #include <SPI.h> typedef uint8_t SOCKET; //#define W5100_ETHERNET_SHIELD // original ethernet shield from Arduino //#define W5200_ETHERNET_SHIELD // Ethernet Shield version 2 from Seeed. #define W5500_ETHERNET_SHIELD // ioShield Series
Now you are ready to go to “File → Example → Ethernet”, and select examples what you want.
There are many simple examples in Ethernet Library Folder as like
Basically, you can refer the usage for each examples in Arduino site.
You need to create an instance of Twitter class like below:
in Twitter_SimplePost.ino..
// If you don't specify the IP address, DHCP is used(only in Arduino 1.0 or later). // fill in an available IP address on your network here, IPAddress ip(1,1,1,1); IPAddress gw(1,1,1,1); IPAddress snip(1,1,1,1); IPAddress dnsip(1,1,1,1); // Your Token to Tweet (get it from http://arduino-tweet.appspot.com/) Twitter twitter("YOUR-TOKEN-HERE"); // this was YourID:Password in 1.0.1
You need also to refer begin Ethernet library.
please refer the below image to change code.
and compile, upload code on your Arduino Board.
During the run the program, You can see the log message via Serial Monitor as follow:
and, you can see the first message in your twitter timeline as follow: