• -11,00 €
Mini LAN Ethernet ENC28J60
search
  • Mini LAN Ethernet ENC28J60
  • Mini LAN Ethernet ENC28J60
  • Mini LAN Ethernet ENC28J60
  • Mini LAN Ethernet ENC28J60
  • Mini LAN Ethernet ENC28J60

Mini LAN Ethernet ENC28J60

21,50 €
10,50 € Économisez 11,00 €
TTC

The Smallest Network Module Board For AVR PIC ARM MCU
ENC28J60 is Microchip Technology (Microchip Technology, Inc.) recently introduced a 28-pin independent Ethernet controllers.

Features

  • Small size breakout
  • With LINK/STATUS and Power LEDs
  • SPI interface
Quantité
en stock

These devices are not only complex, bulky and relatively expensive. Most of the Ethernet controller on the market today are more than 80-pin package, and meet the IEEE 802.3 protocol ENC28J60 only 28 pins, both to provide the appropriate function, but also relevant design can greatly simplify and reduce the space. ENC28j60 network module to facilitate users to quickly assess the MCU Ethernet access solutions and applications. Compared to other programs, the module is extremely streamlined.

Microcontroller bus for not opening up, although there may be a way of simulated parallel bus connected to other Ethernet controllers, but no matter of efficiency or performance, are not as common with the SPI interface or with I / O port simulation SPI interface ENC28J60 the Program. 

Features:

The module uses the SPI bus MicroChip high-performance single-chip network interface chip ENC28J60 Ethernet chips, QFN28 package, we use the enc28j60 is the smallest package, the chip though a little expensive, but exquisite.

IEEE 802.3-compliant Ethernet controller integrated MAC and 10 BASE-T PHY support full and half duplex mode

SPI interface, just take a few of the MCU pins, SPI clock is up to 20MHZ, the maximum speed of up to 10 Mb / s to SPI Interface using the standard 100mil spacing of 2 * 5 pin connector for easy connection with the MCU the use of kernel patch Han RJ45 socket with a network of transformers (HR961160C), although more expensive, but further reduce the size, layout is more reasonable, the performance better, more refined.

Link and Activity LED's a single power supply: 3.3V, 5V pin-compatible standards.

using 25Mhz SMD crystal, metal shell, better quality.

PCB Size: 26mm x 24mm, the world's smallest network module ENC28J60

// This demo does web requests to a fixed IP address, using a fixed gateway.
// 2010-11-27 <jc@wippler.nl> http://opensource.org/licenses/mit-license.php

#include <EtherCard.h>

#define REQUEST_RATE 5000 // milliseconds

// ethernet interface mac address
static byte mymac[] = { 0x74,0x69,0x69,0x2D,0x30,0x31 };
// ethernet interface ip address
static byte myip[] = { 192,168,1,203 };
// gateway ip address
static byte gwip[] = { 192,168,1,1 };
// remote website ip address and port
static byte hisip[] = { 74,125,79,99 };
// remote website name
char website[] PROGMEM = "google.com";

byte Ethernet::buffer[300];   // a very small tcp/ip buffer is enough here
static long timer;

// called when the client request is complete
static void my_result_cb (byte status, word off, word len) {
  Serial.print("<<< reply ");
  Serial.print(millis() - timer);
  Serial.println(" ms");
  Serial.println((const char*) Ethernet::buffer + off);
}

void setup () {
  Serial.begin(57600);
  Serial.println("n[getStaticIP]");

  if (ether.begin(sizeof Ethernet::buffer, mymac, 10) == 0) 
    Serial.println( "Failed to access Ethernet controller");

  ether.staticSetup(myip, gwip);

  ether.copyIp(ether.hisip, hisip);
  ether.printIp("Server: ", ether.hisip);

  while (ether.clientWaitingGw())
    ether.packetLoop(ether.packetReceive());
  Serial.println("Gateway found");

  timer = - REQUEST_RATE; // start timing out right away
}

void loop () {
  ether.packetLoop(ether.packetReceive());

  if (millis() > timer + REQUEST_RATE) {
    timer = millis();
    Serial.println("n>>> REQ");
    ether.browseUrl(PSTR("/foo/"), "bar", website, my_result_cb);
  }
}
WIRJANENC28J60
Nouveau