Go Down

Topic: Implementation for Microchip ENC28J60 Ethernet controller (Read 35 times) previous topic - next topic

WillR

#30
Apr 01, 2011, 03:50 am Last Edit: Apr 01, 2011, 03:52 am by WillR Reason: 1
Is the software currently working with the Standard Ethershield? (W5100)

Assuming it is... Does UDP work?

Is it more reliable than the W5100?

Is the reliability of the W5100 a software issue? In that case does this library fix that problem?

Is the ENC28J60 a better shield than the standard W5100 board?
Note: I use the Mega2560 board. The ethershield is the new one with the MicroSD card.
Just another Hacker

alvarojusten


Is the software currently working with the Standard Ethershield? (W5100)


My implementation does not support W5100, however, in the future (when I finish the implementation for ENC28J60), I can add some #ifdef so the library can be compiled based on the controller you are using - if do you use W5100, it'll compile the standard library or if you use ENC28J60, it'll use my library.


Assuming it is... Does UDP work?


The standard library (which work with W5100) supports UDP. My library (which work with ENC28J60) does not support UDP yet - but I'm planning to do it in next weeks.


Is it more reliable than the W5100?

Is the reliability of the W5100 a software issue? In that case does this library fix that problem?


As I don't know so much about W5100 internally, I can't answer to you. But my implementations consumes more memory than W5100's implementation, since ENC28J60 does only Ethernet layer and W5100 implements up to socket layer (so my library needs to "work" more than standard library).


Is the ENC28J60 a better shield than the standard W5100 board?
Note: I use the Mega2560 board. The ethershield is the new one with the MicroSD card.


The ENC28J60 shield is unexpensive compared to W5100 (~50% of the cost), so I think even you are using more memory, it is good since you can pay less for have an Ethernet connection in your Arduino. In terms of performance, probably it is slower than W5100, since the TCP/IP stack is implemented in hardware in W5100 and is being implemented (I'm implementing) in software in ENC28J60.
Blog pt_BR: http://blog.justen.eng.br/
Curso de Arduino (Arduino Course, in Brazil) - http://www.CursoDeArduino.com.br/

WillR

Thank you for the helpful answers.

I guess I will have to stick with the "Official" Ethernet shield.
Just another Hacker

chiva

Does anyone know what is the function of the D2 connection on the shield? It is connected to the ICP1 pin, but I can't find an explanation in the code why it has to be connected.

I would like to change the pin, as the mega board doesn't have the ICP1 pin accessible
Mercadillo electrónico. Kit iniciación a Arduino, shield LCD a color y más cosas!

alvarojusten


Does anyone know what is the function of the D2 connection on the shield? It is connected to the ICP1 pin, but I can't find an explanation in the code why it has to be connected.

I would like to change the pin, as the mega board doesn't have the ICP1 pin accessible


I really don't know. For me it just uses SPI pins:

Code: [Select]

#define ENC28J60_CONTROL_CS     10
#define SPI_MOSI                11
#define SPI_MISO                12
#define SPI_SCK                 13
Blog pt_BR: http://blog.justen.eng.br/
Curso de Arduino (Arduino Course, in Brazil) - http://www.CursoDeArduino.com.br/

Go Up