2013년 7월 31일 수요일

WIZ820io_GR-KURUMI

WIZ820io



WIZ820io provides easy and simple Ethernet connectivity to small platforms like GR-KURUMI (Compatible with Arduino Pro Mini).
WIZnet W5200 ethernet chip is used in WIZ820io.
To use WIZ820io with GR-KURUMI, users need to replace 4 files in the Ethernet library for GR-KURUMI.

WIZ820io

GR-SAKURA - Forum, GR-KURUMI

Hardware



WIZ820io_GR_KURUMIPWDN, nINT signals are not used.

Software



GitHub_Link:WIZ820io_GR_KURUMI

Install W5200 library



Download modified w5100.cpp & w5100.h and files (attached) and overwrite onto the”RLduino78/libraries/Ethernet/utility” folder in your project in e2studio.


  • Uncomment a below line in the modified w5100.h



[gist]https://gist.github.com/embeddist/8206f3c6c5e8632fa084[/gist]


  • Change MAX_SOCK_NUM as 8 on Ethernet.h in RLduino78/libraries.



[gist]https://gist.github.com/embeddist/8bbb31c2526d0abe4002[/gist]

SPI Configuration





    • Set SPI Mode as Mode0 and change the SPI.h in ” RLduino78/libraries/SPI” as below,




[gist]https://gist.github.com/embeddist/02c05adee7c46f036c65[/gist]



    • Set SPI Clock Divider (@16MHz)and change the in SPI.c in “RLduino78/libraries/SPI ” as below,




[gist]https://gist.github.com/embeddist/cba29a85e3adcee7263d[/gist]

Using the W5200 library and evaluate existing Ethernet example.



All other steps are the same as the steps from the Arduino Ethernet Shield. You can find examples in the Arduino IDE, go to Files->Examples->Ethernet, open any example, then copy it to your sketch file (gr_sketch.cpp) and change configuration values properly.
After that, you can check if it is work well. For example, if you choose ‘WebServer’, you should change IP Address first and compile and download it. Then you can access web server page through your web browser of your PC or something.

Revision History



Initial Release : 28 July 2013

댓글 없음:

댓글 쓰기