Pages: [1]   Go Down
Author Topic: How to program the ethernet card?  (Read 1124 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Full Member
***
Karma: 0
Posts: 118
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi all,

I bought this ethernet card:
http://www.buyincoins.com/new_en/details/new-enc28j60-ethernet-lan-network-module-schematic-for-arduino-51-avr-lpc-stm32-product-9026.html

And I am trying to make it work with my Arduino.

I also have this programmer:
http://www.buyincoins.com/new_en/details/usbasp-isp-programmer-adapter-10-pin-cable-for-atmega8-avrdude-can-pwm-series-product-12139.html

I thought I could connect the programmer to the ethernet card, plug the other side in the USB and upload the ethernet controller sketch from the Arduino IDE.
It turns out it's not so easy.

Could someone please advise?
I don't even know how to interface the ethernet card and the USB programmer, the programmer has 6x2 pins, the ethernet card has 5x2 pins…

Thanks for your help!
Logged

I am a total amateur at electronics and all things related. I have no education in the matter other than self taught.

Please factor this in

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 212
Posts: 8952
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

That's not an ICSP header.  That's the interface between the Ethernet adapter and the Arduino (via the SPI interface).  That ENC28J60 chip does the Ethernet interface but unlike the newer Ethernet shield it doesn't have the TCP/IP stack in hardware.  You have to use the older Ethernet library that included the software TCP/IP stack.

Perhaps this article will help: http://hackaday.com/2012/07/10/cheap-as-chips-arduino-ethernet-shield/

Or, for about twice the price, you can get an Ethernet Shield with a WizNet W5100 chip that works with the current standard Ethernet library and examples.
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Pages: [1]   Go Up
Jump to: