K016 - ENC28J60 Ethernet Shield - How To Build

 

How to build

The ENC28J60 Ethernet Shield is a simple through-hole electronics kit that can be assembled in around half an hour with moderate soldering experience.  Like most through-hole kits, the approach is to start with the components lowest to the board and work upwards.  Start with the resistors.  The values are marked on the board, and can be identified by the following colour bands;

10R  Brown - Black - Black

51R  Green - Brown - Black

330R Orange - Orange - Brown

2K2 Red - Red - Red

10K Brown - Black - Orange

The capacitors can be identified by the following markings

22pf - 22 (blue bead - bagged with crystal)

10nf - 1032 (ceramic disc)

100nf - 104 (blue bead) 

10uf - marked on case

100uf - marked on case

The 22pf, 10nf and 100nf have no polarity and can be inserted either way around.  Th 10uf and 100uf, however, are polarised, and must be fitted correctly; note the -ve lead is shorter and marked with a stripe on the can.

The voltage regulator is designed to lay flush against the board, so must have its legs bent backwards before fitment so alignment with the bolt hole can be checked.

The chip notch on the socket should be fitted to line up with the notch marked on the PCB.  The crystal can be fitted either way around.  The 3 pin jumper and two 2 pin jumpers should be fitted, unless you know you will never need to change the settings, in which case a link can be soldered in place. 

When fitting the magjack care should be taken to line up all pins with the holes before pushing it in to place.  The plastic lugs should 'click' in. 

Lastly, the header pins need to be soldered on.  To ensure this lines up with your Arduino, push the pins in to the Arduino headers first, and solder the PCB from the top.

 

Testing

Before fitting the ENC28J60 chip, connect the shield to your Arduino.  If your Arduino is running at 5v, connect the power link on the outside jumpers marked 5v.  If it is running at 3v3, connect the link to the 3v3 jumper instead.  Check the voltage on pin 20 with a voltmeter.  It should be reading 3v3, in which case remove the Arduino power and fit the chip.  If it's anything other than 3v3, double check the components are correct, the soldering is sound, and the jumper is in the right place.

 

Software

The ENC28J60 can be used with either the  EtherCard library or Ethershield library.  If you have got the SS jumper set for pin 10 then those libraries can be used without any modification.  There is a solder pad next to the jumper which can be connected to alternative pins, so, for example, adding a wire link to pin 8 will allow the running of Nanode code without any modification.