Pages: [1]   Go Down
Author Topic: Ethernet shield with libraries EtherCard or Ethernet  (Read 441 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 22
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Have got an Ethernet shield in form of a kit to mount  from Velleman.. so I guess it is a compatible one...
It works though when trying examples but only when using library EtherCard ...and , as soon as I use
library Ethernet , my router is not recognising the shield at all ...what is the problem ?
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 601
Posts: 48543
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Have got an Ethernet shield in form of a kit to mount  from Velleman
A link would be useful.

Quote
It works though when trying examples but only when using library EtherCard
That suggests that it is the ENCJxxxx version.

Quote
as soon as I use library Ethernet , my router is not recognising the shield at all ...what is the problem ?
The Ethernet library is only compatible with the W5100 and W5200 ethernet chips.
Logged

Offline Offline
Full Member
***
Karma: 10
Posts: 170
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

If Ethercard works with your shield it uses an ENC28J60 chip. If you want to use the Ethernet-API you might want to try my library: https://github.com/ntruchsess/arduino_uip
It provides the Server, Client and UDP-interfaces as the Ethernet-library comming with the IDE does for W5x00-shields, but for ENC28J60. It runs the Ethernet-examples you find in the IDE by replacing the include 'Ethernet.h' by 'UIPEthernet.h'

Or you get a W5x00-based shield (as the original Arduino-shields are). This option has the advantage of not using as much flash as the ENC28J60-based version does.

- Norbert
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 22
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

OK guys , a million thanks ...!!! The UIP library  made  a miracle  smiley
Logged

Pages: [1]   Go Up
Jump to: