Hi I have built a ATmega2560 kit.with ENC28J60 as Ethernet communication.I made it according to this document--> http://www.fut-electronics.com/wp-content/plugins/fe_downloads/Uploads/Ethernet-Module-ENC28J60-Arduino.pdf

The problem is that it works perfectly under arduino023 but not in version1.0.4Is there anyone who can help me.There is mentioned something about having to change in the libraries.?

I have done this in 023 and it worked perfectly.Now I have some projects written in 1.0.4 which does not work on my kit. (It works on orginal Arduino kit Atmega 2560)I have made the same changes as the 023 but it does not work.?

ok I trying in a different way.I have a atmega 2560 kit original from arduino without ethernet. ( http://arduino.cc/en/Main/arduinoBoardMega2560 )I have an ethernet shield ENC28J60. ( http://www.fasttech.com/product/1169600-pcb-arduino-microchip-enc28j60-ethernet-shield-mod )

I connect the ethernet shield to atmega kit so.

ENC28J60

Atmega kit

CS

->

D53

SI

->

D51

SO

->

D50

SCK

->

D52

RESET

->

RESET

INT

->

INT

VCC

->

3V3

GND

->

GND

if I then install Arduino IDE Version 023 and follow the procedure described in this report. works the example of the Web client:

Erdin

If you want to stay out of trouble, you should use the Arduino Ethernet Shield with the W5100.

However, it is possible to use the ENC28J60, if you know a few things about it.

Your wiring is okay.The ENC28J60 needs 3.3V and requires 200mA or 300mA (just a guess, I forgot how much). A small voltage regulator could get too hot.

There are compatible libraries for the ENC28J60, so they can use the same sketch as the normal sketches for the W5100. Those libraries have issues and as far as I know they are no longer maintained.

I started to use the Ethercard library for the ENC28J60. I think it is the only good library. I'm not going back to other libraries. That library is not compatible with the Arduino Ethernet library, so the sketches look a lot different.https://github.com/jcw/ethercard

You seem to have installed a library that is compatible with the Arduino Ethernet library. From where did you download it ?

Please use the newest Arduino version 1.0.5.There are bug fixes in every version.If you are willing to move to the Ethercard library, you have to use a third parameter for the chip select with Ethernet.begin().