Pages: [1]   Go Down
Author Topic: Problem with Shield Ethernet enc28j60  (Read 1874 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 10
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm using an ethernet shield ENC28J60, but I am not able to connect my arduino Duemilanove will be missing some library to work, install a driver? I know it ..
If any have any example that shows this shield ethernet working, would be of great help.
Thanks.
Logged

Red Sea, Saudi Arabia
Offline Offline
God Member
*****
Karma: 12
Posts: 579
..On The Red Sea
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

These ENC28 shields are not supported by the Arduino Ethernet library; only the W5100 based shields/bricks are.  The W5100 has a lot more protocol support built in.

Anyone know of a working library for ENC shields??  They ARE cheap on bay...
Logged

Regards, Terry King  ..On the Red Sea at KAUST.edu.sa
terry@yourduino.com  LEARN! DO! (Arduino Boards, Sensors, Parts @ http://yourduino.com

France
Offline Offline
Newbie
*
Karma: 0
Posts: 5
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

I'm using ENC28J60 with no problem until here (except for using it the same time as a SD card on SPI bus).
I use the etherShield library, found here: http://www.nuelectronics.com/estore/index.php?main_page=project_eth

[edit] just found a newer version of the library. See there: http://blog.thiseldo.co.uk/?p=504 [/edit]

Now I have to choose between:
-having my arduino online
-having HTML pages to display on it
 smiley-confuse

Does anyone know how to make the two work at the same time, so I could display HTML page online ???
« Last Edit: March 10, 2011, 09:51:13 am by jajacom » Logged

0
Offline Offline
Newbie
*
Karma: 4
Posts: 42
Arduino rocks - Yeah Baby!!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

In order to use the Nuelectronics ethershield with another SPI device you need to change the 74HCT08D with a 74AHC125D. I've done it for one board using  DIP version of the chip by cutting tracks and using thin wires. However, it can be done by directly replacing the surface mount chip as described here http://john.crouchley.com/blog/archives/662, see second part of page.

You also need to use a different CS pin for both devices and update one of the libraries to use the alternative pin. I am successfully using this method in an RF12 to ethernet bridge where the RF12 module is receiving packets that are then being dumped into a UDP packet and sent out on the ethernet.

Using a SD card as a file store for html pages would be possible, but the current library is restricted to sending out html pages in a single packet. The size of the packet is dependant on your buffer size which in turn is limited to the memory size of the 168 or 328 chips. I've no plans at present to update the library to support this, but anyone else is free to have a go!

Cheers

Andy

Logged

0
Offline Offline
Tesla Member
***
Karma: 145
Posts: 9685
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Anyone know of a working library for ENC shields??  They ARE cheap on bay...

Good, fast, cheap..., chose any two.  smiley
Logged

Consider the daffodil. And while you're doing that, I'll be over here, looking through your stuff.   smiley-cool

Red Sea, Saudi Arabia
Offline Offline
God Member
*****
Karma: 12
Posts: 579
..On The Red Sea
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Andy, thanks for your work on this!

I, for one, knew only that this type of Ethernet shield existed and nothing about library support for it. Of course the Ebay sellers I saw knew little or nothing.

Where's a good place to put this information where it can be more easily found??



Logged

Regards, Terry King  ..On the Red Sea at KAUST.edu.sa
terry@yourduino.com  LEARN! DO! (Arduino Boards, Sensors, Parts @ http://yourduino.com

France
Offline Offline
Newbie
*
Karma: 0
Posts: 5
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Really, many thanks Andy ! Looks like I'm gonna make that small mod.

I'll try to make pages as small as possible, nevertheless I need authentication, and one of my future pages contains MD5 encoding. So I think it will be difficult to make it with the buffer size...

I'm not sufficiently familiar with Arduino (and electronics in general) to modify libraries, and make hard mods by myself without a guru ! So I just hope that somebody with good skills will need such functionalities and make the situation evolve...
Logged

France
Offline Offline
Newbie
*
Karma: 0
Posts: 5
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello all,

I was just looking for 74AHC125D on the net, and I wanted to check the one I had on my ethernet shield. What a surprise when I saw it is already a 74AHC125D, and not a 74HCT08 as Andy mentioned to replace.

My shield is a one from www.ekitszone.com : http://www.ekitszone.com/Products/4-enc28j60-ethernet-shield-for-arduion.aspx
(bought on ebay). It does not have discrete components as we can see on this link, but SMD ones.

So I do not understand why it won't work when SD is connected and activated... I'll retry with the library found on this site, but I'm perplex...
Logged

Pages: [1]   Go Up
Jump to: