Page 1 of 1

ENC28J60 Ethernet board

Posted: Tue Jun 05, 2012 2:41 am
by phalox
Dear all,

I have just bought this board, but I cannot get it to work with my diecimila arduino with atmega168 (+ I have tried it with the UNO also)
I added the library in the libraries folder, and removed the Ethernet folder that was in there.

First attempt: using arduino 1.0 environment:
For this I downloaded the latest version for the creator of the library. The Webserver compiles and it uploads. When I request the page, the GET request is received by the arduino, but no reply is sent.

Second attempt using your supplied library:
* Does not compile in arduino 1.0 environment
* I reverted to arduino22 environment, and there it DID compile. But still I had the same error.

Can you help me out?
Kind regards
Phalox

Re: ENC28J60 Ethernet board

Posted: Wed Jun 06, 2012 11:24 am
by techsupport
Hi friend;
1.The original Ethernet library need to be removed.
2.Do you specify the IP address of the Ethernet shield, which is done inside the sketch. byte ip[] = { 10, 0, 0, 177 };

Regards;
techsupport

Re: ENC28J60 Ethernet board

Posted: Wed Jun 06, 2012 5:13 pm
by phalox
Dear Sir

1) Yes, I removed the entire original Ethernet folder from the libraries folder
2) I also changed the IP address to 192.168.1.123. If I run the example in debug mode (I do have to set a #define debug somewhere in one of the header files), and connect the serial port to my computer, I can see that a request is received by the arduino. But nothing is sent back...

Re: ENC28J60 Ethernet board

Posted: Thu Jun 07, 2012 10:35 am
by techsupport
Hi friend;
Please check your connction according to the wiki about ENC28J60 http://www.geeetech.com/wiki/index.php/ ... net_Module

Here is another library for Arduino 1.0 in attchment, if it does'n't work please try to use this.

Re: ENC28J60 Ethernet board

Posted: Fri Jun 08, 2012 3:14 am
by phalox
Great! That seems to work. Although the examples are not very extensive. But I was planning on using the ethernet board with a PIC microchip anyway.

The documentation on the website might need a small update to help others too. Another small remark (but that's the perfectionist in me), is that the names in this table (http://www.geeetech.com/wiki/index.php/ ... dule#Usage) don't entirely match with the names on the board. Even though it seems obvious, people might have difficulties with it.

Thanks! If you would have a more extensive functional library with examples, you may always inform me!

Re: ENC28J60 Ethernet board

Posted: Fri Jun 08, 2012 9:48 am
by techsupport
The documentation on the website might need a small update to help others too. Another small remark (but that's the perfectionist in me), is that the names in this table (http://www.geeetech.com/wiki/index.php/ ... dule#Usage) don't entirely match with the names on the board. Even though it seems obvious, people might have difficulties with it.
Thanks for your advice, we will update the table in the wiki page to make the pin names mach with the board.

Re: ENC28J60 Ethernet board

Posted: Sat Dec 14, 2013 5:12 am
by treii28
Is this library ever going to be upgraded? It seems to be built for a pre-release version of the arduino IDE. They are up to v1.0.5 already! Can we please get this thing updated to work with current software???

SW

Re: ENC28J60 Ethernet board

Posted: Tue Dec 17, 2013 9:00 am
by techsupport
hi
guys
you should delete the previous library file and the add the ethernet library,and then complide it.