To use WIZ550io in Arduino platform : Arduino UNO
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
Step 1: Prepare Materials
Please refer to the following.
1. Arduino UNO
2. WIZ550io or ioShield-A
3. LAN cable
4. USB cable
Step 2: Hardware Connection
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.
Step 3: Prepare Development Environment
https://www.arduino.cc/en/Guide/HomePage
Step 4: 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.
Step 5: 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.
Step 6: How to Run : Result
'Arduino' 카테고리의 다른 글
아두이노 기초 교육 과정 with WizArduino (0) | 2016.11.18 |
---|---|
아두이노 컨트롤을 위한 스마트폰 앱 활용 (1) | 2016.05.12 |