Eth Shield W5200 with FIRMATA

Hi Arduino,
I’m bit new at Firmata and I got another Uno into the project and this one has W5200 Shield

I tried to update the ethernetConfig.h code from the standard FIRMATA Ethernet but I’ve got some issues on Windows Connection:
“NetworkSerial::connectAsync failed with a Platform::Exception type. Did you forget your network capabilities in the manifest? Message: No connection could be made because the target machine actively refused it.”

Thank you, help would be appreciated!


  • You must configure your particular hardware. Follow the steps below.
  • Currently StandardFirmataEthernet is configured as a client. An option to
  • configure as a server may be added in the future.

// Uncomment / comment the appropriate set of includes for your hardware (OPTION A or B)
// Option A is enabled by default.


  • OPTION A: Configure for Arduino Ethernet board or Arduino Ethernet shield (or clone)
  • To configure StandardFirmataEthernet to use the original WIZ5100-based
  • ethernet shield or Arduino Ethernet uncomment the WIZ5100_ETHERNET define below
    #include <SPI.h>
    #include <EthernetV2_0.h>
    EthernetClient client;

// STEP 2 [REQUIRED for all boards and shields]
// replace with IP of the server you want to connect to, comment out if using ‘remote_host’
#define remote_ip IPAddress(192,168, 0, 107)

// replace with hostname of server you want to connect to, comment out if using ‘remote_ip’
// #define remote_host “server.local”

// STEP 3 [REQUIRED unless using Arduin Yun]
// Replace with the port that your server is listening on
#define remote_port 3030

// STEP 4 [REQUIRED unless using Arduino Yun OR if not using DHCP]
// Replace with your board or ethernet shield’s IP address
// Comment out if you want to use DHCP
#define local_ip IPAddress(192,168, 0, 106)

// STEP 5 [REQUIRED unless using Arduino Yun]
// replace with ethernet shield mac. Must be unique for your network
const byte mac = {0x90, 0xA2, 0xDA, 0x00, 0x53, 0xE5};


  • PIN IGNORE MACROS (don’t change anything here)

// ignore SPI pins, pin 10 (Ethernet SS) and pin 4 (SS for SD-Card on Ethernet shield)
#define IS_IGNORE_ETHERNET_SHIELD(p) ((IS_PIN_SPI(p) || (p) == 4) || (p) == 10)