ENC28J60 Ethernet To SPI Module
Ethernet has become a ubiquitous communication standard that is used to interface with devices as diverse as computers, oscilloscopes, and bench multimeters. Its versatility and high speed make it the preferred method of information transfer between devices. TheENC28J60 Ethernet modulebrings the advantages of ethernet to anymicrocontrollerwith an SPI peripheral.
ENC28J60 Module Pinout Description
1 |
CLKOUT |
Programmable clock output |
2 |
ENC-WOL |
Wake on LAN |
3 |
MOSI |
SPI data input |
4 |
CS |
SPI chip select |
5 |
VCC |
Module supply voltage |
6 |
GND |
Module ground reference |
7 |
RESET |
Active low reset input |
8 |
SCK |
SPI clock |
9 |
MISO |
SPI data output |
10 |
ENC-INT |
Active low interrupt output pin |
Features
- IEEE 802.3 compatible
- 20MHz SPI clock
- 5V tolerant inputs
- TX and RX LED outputs
- 10/100/100Base-T network compatibility
Note:可以发现更多的技术细节ENC28J60 Datasheetlinked at the bottom of this page.
How To Use ENC28J60 Ethernet Module
以太网已经成为通信的支柱the world, finding applications in networking and internet hardware. It is even used in laboratory test equipment likeoscilloscopesand bench multimeters.Some of the selling points of ethernet include high speed and long-distance data transfer. This is accomplished using differential signaling. There is also the possibility of having ethernet signals isolated using a signal transformer. This requires special driving circuitry on the transmitter and signal conditioning on the receiving end.
The end result is that having an ethernet peripheral directly on a microcontroller is impractical. TheENC28J60 IC from microchipsolves that problem by handling theethernet protocolwhile communicating with a microcontroller using ahigh-speed serial interface.The module accepts a supply voltage of between 3.1V and 3.6V, a 3.3V supply is ideal. The inputs, however, are 5V tolerant so a 5V microcontroller can be used.
Connecting the ENC28J60 module to a microcontroller involves only the MISO, MOSI, SCK, and CS, apart from VDDand GND. Any microcontroller with a high-speed SPI interface can be used to talk to this IC.For example, on anArduino Uno, CS, MOSI, MISO and SCK are connected to pins 10, 11, 12, and 13 respectively. Libraries are available to use with the Arduino IDE to communicate with this module using functions.
Applications
- Ethernet to SPI converter
- Remote web server
- IoT projects