Arduino UNO + EtherCard: Aiuto per il collegamento!

Ciao a tutti e buon anno nuovo :slight_smile:
Ho comprato un Kit per costruire un EtherCard, basato sul chip ENC28J60. (Maggiori info QUI)

Non ho avuto difficoltà ad assemblarlo, in quanto giornalmente lavoro con saldatore su componenti SMD, ma non riesco a capire come mai non funziona! Se volete qui ci sono le foto (Cartella Dropbox)

Avrei alcune domande da porvi gentilmente, sicuramente banali, in quanto novello:

E' normale che i led di stato integrati nella porta RJ45 dell'ethercard non si accendono ?

Ora come ora io stavo provando il programma con un Example-Code che impostava i parametri di rete statici:

// 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
const 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) == 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);
  }
}

Dall'output della seriale, si ferma non appena mi stampa il MAC Address.
Io ho collegato tutti i punti ICSP del mio Arduino UNO a tutti i punti ICSP dell'Ether Card tranne il RST perchè se lo collego non riesco più a programmare arduino.

Spero che qualcuno mi possa aiutare a collegare questo hardware, così in queste vacanze potrò sperimentare codice per un progettino di domotica !!

Saluti Daniele.

Non ho capito se hai saldato un connettore ICSP o se hai fatto dei collegamenti volanti.

Secondo me non l'ha proprio messo :roll_eyes: