Getting started with Arduino UNO R3 and Ethernet Shield (W5100)
From MCS Wiki
Contents |
Please read first this Article:
Getting started with Arduino and WIZ820io --> [1]
It uses the same source code exept we use here an Wiznet W5100 Chip intead of W5200 so only config TCPIP needs to be changed.
The usage of Easy TCP/IP in combination with that example is also the same.
Source Code:
The difference is only this part in the Bascom source code:
'Here you need MAC address, the ip address you like to use, subnet mask, gateway and localport Config Tcpip = Noint , _ Mac = 1.1.94.127.1.255 , _ Ip = 192.168.2.254 , _ Submask = 255.255.255.0 , _ Gateway = 192.168.2.1 , _ Localport = 1000 , _ Tx = $55 , Rx = $55 , _ Chip = W5100 , _ Spi = 1
Complete Source code:
Author
MAK3