Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

PIC+ENC Ethernet Module

(ENC28J60 + PIC18F25J10 Development Module)


Hardware Manual Rev 1r0

FEATURES & SPECIFICATIONS


Chip: PIC18F25J10-I/SO & ENC28J60-I/SS
Debbuger Port: ICSP
!!!!!!!!"#$%!&'($%)*+$,!-./01!23%(4!56/7*+84!*'9!-$#$(!:;<3'
I/Os: 13
Powe Input: 7V-12V
DC Power Output: 5V @ 300mA
Preloaded Firmware:
PCB Size: 2.4x2.34inch
On-board Crystal: 25MHz and 10MHz

!
"#$%&'(!)%*+(*,%-!./012345!6!78092:1;395!<"=">(-'"?@!)(AB>"!C(+!"@,"+?"@!?"@D(+E!*(??"*F=%@G!
H-->%*HF(?IJ!8@I!K07L87!@(!I"+%H>!M+'DH+"!H>>(DI!G(B!@(!BI"!%@!"HI%>G!HI!H!"@,"+?"@!N+%AO"!D%@,!G(B+!"P%IF?O!
'%*+(*(?@+(>>"+! *%+*B%@J! K,"! Q(H+A! 8I! A"I%O?"A! D%@,! 78092:1;95! H! R%O,#7"+C(+'H?*"! S8T0! )%*+(*(?@+(>>"+!
D%@,!?H?(UHV!K"*,?(>(OG!H?A!./012345!H!T@H?A#W>(?"!.@,"+?"@!0(?@+(>>"+!D%@,!T78X!8?@"+CH*"!H?A!IB--(+@Y!TZ87[!WS7[!87[!80)7[!K07[!\<R[!RKK7[!<R07[!:K7J!K,"!)%*+(*,%-!I@H*E!%I!D+%V"?!="+G!'(AB>H+!H?A!]"P%N>"!
H?A!G(B!*H?!"?HN>"!(+!A%IHN>"!'(AB>"I!H?A!IB--(+@I!AG?H'%*!D"N!-HO"I!D,%*,!O%="!G(B!@,"!-(II%N%>%@G!@(!
*(?@+(>!H>>!780!S"I(B+*"I!+"'(@">G!=%H!:K7[!RKK7[!\<7[!K07[!"@*J!U%@,!@,%I!N(H+A!G(B!*H?!%'->"'"?@!D"N!H?A!
:K7!I"+="+[!I"?A!"#'H%>I!H?A!H>'(I@!"="+G@,%?O!D,H@!N%O!I"+="+I!A(J

Copyright 2011
by e-Gizmo Mechatronix Central
All Rights Reserved

Pages 1 of 7 pages

www.e-Gizmo.com

PIC+ENC Development Module Datasheet Version 1

MAJOR COMPONENTS PRESENTATION

Figure 1. 7806./0!.@,"+?"@!)(AB>"!*('-(?"?@!>HG(B@!I,(D%?O!@,"!)H^(+!0('-(?"?@I!IB*,!HI!@,"!S"I"@!QB@@(?[!S3_;!0(??"*@(+[!<0!3H*E!0(??"*@(+[!Z.<!7(D"+!8?A%*H@(+!H?A!8L`!-(+@I[!->BI!H!C"D!'(+"!*('-(?"?@IJ
Table 1. `@,"+!)H^(+!0('-(?"?@I!<"I*+%-F(?IJ
I.D.
U2
X2
JP1
JP6
X1

Copyright 2011
by e-Gizmo Mechatronix Central
All Rights Reserved

!"#$%&'()*
On-board 5V Regulator
25MHz Crystal for ENC28J60
7-12V External Supply Voltage
RJ-45 Port
10MHz Crystal for PIC25J10

U4

ENC28J60 Ethernet Controller Chip

U1
U3
JP2
U6
JP4
JP3
S3
S4
S5

On-board 3.3V Regulator


PIC25J10 On-board MCU
ICSP Header for Programming the onboard PIC25J10
On-board 1Mbit EEPROM
Future use PIC USB chip
I/O Port
SW SPDT
SW SPDT
SW SPDT
Pages 2 of 7 pages

www.e-Gizmo.com

PIC+ENC Development Module Datasheet Version 1

Figure 3. Tb[!T_[!H?A!T;!8L`!7(+@!7%?!WII%O?'"?@IJ
Figure 2. a37bc!7%?!WII%O?'"?@I!8>>BI@+HF(?J
Table 2. 8L`!7(+@!d37be
+&*,-).

I.D.

!"#$%&'()*

Connect to 5V output of
VCC
the on-board regulator

GND Ground

SCK

Common SPI BUS from MCU to the Ethernet Controller and on-board EEPROM

SDI

Common SPI BUS from MCU to the Ethernet Controller and on-board EEPROM

SDO

Common SPI BUS from MCU to the Ethernet Controller and on-board EEPROM

CS

Chip Select from MCU to


Ethernet Controller Chip

RST

From MCU to Ethernet


Controller reset pin

INT

From Ethernet Controller


Chip to MCU INT2 Pin

9
10
11
12
13
14
15
16
17
18

CS2 From MCU to EEPROM Chip select

Table 3. Tb[!T_[!T;!7%?!<"I*+%-F(?IJ
I.D.
RC3
SCK
RC0
RC4
SDI

!"#$%&'()*
Digital I/O
Synchronous serial clock input/output for SPI mode.
Digital I/O
Digital I/O
SPI data In

RC1 Digital I/O


RC4 Digital I/O
SDO SPI data out
RC2 Digital I/O

RXD MCU RX Pin


TXD MCU TX Pin
RB1 General Purpose User I/O
RB0 General Purpose User I/O
RA5 General Purpose User I/O
RA3 General Purpose User I/O
RA2 General Purpose User I/O
RA1 General Purpose User I/O
RA0 General Purpose User I/O

Copyright 2011
by e-Gizmo Mechatronix Central
All Rights Reserved

Pages 3 of 7 pages

www.e-Gizmo.com

PIC+ENC Development Module Datasheet Version 1

TESTING THE PIC+ENC28J60 ETHERNET MODULE

/0',1"%2"%!=!(>$!?&6@AB6CD.EF!A(>$%'$(!G39;H$!IJHH!);'+K3'!*#!*!I$L!#$%M$%!(>*(!IJHH!*HH3I!(>$!;#$%!(3!
ON/OFF a LED connected to a digital pin (PC2) and read its status.
+%)$"34%"5
1.
CN!
XN!
4.
5.

Supply the module with 7-12V DC source.


O3*9!(>$!>$P!QH$!RSS?!T$%M$%N>$P!(3!(>$!U39;H$!;#J'V!?J+8J(C!3%!*'W!R$P!H3*9$%!(>*(!#;223%(!! !
PIC18F25J10 mcu.
63''$+(!(>$!U39;H$!(3!*!?6!;#J'V!*!OYB!+%3##3M$%!+*LH$N
Change the IP address of the PC lan card to 192.168.2 255.
Open a web browser and go address 192.168.2.1. A web page will appear where you can able to
control the LED connected to a digital pin (PC2).

S>$!#3;%+$!+39$!)3%!(>J#!9$U3!J#!*M*JH*LH$!3'!(>$!65N

6789:9;+<%&3="!=!(>$!?&6@AB6CD.EF!A(>$%'$(!G39;H$!IJHH!);'+K3'!*#!*!"Y-S!(3!S6?!:%J9V$N
+%)$"34%"5
1.
CN!
XN!
4.
5.

Supply the module with 7-12V DC source.


O3*9!(>$!>$P!QH$!"Y-SCS6?:%J9V$N>$P!(3!(>$!U39;H$!;#J'V!?J+8J(C!3%!*'W!R$P!H3*9$%!(>*(!#;223%(!!
PIC18F25J10 mcu.
63''$+(!(>$!U39;H$!(3!*!?6!;#J'V!*!OYB!+%3##3M$%!+*LH$N
Change the IP address of the PC lan card to 192.168.2 255.
Open a terminal program e.g. HyperTerminal and connect using TCP/IP. Host address is 192.168.2.1
and Port number is 23.

S>$!#3;%+$!+39$!)3%!(>J#!9$U3!J#!*M*JH*LH$!3'!(>$!65N

Copyright 2011
by e-Gizmo Mechatronix Central
All Rights Reserved

Pages 4 of 7 pages

www.e-Gizmo.com

PIC+ENC Development Module Datasheet Version 1

Figure 4.!.PH'->"!0(??"*F(?!(C!7806./0!.@,"+?"@!)(AB>"!@(!H!)%*+(*(?@+(>>"+!D%@,!bJb#;f!>(O%*J

Figure 5.!.PH'->"!0(??"*F(?!(C!7806./0!.@,"+?"@!)(AB>"!@(!O%&<B%?(!'%*+(*(?@+(>>"+J

Copyright 2011
by e-Gizmo Mechatronix Central
All Rights Reserved

Pages 5 of 7 pages

www.e-Gizmo.com

PIC+ENC Development Module Datasheet Version 1

JP1

VIN

MCU_VDD

1
2

D1
4001

MCU_VDD

R13
RES1
CS2
2
3

SDI

C7

C12 +

C4

VCC

7805
Vin

Vin

U1

6
SDO

SCK

U2
+5V

+5VV
3.3

5V
R12
RES1
+ C1
100u

100u

JP3
1
3
5
7
9
11
13
15
17

2
4
6
8
10
12
14
16
18

D2
LED

S1
Reset

X1
20MHz

1k
100n

R1
10k

C14

7408

ICSP

U3

JP2

MCLR
VDD

1
2
3
4
5
6

OSC1/CLKI
OSC2/CLKO
VSS
VSS

U5A

7408

SDI

INT

MCU_VDD
PGD
PGC

3.3V

LEDB

LEDA

100n

100n
C11

C10

L1

RC0/T1OSO/T1CKI
RC1/T1OSI/CCP2*
RC2/CCP1
RC3/SCK1/SCL1
RC4/SDI1/SDA1
RC5/SDO1
RC6/TX/CK
RC7/RX/DT

RB0/INT0/FLT0/AN12
RB1/INT1/AN10
RB2/INT2/AN8
RB3/AN9/CCP2*
RB4/KBI0/AN11
RB5/KBI1/T0CKI/C1OUT
RB6/KBI2/PGC
RB7/KBI3/PGD

RA0/AN0
RA1/AN1
RA2/AN2/Vref-/CVref
RA3/AN3/Vref+
VDDCORE/Vcap
RA5/AN4/SS1/C2OUT
PIC18F25J10

MCU_VDD

1
2

11

U5D

7408

U5C

10u

+ C17

2
3
4
5
6
7

8
19

9
10

MCU_VDD
20

RA5

RA0
RA1
RA2
RA3

C5
100n

R2

MCU_VDD

C3

27p

3.3V

R4
100k

C13
27p

CS2
INT
RST
CS
SDO
SDI
SCK

5V

LEDA
LEDB

TPIN+
TPIN-

TPOUT+
TPOUT13
12

13

12

10

CS
SCK
SDO
4
3

9
8
7
6

17
16

27
26

HEADER 9X2

LEDA
LEDB

INT
CLKOUT

CS
SCK
SI
SO

TPIN+
TPIN-

TPOUT+
TPOUT-

+ C2

3.3V

RA0
RA1
RA2
RA3
RA5
RB0
RB1
TX
RX

RBIAS
VCAP

OSC1
OSC2

VDD
VDDTX
VDDRX
VDDPLL
VDDOSC

RESET

U4

SPX2920

2
18
11
21
22

14
1

23
24

28
15
19
20
25

10

R3
10k

3.3V

MCU_VDD

100n

CS
HOLD

100u

SO
SCK

5V

WP
SI

U6

VSS

C18
+

RST

C16 R9

10u

100n

25XXXXX

C8
100n

X2

22p

25MHz

100n

3.3V
C6

C15
22p

2.32k

VSS
VSSTX
VSSRX
VSSPLL
VSSOSC
ENC28J60

11
12
13
14
15
16
17
18

21
22
23
24
25
26
27
28

RC0
RC1
RC2
RC3
RC4
RC5
TX
RX

RB0
RB1
INT
CS
CS2
RST
PGC
PGD

60ohms/
100MHz

49.9

R5

R6

49.9

TPOUT-

TPIN+
TPIN-

SCK

SDI

SDO

C19

3.3V

5V

S2

SW SPDT

JP5

RC2

RC5

RC1

RC4

RC0

RC3

S5

SW SPDT

S4

SW SPDT

S3

2
JUMPER

VCC

JP4

D-

D+

GND

USB-B-TYPE

SW SPDT

5V

J1

HFJ11-2450E

AG1
KG1
AG2
KG2

GND

RD+
CT
RD-

TD+
CT
TD-

JP6

BPAD

J2

BPAD

220n

MCU_VDD

3
5
6

49.9 TPOUT+ 1
4
2

R7

330

330

49.9
R10

R8

R11

9
10
11
12

Figure 6.!T*,"'HF*!<%HO+H'!(C!7806./0!.@,"+?"@!<"=">(-'"?@!)(AB>"

Pages 6 of 7 pages

www.e-Gizmo.com

Copyright 2011
by e-Gizmo Mechatronix Central
All Rights Reserved

14
GND
VCC
7

GND
3
GND
2

PIC+ENC Development Module Datasheet Version 1

P;<,<)>%3,+%"#"*?>()*

Figure 7. 7806./0!70Q!
dI%>EI*+""?!>HG(B@e

Figure 8. 7806./0!70Q!0(--"+!7HV"+?!
dK(-!ZHG"+e

Copyright 2011
by e-Gizmo Mechatronix Central
All Rights Reserved

Figure 9. 7806./0!70Q!0(--"+!7HV"+?!
dQ(V('!ZHG"+e

Pages 7 of 7 pages

www.e-Gizmo.com

You might also like