Getting started with Arduino UNO R3 and Ethernet Shield (W5100)

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
See first this WIKI articel:
+
== Please read first this Article:<br/> ==
  
 
Getting started with Arduino and WIZ820io --> [http://wiki.mcselec.com/Getting_started_with_Arduino_and_WIZ820io [1]]
 
Getting started with Arduino and WIZ820io --> [http://wiki.mcselec.com/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:<br/> ==
  
 
The difference is only this part in the Bascom source code:
 
The difference is only this part in the Bascom source code:
Line 9: Line 15:
 
<br/><source lang="bascomavr">
 
<br/><source lang="bascomavr">
 
'Here you need MAC address, the ip address you like to use, subnet mask, gateway and localport
 
'Here you need MAC address, the ip address you like to use, subnet mask, gateway and localport
  Config Tcpip = Noint , _
+
Config Tcpip = Noint , _
            Mac = 1.1.94.127.1.255 , _
+
Mac = 1.1.94.127.1.255 , _
            Ip = 192.168.2.254 , _
+
Ip = 192.168.2.254 , _
            Submask = 255.255.255.0 , _
+
Submask = 255.255.255.0 , _
            Gateway = 192.168.2.1 , _
+
Gateway = 192.168.2.1 , _
            Localport = 1000 , _
+
Localport = 1000 , _
            Tx = $55 , Rx = $55 , _
+
Tx = $55 , Rx = $55 , _
            Chip = W5100 , _
+
Chip = W5100 , _
            Spi = 1
+
Spi = 1
  
 
</source>
 
</source>
  
afsdaasdf
+
== Complete Source code:<br/> ==
 +
 
 +
 
 +
 
 +
== Author<br/> ==
 +
 
 +
MAK3
 +
 
 
[[Category:Projects]]
 
[[Category:Projects]]

Revision as of 14:29, 8 March 2013

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

Personal tools
Namespaces
Variants
Actions
Navigation
Language