12
Configure your Arduino™ as a simple web server or let it get data from the worldwide web. ILLUSTRATED ASSEMBLY MANUAL HKA04IP’1 KA04 Ethernet shield for Arduino ® Features For use with Arduino Uno, Arduino MegaBased on Microchip ENC28J60 IEEE 802.3 compatible Ethernet controller Integrated MAC & 10BASE-T PHY SPI interface With RJ45 connector Specifications Max. clock speed: 20MHz Transmit/receive buffer: 8kB Dimensions: 68 x 53mm / 2.67 x 2.08”

Velleman – Wholesaler and developer of electronics · r3 47 r4 47 r5 100n c1 100n c2 v3.3 gnd txc txc gnd gnd gnd gnd 10µ/100v c6 gnd 2k7 r8 gnd 25mhz x1 15p c8 15p c7 gnd oe1

  • Upload
    others

  • View
    6

  • Download
    0

Embed Size (px)

Citation preview

  • Configure your Arduino™ as a simple web server or let it get data from the worldwide web.

    ILLUSTRATED ASSEMBLY MANUAL HKA04IP’1

    KA04

    Ethernet shield for Arduino®

    Features• ForusewithArduinoUno™,ArduinoMega™• BasedonMicrochipENC28J60• IEEE802.3compatibleEthernetcontroller• IntegratedMAC&10BASE-TPHY• SPIinterface• WithRJ45connector

    Specifications• Max.clockspeed:20MHz• Transmit/receivebuffer:8kB• Dimensions:68x53mm/2.67x2.08”

  • ForumForumParticipate our Velleman Projects Forum

    Subscribing our newsletter?, visit www.vellemanprojects.eu

  • Velleman N.V.Legen Heirweg 33

    9890 Gavere(België)

  • - 5 -

    assembly hints

    1. Assembly (Skipping this can lead to troubles ! )Ok, so we have your attention. These hints will help you to make this project successful. Read them carefully.

    1.1 Make sure you have the right tools:• A good quality soldering iron (25-40W) with a small tip.• Wipe it often on a wet sponge or cloth, to keep it clean; then apply solder to the tip, to give it a wet look. This is called ‘thinning’ and

    will protect the tip, and enables you to make good connections. When solder rolls off the tip, it needs cleaning.• Thinraisin-coresolder.Donotuseanyfluxorgrease.• Adiagonalcuttertotrimexcesswires.Toavoidinjurywhencuttingexcessleads,holdtheleadsotheycannot flytowardstheeyes.

    • Needle nose pliers, for bending leads, or to hold components in place.• SmallbladeandPhillipsscrewdrivers.Abasicrangeisfine.

    ) For some projects, a basic multi-meter is required, or might be handy

    1.2 Assembly Hints :• Makesuretheskilllevelmatchesyourexperience,toavoiddisappointments.• Follow the instructions carefully. Read and understand the entire step before you perform each operation. • Perform the assembly in the correct order as stated in this manual• Position all parts on the PCB (Printed Circuit Board) as shown on the drawings. • Values on the circuit diagram are subject to changes, the values in this assembly guide are correct*• Usethecheck-boxestomarkyourprogress.• Please read the included information on safety and customer service

    *Typographicalinaccuraciesexcluded.Alwayslookforpossiblelastminutemanualupdates,indicatedas‘NOTE’onaseparateleaflet.

    1.3 Soldering Hints :

    1. Mount the component against the PCB surface and carefully solder the leads

    2. Make sure the solder joints are cone-shaped and shiny

    3. Trimexcessleadsascloseaspossibletothesolderjoint

    0.000

    - 4 -

  • - 5 -

    DO NOT BLINDLY FOLLOW THE ORDER OF THE COMPONENTS ONTO THE TAPE. ALWAYS CHECK THEIR

    VALUE ON THE PARTS LIST!

    1. Assembly (Skipping this can lead to troubles ! )Ok, so we have your attention. These hints will help you to make this project successful. Read them carefully.

    1.1 Make sure you have the right tools:• A good quality soldering iron (25-40W) with a small tip.• Wipe it often on a wet sponge or cloth, to keep it clean; then apply solder to the tip, to give it a wet look. This is called ‘thinning’ and

    will protect the tip, and enables you to make good connections. When solder rolls off the tip, it needs cleaning.• Thinraisin-coresolder.Donotuseanyfluxorgrease.• Adiagonalcuttertotrimexcesswires.Toavoidinjurywhencuttingexcessleads,holdtheleadsotheycannot flytowardstheeyes.

    • Needle nose pliers, for bending leads, or to hold components in place.• SmallbladeandPhillipsscrewdrivers.Abasicrangeisfine.

    ) For some projects, a basic multi-meter is required, or might be handy

    1.2 Assembly Hints :• Makesuretheskilllevelmatchesyourexperience,toavoiddisappointments.• Follow the instructions carefully. Read and understand the entire step before you perform each operation. • Perform the assembly in the correct order as stated in this manual• Position all parts on the PCB (Printed Circuit Board) as shown on the drawings. • Values on the circuit diagram are subject to changes, the values in this assembly guide are correct*• Usethecheck-boxestomarkyourprogress.• Please read the included information on safety and customer service

    *Typographicalinaccuraciesexcluded.Alwayslookforpossiblelastminutemanualupdates,indicatedas‘NOTE’onaseparateleaflet.

    1.3 Soldering Hints :

    1. Mount the component against the PCB surface and carefully solder the leads

    2. Make sure the solder joints are cone-shaped and shiny

    3. Trimexcessleadsascloseaspossibletothesolderjoint

    - 4 -

  • - 6 - - 7 -

    Construction

    R1: 47 (4 - 7 - 0 - B) R2: 47 (4 - 7 - 0 - B) R3: 18 (1 - 8 - 0 - B) R4: 47 (4 - 7 - 0 - B) R5: 47 (4 - 7 - 0 - B) R6: 270 (2 - 7 - 1 - B) R7: 270 (2 - 7 - 1 - B) R8: 2K7 (2 - 7 - 2 - B) R9: 10K (1 - 0 - 3 - B) R10: 10K (1 - 0 - 3 - B) R11: 10K (1 - 0 - 3 - B)

    R...

    Resistors 1CONSTRUCTIONI

    Ceramic capacitors2c...

    c...

    X1 : 25MHz

    8

    Crystal3

    C1: 100nF (104) C2: 100nF (104) C3: 100nF (104) C4: 100nF (104) C10: 100nF (104)

    C...

    R...

    C7: 15pF (15) C8: 15pF (15)

    SW1 : Reset

    Push button4

    Voltage regulator5

    M3 NUT

    TRANSISTOR

    M3 BOLT

    PCB

    VR1 : LD1086V33

    IC socket6 IC1 : 28p

    IC1 : 14p

    2 x 6p

    Do not cut the connector pins!

    Female header72

    3

    Solder

    1

    SK6: 2 x 3p

    Watch the position of the notch!

  • - 6 - - 7 -

    Construction

    Electrolytic capacitors8

    Watch the polarity!

    C5 : 470µF C6 : 10µF C9 : 470µF

    IC socket

    Female header2

    3

    Solder

    1

    SK6: 2 x 3p

    2

    3

    Solder

    1

    LAN connector9

    SK5

    IC10

    Watch the position of the notch!

    IC1 : ENC28J60-I/SP

    IC2 : 74HC125

  • - 8 - - 9 -

    123456

    SK4

    Vin

    GND5V3V3RST

    123456

    SK3

    A0A1A2A3A4A51

    2345678

    SK1

    ARDUINO UNO

    12345678

    SK2

    01234567

    89

    10111213

    AREF-

    -

    GND

    100nC3 470µ/16V

    C5

    Vin

    I O

    GN

    D

    LD1086-3.3VR1

    GND

    100nC4 470µ/16V

    C9

    V3.3

    Vcap1

    VSS2

    CLKOUT3

    INT4

    WOL5

    SO6

    SI7

    SCK8

    CS9

    RESET10

    VSSrx11

    TPIN-12

    TPIN+13

    RBIAS14 VDDtx 15

    TPOUT- 16

    TPOUT+ 17

    VSStx 18

    VDDrx 19

    VDDpll 20

    VSSpll 21

    VSSosc 22

    OSC1 23

    OSC2 24

    VDDosc 25

    LEDB 26

    LEDA 27

    VDD 28ENC28J60IC1

    TX+ 1

    TXc 4

    TX- 2

    RX+ 3

    RXc 5

    RX- 6

    LD+ GREEN 11LD- GREEN 12

    LD+ YELLOW 9LD- YELLOW 10

    SHIE

    LD

    8

    RJ45LAN-VSK5

    LEDA

    LEDB

    TPOUT+

    TPOUT-

    TPIN-

    TPIN+

    270

    R6270

    R7

    LEDA

    LEDB

    GND TPIN-

    TPIN+

    TPOUT+

    TPOUT-

    47R1

    47R2

    18R3

    47R4

    47R5

    100nC1

    100nC2

    V3.3

    GND

    TXc

    TXc GND GND

    GND

    GND

    10µ/100VC6

    GND

    2K7R8

    GND

    25MHzX1 15P

    C8

    15P

    C7GND

    5VOE11

    A12

    Y13

    OE24

    A25

    Y26

    GND7

    VCC 14

    OE4 13

    A4 12

    Y4 11

    OE3 10

    A3 9

    Y3 8

    74HC125

    IC2

    GND

    GND

    GND

    GND

    GND

    SO

    SO

    MISO

    MOSI

    SCK

    RESET

    RESET

    10KR9

    5V

    SW KRS0611SW1

    GND

    V3.3

    V3.3

    V3.3

    V3.3

    V3.3

    100nC10

    GND

    10kR11

    5V

    GND

    INT

    INT

    10

    2

    10K

    R10V3.3

    246

    135

    2X3PIN HEADER PITCH 2.54MM

    SK6

    MISOSCK MOSIRESET GND

    Connection diagram

    CONNECTION DIAGRAMII

    DOWNLOAD SAMPLE CODE FROM KA04 PAGE ON WWW.VELLEMAN.BE

    RESET2

    RJ45 LAN CONNECTOR

    1

    ICSP CONNECTOR3

  • - 8 - - 9 -

    123456

    SK4

    Vin

    GND5V3V3RST

    123456

    SK3

    A0A1A2A3A4A51

    2345678

    SK1

    ARDUINO UNO

    12345678

    SK2

    01234567

    89

    10111213

    AREF-

    -

    GND

    100nC3 470µ/16V

    C5

    Vin

    I O

    GN

    D

    LD1086-3.3VR1

    GND

    100nC4 470µ/16V

    C9

    V3.3

    Vcap1

    VSS2

    CLKOUT3

    INT4

    WOL5

    SO6

    SI7

    SCK8

    CS9

    RESET10

    VSSrx11

    TPIN-12

    TPIN+13

    RBIAS14 VDDtx 15

    TPOUT- 16

    TPOUT+ 17

    VSStx 18

    VDDrx 19

    VDDpll 20

    VSSpll 21

    VSSosc 22

    OSC1 23

    OSC2 24

    VDDosc 25

    LEDB 26

    LEDA 27

    VDD 28ENC28J60IC1

    TX+ 1

    TXc 4

    TX- 2

    RX+ 3

    RXc 5

    RX- 6

    LD+ GREEN 11LD- GREEN 12

    LD+ YELLOW 9LD- YELLOW 10

    SHIE

    LD

    8

    RJ45LAN-VSK5

    LEDA

    LEDB

    TPOUT+

    TPOUT-

    TPIN-

    TPIN+

    270

    R6270

    R7

    LEDA

    LEDB

    GND TPIN-

    TPIN+

    TPOUT+

    TPOUT-

    47R1

    47R2

    18R3

    47R4

    47R5

    100nC1

    100nC2

    V3.3

    GND

    TXc

    TXc GND GND

    GND

    GND

    10µ/100VC6

    GND

    2K7R8

    GND

    25MHzX1 15P

    C8

    15P

    C7GND

    5VOE11

    A12

    Y13

    OE24

    A25

    Y26

    GND7

    VCC 14

    OE4 13

    A4 12

    Y4 11

    OE3 10

    A3 9

    Y3 8

    74HC125

    IC2

    GND

    GND

    GND

    GND

    GND

    SO

    SO

    MISO

    MOSI

    SCK

    RESET

    RESET

    10KR9

    5V

    SW KRS0611SW1

    GND

    V3.3

    V3.3

    V3.3

    V3.3

    V3.3

    100nC10

    GND

    10kR11

    5V

    GND

    INT

    INT

    10

    2

    10K

    R10V3.3

    246

    135

    2X3PIN HEADER PITCH 2.54MM

    SK6

    MISOSCK MOSIRESET GND

    Schematic diagram

    CONNECTION DIAGRAM

  • - 10 -

    PCB Leds and how to use them

  • - 10 -

    Supply voltage (V) - led voltage (V)

    required current (A)= series resistance (ohms)

    required current (A)= series resistance (ohms)

    Required resistor power handling= voltage over resistor x current passed trough resistor

    9V - 1.7V

    0.005A= 1460 ohm

    9V - (3 x1.7V)

    0.005A= 780 ohm

    (9V - 1.7V) x 0.005A = 0.036W

    closest value : use a 1k5 resistor

    use an 820 ohm resistor

    a standard 1/4W resistor will do the job

    Supply voltage (V) - (number of leds x led voltage (V))

    How to Calculate the series resistor:Example: operate a red led (1.7V) on a 9Vdc source. Required led current for full brightness: 5mA (this can be found in the datasheet of the led)

    LEDs in series:

    Example: 3 x red led (1.7V) on 9V battery Required led current for full brightness: 5mA (this can be found in the datasheet of the led)

    Leds feature a specific voltage drop, depending on type and colour. Check the datasheet for exact voltage drop and rated current !

    Never connect leds in parallel

    Leds and how to use them

    An open collector output can be compared to a switch which switches to ground when operated

    Example: How to switch an LED by means of an open collector output

    open collector outputs

  • The new Velleman Projects catalogue is now available. Download your copy here:

    www.vellemanprojects.eu

    Modifications and typographical errors reserved - © Velleman nv. HKA04’IP (Rev.1) Velleman NV, Legen Heirweg 33 - 9890 Gavere.