Sunteți pe pagina 1din 3

Email: info@sunrom.com or sunrom@gmail.com Visit us at http://www.sunrom.

com

Document: Datasheet

Date: 1-Oct-12

Model #: 1130

Products Page: www.sunrom.com/p-799.html

Ethernet Module based on ENC28J60


This board utilizes the new Microchip ENC28J60 StandAlone Ethernet Controller IC featuring a host of features to handle most of the network protocol requirements. The board connects directly to most microcontrollers with a standard SPI interface with a transfer speed of up to 20 MHz. This module contains what you need to enable ethernet on your next microcontroller project. It includes a ENC28J60 ethernet controller, an RJ45 socket with link/activity lights and integrated transformer. This ethernet module enables you to connect a particular Embedded device (equipped with SPI support) on to a network. By using this Ethernet module (along with a microcontroller running a small TCP/IP stack) applications like Embedded Web server can be easily developed. Use this module to enable Ethernet interface for your product. It works with any microcontroller operating at 3.3V or 5V. This module works at 5V and is compatible with 5V interface lines. Use SPI process to interface with it. Host web server, ping the module or add it to home automation via internet. Heart of this module is ENC28J60 Ethernet controller from Microchip. This board is assembled with all components as shown in the picture. The circuit board includes all required components for the ethernet controller, plus a 3.3V Voltage Regulator and a RJ-45 jack with integrated transformer and built-in Link and Activity LEDs for connection to an Ethernet Local Area Network.

Features
Microchip ENC28J60 Ethernet Chip supporting Microchips TCP/IP protocol stack, with IPv4, UDP, TCP, DHCP, ICMP, FTP, and HTTP support On board voltage regulator for 3V Compatible with all controllers having an SPI interface, SPI interface takes only few pins to add Ethernet interface to your microcontroller project Suitable for Either 5V or 3.3V Interface LAN connector with build in transformer Link and Activity LED's on Ethernet connector 8 pin standard interface connector with spacing of 0.1 (2.54 mm) row pins IEEE 802.3 Compatible with Integrated MAC and 10Base-T PHY Fully Compatible with 10/100/1000Base-T Networks Supports One 10Base-T Port with Automatic Polarity Detection and Correction

Supports Full and Half-Duplex modes Programmable Automatic Retransmit on Collision Programmable Padding and CRC Generation Programmable SPI Interface with Clock Speeds Up to 20 MHz

Applications
Remote control and monitoring Data capture and logging Industrial Automation Building Automation Appliance remote management Robotics Microcontroller Research and Development TCP/IP Research and Development

Specification
Board Size: 2.3 x 0.94 (60x24mm) Operating Voltage: +5V DC Current Consumption: 160mA Pin Spacing: 0.1" (2.54mm) Output wire length: 12(304mm)

Board Schematic
L1 3V3 R3 U1 ENC28J60 4 5 10 6 7 8 9 8 7 6 5 4 3 2 1 RESET CS SCK SI SO 5V C2 3 1 14 + INT WOL RESET SO SI SCK CS VSSRX VSSPLL VSSTX VSSOSC VSS CLKOUT VCAP RBIAS 19 20 15 25 28 R4 C1 U2 RJ45 TPOUT+ TPOUTTPIN+ TPINLEDA LEDB OSC1 OSC2 17 16 13 12 27 26 R8 23 24 R10 Y1 C4 C3 R14 U3 LM1117 VIN GND 3 C7 + C8 VOUT TAB 2 4 C6 3V3 C5 + C9 R15 1 2 3 6 7 8 9 10 11 12 TD+ TDTD-CT RD-CT RD+ RDRA RC LC LA

CN1 SIP8

R11

11 21 18 22 2

VDDRX VDDPLL VDDTX VDDOSC VDD

Sunrom Technologies
Title Ethernet Module Code 1130 Date: Wednesday , September 16, 2009

http://www.sunrom.com
Sheet 1 Rev of 1 1

Sunrom Technologies

Your Source for Embedded Systems

Visit us at www.sunrom.com

Typical Application Setup


Microcontroller with SPI Interface SPI Lines Ethernet Module #1130
LAN Cable (Cross over)

PC or LAN Network

Software
Microchip's TCP-IP stack full featured TCP-IP stack, very easy to configure and use with PIC microcontrollers. Microchip provides a driver for the ENC28J60 and a TCP/IP stack including an HTTP web server. Web pages are stored in external or internal eeprom. This firmware is written in C (Compatible with Microchip C18 compiler). Download link for TCP/IP Stack http://ww1.microchip.com/downloads/en/DeviceDoc/MCHPStackENC8722v302.zip After downloading TCP/IP Stack use instructions below

With MPLAB, choose mpnicpg.mcp project to use the internal memory Select your device( for example PIC 18F4620) in the MPLAB Configure Menu, Change the specified Linker Scripts for your device Eventually adjust the pin assignment in enc28j60.c (in the DEFINITIONS section), don't forget to change TRIS settings too Eventually modify builds options to remove dhcp and then remove dhcp.c from the project and set the IP configuration in stack_task.h Change the MPU frequency in the file compiler.h Eventually change the SYSTEM LED port in MainDemo.c Modify web pages in the webpages directory. Generate the mpfs C file with the mpfs utility (MPFS directory MPFSImg.c /c ) It's easy to handle Input/Output microcontroller pins with functions HTTPExecCmd and HTTPGetVar in MainDemo.c

Further Details
1) ENC28J60 Datasheet, TCP/IP Application Notes on Microchip site http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en022889 2) AVR based Ethernet Project http://www.tuxgraphics.org/electronics/200606/article06061.shtml 3) Microchips TCP/IP Download Resources
http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=2505&param=en535724

Sunrom Technologies

Your Source for Embedded Systems

Visit us at www.sunrom.com

S-ar putea să vă placă și