IOT DEVICE FOR SERIAL TO ETHERNET BY USING TCP

In this tutorial, we can understand to communicate with server and client devices using serial to ethernet devices.
ORIGINAL POST
By bingdo72
components
Hardware Components
Mini USB cable
X 1
LAN cable
X 1
UART2USB adapter
X 1
Software Apps and online services
mbed
details

Serial-ethernet-1

Serial-ethernet-2

I know WIZ550S2E solution for monitoring. Recently WIZwiki-W7500ECO platform was announced by WIZnet. So I implemented a firmware of WIZwiki-W7500ECO by WIZ550S2E 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.

Step 1: Prepare Materials

Serial-ethernet-1

Serial-ethernet-3

Please refer to the following.
1. WIZwiki-W7500ECO board.
2. Mini USB cable
3. LAN cable
4. UART2USB adapter

Step 2: Hardware Connection

Serial-ethernet-4

Please connect an USB, LAN cable and UART2USB adapter
You can get more HW info by the following site.
http://wizwiki.net/wiki/doku.php?id=products:wizwiki-w7500eco:start

Step 3: Prepare Development Environment

I prepared GCC development environment by the following site.
http://lghmms.cafe24.com/how-to-build-a-development-environment-with-gnu-arm-java-jdk-eclipse-cygwin/
I installed GNU Toolchain, Java JDK, Eclipse, Cygwin.
If you install all tools, you are ready for running this project.
You can use a Configuration Tool by the following temporarily.
http://wizwiki.net/wiki/lib/exe/fetch.php?media=products:wiz550s2e:wiz550s2e_configuration_tool_ver1.03beta_20151005.zip
How to use a CFG tool: http://wizwiki.net/wiki/doku.php?id=products:wiz550s2e:wiz550s2epg_en#configuration_tool
## Reference
WIZwiki-W7500ECO library source: http://wizwiki.net/wiki/doku.php?id=products:w7500:library

 

Step 4: Software: GitHub Repository

I opened source codes of this project in GitHub.
https://github.com/bingdo/S2E_WIZwiki-W7500ECO_Eclipse
You can download this project files. And then import project into Eclipse.
After compile, you can run S2E application of WIZwiki-W7500ECO.
This project is open for everyone. I expect your participation to improve a quality of project.

Step 5: How to Run: Test Result

Refer to the movie of S2E operation. ( https://www.youtube.com/watch?v=9s8l1P7m2xo )

1. To program FW into a target.
2. To reset a target and insert MAC address.
3. To search a target by Configuration Tool.
4. To check Host IP and Options.
5. To change IP, Gateway properly.
6. To search a target by Configuration Tool again.
7. To select “F/W Uploading”.
8. To change Server IP, File Name properly.
9. To press OK.
10. To check a version of new FW through terminal program.
11. Carry out S2E operation.
You can see the test result by the video.
Thank you for your attention.
*Tip : If you register in www.wiznetian.com and work actively, you can get a sample cheaper than E-sales as well as a free sample.

 

Source: http://www.instructables.com/id/IoT-Device-for-Serial-to-Ethernet-by-Using-TCP/

 

Serial-ethernet-1

Serial-ethernet-2

I know WIZ550S2E solution for monitoring. Recently WIZwiki-W7500ECO platform was announced by WIZnet. So I implemented a firmware of WIZwiki-W7500ECO by WIZ550S2E 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.

Step 1: Prepare Materials

Serial-ethernet-1

Serial-ethernet-3

Please refer to the following.
1. WIZwiki-W7500ECO board.
2. Mini USB cable
3. LAN cable
4. UART2USB adapter

Step 2: Hardware Connection

Serial-ethernet-4

Please connect an USB, LAN cable and UART2USB adapter
You can get more HW info by the following site.
http://wizwiki.net/wiki/doku.php?id=products:wizwiki-w7500eco:start

Step 3: Prepare Development Environment

I prepared GCC development environment by the following site.
http://lghmms.cafe24.com/how-to-build-a-development-environment-with-gnu-arm-java-jdk-eclipse-cygwin/
I installed GNU Toolchain, Java JDK, Eclipse, Cygwin.
If you install all tools, you are ready for running this project.
You can use a Configuration Tool by the following temporarily.
http://wizwiki.net/wiki/lib/exe/fetch.php?media=products:wiz550s2e:wiz550s2e_configuration_tool_ver1.03beta_20151005.zip
How to use a CFG tool: http://wizwiki.net/wiki/doku.php?id=products:wiz550s2e:wiz550s2epg_en#configuration_tool
## Reference
WIZwiki-W7500ECO library source: http://wizwiki.net/wiki/doku.php?id=products:w7500:library

 

Step 4: Software: GitHub Repository

I opened source codes of this project in GitHub.
https://github.com/bingdo/S2E_WIZwiki-W7500ECO_Eclipse
You can download this project files. And then import project into Eclipse.
After compile, you can run S2E application of WIZwiki-W7500ECO.
This project is open for everyone. I expect your participation to improve a quality of project.

Step 5: How to Run: Test Result

Refer to the movie of S2E operation. ( https://www.youtube.com/watch?v=9s8l1P7m2xo )

1. To program FW into a target.
2. To reset a target and insert MAC address.
3. To search a target by Configuration Tool.
4. To check Host IP and Options.
5. To change IP, Gateway properly.
6. To search a target by Configuration Tool again.
7. To select “F/W Uploading”.
8. To change Server IP, File Name properly.
9. To press OK.
10. To check a version of new FW through terminal program.
11. Carry out S2E operation.
You can see the test result by the video.
Thank you for your attention.
*Tip : If you register in www.wiznetian.com and work actively, you can get a sample cheaper than E-sales as well as a free sample.

 

Source: http://www.instructables.com/id/IoT-Device-for-Serial-to-Ethernet-by-Using-TCP/

 

documents
Code
source cide

COMMENTS

Please Login to comment
  Subscribe  
Notify of