To Use WIZ550io in Arduino Platform : Arduino UNO

by bingdo72 in Circuits > Arduino

6308 Views, 7 Favorites, 0 Comments

To Use WIZ550io in Arduino Platform : Arduino UNO

20170718_165746.jpg

I know Arduino platform for IoT. So I implemented a firmware of Arduino by Ethernet SW modification because I can handle a source code easily. You can know the status of equipment even if it is so far. Please refer to the following step.

Reference : https://forum.wiznet.io/t/Wiz550io-Arduino-due-Mysqlconnector-arduino-ide/3348

Prepare Materials

ArduinoUnoSMD-tri-org.jpg
wiz550io_small_005.png
io_s_a.png
LAN CABLE-1.png
USB CABLE(2.0)-1.png

Please refer to the following.

1. Arduino UNO

2. WIZ550io or ioShield-A

3. LAN cable

4. USB cable

Hardware Connection

20170718_165746.jpg
20170718_170126.jpg

Please connect an LAN cable and USB cable

You can get more HW info by the following site.

https://www.arduino.cc/en/Main/ArduinoBoardUno

http://wizwiki.net/wiki/doku.php?id=products:wiz550io:start

First of all, prepare Arduino UNO and WIZ550io module.

Connect Arduino UNO and WIZ550io module like below.

Arduino UNO pin<->WIZ55io pin

3.3V<->3V3D

GND<->GND

13<->SCLK

12<->MISO

11<->MOSI

10<->SCSn

RESET<->RSTn

I recommand to use ioShield-A.

Prepare Development Environment

Software

I uploaded Arduino project. You can download this project file. And then import project into Arduino IDE.

After compile, you can execute a sample of WebServer.

Downloads

How to Run : Modification

Execute Arduino IDE.

Select Arduino IDE Menubar->Sketch->Include Library->Mange Libraries...

Search Ethernet2 library by string.

Install Ethernet2 library.

Find w5500.h, w5500.cpp

Windows OS

C:\Users\your username\Documents\Adruino\libraries\Ethernet2\utility\

Linux

/home/your username/Arduino/libraries/Ethernet2/src/utility/

Insert the following code in w5500.h

...
#define WIZ550ioWITH_MACADDRESS
... 

Insert the following code in w5500.cpp

...

#if !defined(WIZ550ioWITH_MACADDRESS)

w5500.swReset();

#endif

...

For example, you can modify Ethernet.begin function of WebServer code without mac parameter.

Compile and upload by Arduino IDE.

How to Run : Result

-dev-ttyUSB0_002.jpg